File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2076,6 +2076,18 @@ class MeshBase : public ParallelObject
20762076 has_reinit_ghosting_functors == other.has_reinit_ghosting_functors &&
20772077 has_boundary_id_sets == other.has_boundary_id_sets ;
20782078 }
2079+
2080+ void libmesh_assert_consistent (const Parallel::Communicator & libmesh_dbg_var (comm)) {
2081+ libmesh_assert (comm.verify (is_partitioned));
2082+ libmesh_assert (comm.verify (has_synched_id_counts));
2083+ libmesh_assert (comm.verify (has_neighbor_ptrs));
2084+ libmesh_assert (comm.verify (has_cached_elem_data));
2085+ libmesh_assert (comm.verify (has_interior_parent_ptrs));
2086+ libmesh_assert (comm.verify (has_removed_remote_elements));
2087+ libmesh_assert (comm.verify (has_removed_orphaned_nodes));
2088+ libmesh_assert (comm.verify (has_reinit_ghosting_functors));
2089+ libmesh_assert (comm.verify (has_boundary_id_sets));
2090+ }
20792091 };
20802092
20812093protected:
You can’t perform that action at this time.
0 commit comments