]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Actually store the face number for DataPostprocessor objects.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 3 Dec 2021 23:28:36 +0000 (16:28 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 5 Dec 2021 21:44:41 +0000 (14:44 -0700)
source/numerics/data_out_faces.cc

index bcc04bff84760d8a3428c7b0530e7a147c883e22..7166cc8fcacb31c48e9ebc82be14ebd1e7339cc2 100644 (file)
@@ -204,7 +204,8 @@ DataOutFaces<dim, spacedim>::build_one_patch(
                             cell->level(),
                             cell->index(),
                             this->dof_data[dataset]->dof_handler);
-                  data.patch_values_scalar.template set_cell<dim>(dh_cell);
+                  data.patch_values_scalar.template set_cell_and_face<dim>(
+                    dh_cell, face_number);
 
                   postprocessor->evaluate_scalar_field(
                     data.patch_values_scalar,
@@ -247,7 +248,8 @@ DataOutFaces<dim, spacedim>::build_one_patch(
                             cell->level(),
                             cell->index(),
                             this->dof_data[dataset]->dof_handler);
-                  data.patch_values_system.template set_cell<dim>(dh_cell);
+                  data.patch_values_system.template set_cell_and_face<dim>(
+                    dh_cell, face_number);
 
                   postprocessor->evaluate_vector_field(
                     data.patch_values_system,

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.