]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Step-64: be explicit regarding templater parameter 12948/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 15 Nov 2021 18:43:24 +0000 (19:43 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 15 Nov 2021 18:43:24 +0000 (19:43 +0100)
examples/step-64/step-64.cu

index d163532ba7fde51b0111323b17920888f61a76bd..cb76fea302e9627241e1756955993bd932c65700 100644 (file)
@@ -133,8 +133,9 @@ namespace Step64
       : coef(coef)
     {}
 
-    __device__ void
-    operator()(CUDAWrappers::FEEvaluation<dim, fe_degree> *fe_eval) const;
+    __device__ void operator()(
+      CUDAWrappers::FEEvaluation<dim, fe_degree, fe_degree + 1, 1, double>
+        *fe_eval) const;
 
   private:
     double coef;
@@ -150,7 +151,8 @@ namespace Step64
   // here:
   template <int dim, int fe_degree>
   __device__ void HelmholtzOperatorQuad<dim, fe_degree>::operator()(
-    CUDAWrappers::FEEvaluation<dim, fe_degree> *fe_eval) const
+    CUDAWrappers::FEEvaluation<dim, fe_degree, fe_degree + 1, 1, double>
+      *fe_eval) const
   {
     fe_eval->submit_value(coef * fe_eval->get_value());
     fe_eval->submit_gradient(fe_eval->get_gradient());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.