revert to reading surfaces from constant so parallel works out of the box

This commit is contained in:
mattijs
2009-08-04 16:43:38 +01:00
parent 0b16a73a5a
commit fe0745476d
3 changed files with 8 additions and 5 deletions

View File

@ -203,8 +203,8 @@ int main(int argc, char *argv[])
IOobject
(
"abc", // dummy name
//mesh.time().constant(), // instance
mesh.time().findInstance("triSurface", word::null),// instance
mesh.time().constant(), // instance
//mesh.time().findInstance("triSurface", word::null),// instance
"triSurface", // local
mesh.time(), // registry
IOobject::MUST_READ,

View File

@ -225,7 +225,9 @@ Foam::autoHexMeshDriver::autoHexMeshDriver
IOobject
(
"abc", // dummy name
mesh_.time().findInstance("triSurface", word::null),// inst
//mesh_.time().findInstance("triSurface", word::null),
// instance
mesh_.time().constant(), // instance
"triSurface", // local
mesh_.time(), // registry
IOobject::MUST_READ,

View File

@ -78,8 +78,9 @@ Foam::label Foam::autoRefineDriver::readFeatureEdges
IOobject
(
featFileName, // name
mesh.time().findInstance("triSurface", featFileName),
// instance
//mesh.time().findInstance("triSurface", featFileName),
// // instance
mesh.time().constant(), // instance
"triSurface", // local
mesh.time(), // registry
IOobject::MUST_READ,