ENH: solution.C, fvSchemes.C : remove syncPar argument

This commit is contained in:
mattijs
2010-12-03 13:01:13 +00:00
parent aafb9aa3f1
commit dd7f831225
4 changed files with 6 additions and 10 deletions

View File

@ -74,8 +74,7 @@ void Foam::solution::read(const dictionary& dict)
Foam::solution::solution Foam::solution::solution
( (
const objectRegistry& obr, const objectRegistry& obr,
const fileName& dictName, const fileName& dictName
const bool syncPar
) )
: :
IOdictionary IOdictionary
@ -87,8 +86,7 @@ Foam::solution::solution
obr, obr,
IOobject::MUST_READ_IF_MODIFIED, IOobject::MUST_READ_IF_MODIFIED,
IOobject::NO_WRITE IOobject::NO_WRITE
), )
syncPar
), ),
cache_(ITstream("cache", tokenList())()), cache_(ITstream("cache", tokenList())()),
caching_(false), caching_(false),

View File

@ -95,8 +95,7 @@ public:
solution solution
( (
const objectRegistry& obr, const objectRegistry& obr,
const fileName& dictName, const fileName& dictName
const bool syncPar=true
); );

View File

@ -247,7 +247,7 @@ void Foam::fvSchemes::read(const dictionary& dict)
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::fvSchemes::fvSchemes(const objectRegistry& obr, const bool syncPar) Foam::fvSchemes::fvSchemes(const objectRegistry& obr)
: :
IOdictionary IOdictionary
( (
@ -258,8 +258,7 @@ Foam::fvSchemes::fvSchemes(const objectRegistry& obr, const bool syncPar)
obr, obr,
IOobject::MUST_READ_IF_MODIFIED, IOobject::MUST_READ_IF_MODIFIED,
IOobject::NO_WRITE IOobject::NO_WRITE
), )
syncPar
), ),
ddtSchemes_ ddtSchemes_
( (

View File

@ -103,7 +103,7 @@ public:
// Constructors // Constructors
//- Construct for objectRegistry //- Construct for objectRegistry
fvSchemes(const objectRegistry& obr, const bool syncPar = true); fvSchemes(const objectRegistry& obr);
// Member Functions // Member Functions