File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -644,11 +644,10 @@ bool MeshRefinement::coarsen_elements ()
644644 // we don't want to abort large parallel runs in opt mode... but we
645645 // do want to warn that they should be fixed.
646646 libmesh_assert (flags_were_consistent );
647+
647648 if (!flags_were_consistent )
648- {
649- libMesh ::out << "Refinement flags were not consistent between processors!\n"
650- << "Correcting and continuing." ;
651- }
649+ libmesh_warning ("Warning: Refinement flags were not consistent between processors! "
650+ "Correcting and continuing.\n" );
652651
653652 // Smooth coarsening flags
654653 _smooth_flags (false, true);
@@ -720,11 +719,10 @@ bool MeshRefinement::refine_elements ()
720719 // we don't want to abort large parallel runs in opt mode... but we
721720 // do want to warn that they should be fixed.
722721 libmesh_assert (flags_were_consistent );
722+
723723 if (!flags_were_consistent )
724- {
725- libMesh ::out << "Refinement flags were not consistent between processors!\n"
726- << "Correcting and continuing." ;
727- }
724+ libmesh_warning ("Warning: Refinement flags were not consistent between processors! "
725+ "Correcting and continuing.\n" );
728726
729727 // Smooth refinement flags
730728 _smooth_flags (true, false);
You can’t perform that action at this time.
0 commit comments