File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,13 @@ public:
9393 template < typename IOClass >
9494 void testWriteImpl (const std ::string & filename )
9595 {
96- Mesh mesh (* TestCommWorld );
96+ // TODO: Currently this test only works for ReplicatedMesh. It
97+ // should be updated so that it works for DistributedMesh as well,
98+ // and then we can just set MeshType == Mesh.
99+ typedef ReplicatedMesh MeshType ;
100+
101+ // Construct mesh for writing
102+ MeshType mesh (* TestCommWorld );
97103
98104 // Allocate space for an extra integer on each element to store a "code" which
99105 // determines which sets an Elem belongs to. We do this before building the Mesh.
@@ -224,7 +230,7 @@ public:
224230 TestCommWorld -> barrier ();
225231
226232 // Now read it back in
227- Mesh read_mesh (* TestCommWorld );
233+ MeshType read_mesh (* TestCommWorld );
228234
229235 // Do not allow renumbering on this mesh either.
230236 read_mesh .allow_renumbering (false);
You can’t perform that action at this time.
0 commit comments