STYLE: readOnProc/writeOnProc instead of 'valid' for IO
This commit is contained in:
@ -392,7 +392,7 @@ void Foam::rigidBodyMeshMotion::solve()
|
||||
bool Foam::rigidBodyMeshMotion::writeObject
|
||||
(
|
||||
IOstreamOption streamOpt,
|
||||
const bool valid
|
||||
const bool writeOnProc
|
||||
) const
|
||||
{
|
||||
// Force ASCII writing
|
||||
@ -413,7 +413,7 @@ bool Foam::rigidBodyMeshMotion::writeObject
|
||||
);
|
||||
|
||||
model_.state().write(dict);
|
||||
return dict.regIOobject::writeObject(streamOpt, valid);
|
||||
return dict.regIOobject::writeObject(streamOpt, writeOnProc);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -177,7 +177,7 @@ public:
|
||||
virtual bool writeObject
|
||||
(
|
||||
IOstreamOption streamOpt,
|
||||
const bool valid
|
||||
const bool writeOnProc
|
||||
) const;
|
||||
|
||||
//- Read dynamicMeshDict dictionary
|
||||
|
||||
@ -279,7 +279,7 @@ void Foam::rigidBodyMeshMotionSolver::solve()
|
||||
bool Foam::rigidBodyMeshMotionSolver::writeObject
|
||||
(
|
||||
IOstreamOption streamOpt,
|
||||
const bool valid
|
||||
const bool writeOnProc
|
||||
) const
|
||||
{
|
||||
// Force ASCII writing
|
||||
@ -300,7 +300,7 @@ bool Foam::rigidBodyMeshMotionSolver::writeObject
|
||||
);
|
||||
|
||||
model_.state().write(dict);
|
||||
return dict.regIOobject::writeObject(streamOpt, valid);
|
||||
return dict.regIOobject::writeObject(streamOpt, writeOnProc);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -157,7 +157,7 @@ public:
|
||||
virtual bool writeObject
|
||||
(
|
||||
IOstreamOption streamOpt,
|
||||
const bool valid
|
||||
const bool writeOnProc
|
||||
) const;
|
||||
|
||||
//- Read dynamicMeshDict dictionary
|
||||
|
||||
Reference in New Issue
Block a user