mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: polyMesh: re-use findInstance result
This commit is contained in:
@ -170,7 +170,7 @@ Foam::polyMesh::polyMesh(const IOobject& io)
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"owner",
|
"owner",
|
||||||
time().findInstance(meshDir(), "faces"),
|
faces_.instance(),
|
||||||
meshSubDir,
|
meshSubDir,
|
||||||
*this,
|
*this,
|
||||||
IOobject::READ_IF_PRESENT,
|
IOobject::READ_IF_PRESENT,
|
||||||
@ -182,7 +182,7 @@ Foam::polyMesh::polyMesh(const IOobject& io)
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"neighbour",
|
"neighbour",
|
||||||
time().findInstance(meshDir(), "faces"),
|
faces_.instance(),
|
||||||
meshSubDir,
|
meshSubDir,
|
||||||
*this,
|
*this,
|
||||||
IOobject::READ_IF_PRESENT,
|
IOobject::READ_IF_PRESENT,
|
||||||
|
|||||||
Reference in New Issue
Block a user