From ce875c9fe4b421e42c24e4748c11b4c66b60f217 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 3 Dec 2021 16:28:36 -0700 Subject: [PATCH] Actually store the face number for DataPostprocessor objects. --- source/numerics/data_out_faces.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/numerics/data_out_faces.cc b/source/numerics/data_out_faces.cc index bcc04bff84..7166cc8fca 100644 --- a/source/numerics/data_out_faces.cc +++ b/source/numerics/data_out_faces.cc @@ -204,7 +204,8 @@ DataOutFaces::build_one_patch( cell->level(), cell->index(), this->dof_data[dataset]->dof_handler); - data.patch_values_scalar.template set_cell(dh_cell); + data.patch_values_scalar.template set_cell_and_face( + dh_cell, face_number); postprocessor->evaluate_scalar_field( data.patch_values_scalar, @@ -247,7 +248,8 @@ DataOutFaces::build_one_patch( cell->level(), cell->index(), this->dof_data[dataset]->dof_handler); - data.patch_values_system.template set_cell(dh_cell); + data.patch_values_system.template set_cell_and_face( + dh_cell, face_number); postprocessor->evaluate_vector_field( data.patch_values_system, -- 2.39.5