Changed the IOOutputFilter constructor to accept a "name" argument. For details see the changes proposed by Vincent Tang:

http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10405
This commit is contained in:
henry
2008-12-30 21:18:04 +00:00
parent 7386e4c94d
commit bf92e869a9
4 changed files with 24 additions and 7 deletions

View File

@ -101,8 +101,23 @@ int main(int argc, char *argv[])
instantList timeDirs = timeSelector::select0(runTime, args);
# include "createMesh.H"
IOsampledSets sSets(mesh, "sampleDict", IOobject::MUST_READ, true);
IOsampledSurfaces sSurfs(mesh, "sampleDict", IOobject::MUST_READ, true);
IOsampledSets sSets
(
sampledSets::typeName,
mesh,
"sampleDict",
IOobject::MUST_READ,
true
);
IOsampledSurfaces sSurfs
(
sampledSurfaces::typeName,
mesh,
"sampleDict",
IOobject::MUST_READ,
true
);
forAll(timeDirs, timeI)
{