mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: writeEntry instead of writeKeyword + END
This commit is contained in:
@ -506,10 +506,8 @@ Foam::tmp<Foam::labelField> Foam::processorFaPatch::internalFieldTransfer
|
||||
void Foam::processorFaPatch::write(Ostream& os) const
|
||||
{
|
||||
faPatch::write(os);
|
||||
os.writeKeyword("myProcNo") << myProcNo_
|
||||
<< token::END_STATEMENT << nl;
|
||||
os.writeKeyword("neighbProcNo") << neighbProcNo_
|
||||
<< token::END_STATEMENT << nl;
|
||||
os.writeEntry("myProcNo", myProcNo_);
|
||||
os.writeEntry("neighbProcNo", neighbProcNo_);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -467,13 +467,13 @@ void Foam::faPatch::resetEdges(const labelList& newEdges)
|
||||
|
||||
void Foam::faPatch::write(Ostream& os) const
|
||||
{
|
||||
os.writeKeyword("type") << type() << token::END_STATEMENT << nl;
|
||||
os.writeEntry("type", type());
|
||||
|
||||
patchIdentifier::write(os);
|
||||
|
||||
const labelList& edgeLabels = *this;
|
||||
edgeLabels.writeEntry("edgeLabels", os);
|
||||
os.writeKeyword("ngbPolyPatchIndex") << ngbPolyPatchIndex_
|
||||
<< token::END_STATEMENT << nl;
|
||||
os.writeEntry("ngbPolyPatchIndex", ngbPolyPatchIndex_);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user