mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
region prefix already in IOobject
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user