Corrected format of zone write
This commit is contained in:
parent
a1540947b9
commit
2f05fe31af
3 changed files with 9 additions and 9 deletions
|
@ -262,12 +262,12 @@ void Foam::cellZone::write(Ostream& os) const
|
|||
|
||||
void Foam::cellZone::writeDict(Ostream& os) const
|
||||
{
|
||||
os << nl << name() << nl << token::BEGIN_BLOCK << nl
|
||||
<< " type " << type() << token::END_STATEMENT << nl;
|
||||
os << nl << name() << nl << token::BEGIN_BLOCK << incrIndent << nl
|
||||
<< indent << "type " << type() << token::END_STATEMENT << nl;
|
||||
|
||||
writeEntry("cellLabels", os);
|
||||
|
||||
os << token::END_BLOCK << endl;
|
||||
os << decrIndent << token::END_BLOCK << endl;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -644,13 +644,13 @@ void Foam::faceZone::write(Ostream& os) const
|
|||
|
||||
void Foam::faceZone::writeDict(Ostream& os) const
|
||||
{
|
||||
os << nl << name() << nl << token::BEGIN_BLOCK << nl
|
||||
<< " type " << type() << token::END_STATEMENT << nl;
|
||||
os << nl << name() << nl << token::BEGIN_BLOCK << incrIndent << nl
|
||||
<< indent << "type " << type() << token::END_STATEMENT << nl;
|
||||
|
||||
writeEntry("faceLabels", os);
|
||||
flipMap().writeEntry("flipMap", os);
|
||||
|
||||
os << token::END_BLOCK << endl;
|
||||
os << decrIndent << token::END_BLOCK << endl;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -261,12 +261,12 @@ void Foam::pointZone::write(Ostream& os) const
|
|||
|
||||
void Foam::pointZone::writeDict(Ostream& os) const
|
||||
{
|
||||
os << nl << name() << nl << token::BEGIN_BLOCK << nl
|
||||
<< " type " << type() << token::END_STATEMENT << nl;
|
||||
os << nl << name() << nl << token::BEGIN_BLOCK << incrIndent << nl
|
||||
<< indent << "type " << type() << token::END_STATEMENT << nl;
|
||||
|
||||
writeEntry("pointLabels", os);
|
||||
|
||||
os << token::END_BLOCK << endl;
|
||||
os << decrIndent << token::END_BLOCK << endl;
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue