]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed static normals array
authorGraham Harper <grahambenharper@gmail.com>
Thu, 26 Jul 2018 22:51:16 +0000 (22:51 +0000)
committerGraham Harper <grahambenharper@gmail.com>
Thu, 26 Jul 2018 22:51:16 +0000 (22:51 +0000)
source/fe/fe_bernardi_raugel.cc

index bcc27fb2bdce2587982459b86e1f431cb8b09ca0..9abc4fb38f68f59ce709e00c360b047c1bf67223 100644 (file)
@@ -101,7 +101,7 @@ FE_BernardiRaugel<dim>::convert_generalized_support_point_values_to_dof_values(
   Assert(nodal_values.size() == this->dofs_per_cell,
          ExcDimensionMismatch(nodal_values.size(), this->dofs_per_cell));
 
-  static std::vector<Tensor<1, dim>> normals;
+  std::vector<Tensor<1, dim>> normals;
   for (unsigned int i = 0; i < GeometryInfo<dim>::faces_per_cell; ++i)
     {
       Tensor<1, dim> normal;

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.