From: Peter Munch Date: Mon, 15 Nov 2021 18:43:24 +0000 (+0100) Subject: Step-64: be explicit regarding templater parameter X-Git-Tag: v9.4.0-rc1~836^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12948%2Fhead;p=dealii.git Step-64: be explicit regarding templater parameter --- diff --git a/examples/step-64/step-64.cu b/examples/step-64/step-64.cu index d163532ba7..cb76fea302 100644 --- a/examples/step-64/step-64.cu +++ b/examples/step-64/step-64.cu @@ -133,8 +133,9 @@ namespace Step64 : coef(coef) {} - __device__ void - operator()(CUDAWrappers::FEEvaluation *fe_eval) const; + __device__ void operator()( + CUDAWrappers::FEEvaluation + *fe_eval) const; private: double coef; @@ -150,7 +151,8 @@ namespace Step64 // here: template __device__ void HelmholtzOperatorQuad::operator()( - CUDAWrappers::FEEvaluation *fe_eval) const + CUDAWrappers::FEEvaluation + *fe_eval) const { fe_eval->submit_value(coef * fe_eval->get_value()); fe_eval->submit_gradient(fe_eval->get_gradient());