Skip to content
Snippets Groups Projects
Commit b3bf5034 authored by mattijs's avatar mattijs
Browse files

region prefix already in IOobject

parent 92dbf49a
Branches
Tags
No related merge requests found
......@@ -200,12 +200,6 @@ void Foam::processorMeshes::reconstructPoints(fvMesh& mesh)
// Read the field for all the processors
PtrList<pointIOField> procsPoints(meshes_.size());
fileName regionPrefix = "";
if (meshName_ != fvMesh::defaultRegion)
{
regionPrefix = meshName_;
}
forAll (meshes_, procI)
{
procsPoints.set
......@@ -217,7 +211,7 @@ void Foam::processorMeshes::reconstructPoints(fvMesh& mesh)
(
"points",
meshes_[procI].time().timeName(),
regionPrefix/polyMesh::meshSubDir,
polyMesh::meshSubDir,
meshes_[procI],
IOobject::MUST_READ,
IOobject::NO_WRITE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment