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
|
||||
(
|
||||
"owner",
|
||||
time().findInstance(meshDir(), "faces"),
|
||||
faces_.instance(),
|
||||
meshSubDir,
|
||||
*this,
|
||||
IOobject::READ_IF_PRESENT,
|
||||
@ -182,7 +182,7 @@ Foam::polyMesh::polyMesh(const IOobject& io)
|
||||
IOobject
|
||||
(
|
||||
"neighbour",
|
||||
time().findInstance(meshDir(), "faces"),
|
||||
faces_.instance(),
|
||||
meshSubDir,
|
||||
*this,
|
||||
IOobject::READ_IF_PRESENT,
|
||||
|
||||
Reference in New Issue
Block a user