Refactor mapping tools for partially filled PtrLists. Consistency changes

This commit is contained in:
Hrvoje Jasak 2018-02-28 18:39:10 +00:00
parent d7a925cf50
commit 1cf1a74fa4
2 changed files with 9 additions and 3 deletions

View file

@ -485,7 +485,8 @@ int main(int argc, char *argv[])
faMesh aMesh(mesh);
processorFaMeshes procFaMeshes(procMeshes.meshes());
// Create mesh addressing by reading from files
processorFaMeshes procFaMeshes(procMeshes.meshes(), true);
faFieldReconstructor faReconstructor
(

View file

@ -136,7 +136,12 @@ int main(int argc, char *argv[])
}
// Read all meshes and addressing to reconstructed mesh
processorMeshesReconstructor procMeshes(databases, regionName);
processorMeshesReconstructor procMeshes
(
databases,
regionName,
true // read meshes
);
autoPtr<fvMesh> meshPtr = procMeshes.reconstructMesh(runTime);
@ -629,7 +634,7 @@ int main(int argc, char *argv[])
faMesh aMesh(mesh);
processorFaMeshes procFaMeshes(procMeshes.meshes());
processorFaMeshes procFaMeshes(procMeshes.meshes(), true);
faFieldReconstructor faReconstructor
(