Commit fe074547 authored by mattijs's avatar mattijs
Browse files

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

parent 0b16a73a
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment