]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix typename number
authorFabian Castelli <fabian.castelli@kit.edu>
Mon, 23 Aug 2021 17:27:40 +0000 (19:27 +0200)
committerFabian Castelli <fabian.castelli@kit.edu>
Mon, 23 Aug 2021 17:27:40 +0000 (19:27 +0200)
include/deal.II/numerics/vector_tools_rhs.templates.h

index c547f2dcc08da38ca67c4d874c980f44ef6d669a..9a7830a80034705923240b09b1f5e871b381ab89 100644 (file)
@@ -534,7 +534,7 @@ namespace VectorTools
               dofs.resize(dofs_per_cell);
               cell_vector.reinit(dofs_per_cell);
 
-              const std::vector<Number> &weights = fe_values.get_JxW_values();
+              const std::vector<double> &weights = fe_values.get_JxW_values();
               rhs_function.value_list(fe_values.get_quadrature_points(),
                                       rhs_values);
 
@@ -570,7 +570,7 @@ namespace VectorTools
               dofs.resize(dofs_per_cell);
               cell_vector.reinit(dofs_per_cell);
 
-              const std::vector<Number> &weights = fe_values.get_JxW_values();
+              const std::vector<double> &weights = fe_values.get_JxW_values();
               rhs_function.vector_value_list(fe_values.get_quadrature_points(),
                                              rhs_values);
 

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.