From 23bc4b0cbf090001c2cfd11626c619625f45dcc1 Mon Sep 17 00:00:00 2001 From: graham Date: Thu, 5 May 2011 11:45:32 +0100 Subject: [PATCH] ENH: Read features from constant instead of using findInstance. Means that they work in parallel. --- .../conformationSurfaces/conformationSurfaces.C | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C b/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C index 48aa2c8a06..5fb168d388 100644 --- a/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C +++ b/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C @@ -131,11 +131,7 @@ Foam::conformationSurfaces::conformationSurfaces IOobject ( feMeshName, - cvMesh_.time().findInstance - ( - "extendedFeatureEdgeMesh", - feMeshName - ), + cvMesh_.time().constant(), "extendedFeatureEdgeMesh", cvMesh_.time(), IOobject::MUST_READ, @@ -207,11 +203,7 @@ Foam::conformationSurfaces::conformationSurfaces IOobject ( feMeshName, - cvMesh_.time().findInstance - ( - "extendedFeatureEdgeMesh", - feMeshName - ), + cvMesh_.time().constant(), "extendedFeatureEdgeMesh", cvMesh_.time(), IOobject::MUST_READ,