mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use dictionary writeEntry for output
This commit is contained in:
@ -409,8 +409,7 @@ void Foam::porosityModels::powerLawLopesdaCosta::correct
|
|||||||
|
|
||||||
bool Foam::porosityModels::powerLawLopesdaCosta::writeData(Ostream& os) const
|
bool Foam::porosityModels::powerLawLopesdaCosta::writeData(Ostream& os) const
|
||||||
{
|
{
|
||||||
os << indent << name_ << endl;
|
dict_.writeEntry(name_, os);
|
||||||
dict_.write(os);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -288,8 +288,7 @@ void Foam::porosityModels::DarcyForchheimer::correct
|
|||||||
|
|
||||||
bool Foam::porosityModels::DarcyForchheimer::writeData(Ostream& os) const
|
bool Foam::porosityModels::DarcyForchheimer::writeData(Ostream& os) const
|
||||||
{
|
{
|
||||||
os << indent << name_ << endl;
|
dict_.writeEntry(name_, os);
|
||||||
dict_.write(os);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -248,8 +248,7 @@ void Foam::porosityModels::fixedCoeff::correct
|
|||||||
|
|
||||||
bool Foam::porosityModels::fixedCoeff::writeData(Ostream& os) const
|
bool Foam::porosityModels::fixedCoeff::writeData(Ostream& os) const
|
||||||
{
|
{
|
||||||
os << indent << name_ << endl;
|
dict_.writeEntry(name_, os);
|
||||||
dict_.write(os);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -149,8 +149,7 @@ void Foam::porosityModels::powerLaw::correct
|
|||||||
|
|
||||||
bool Foam::porosityModels::powerLaw::writeData(Ostream& os) const
|
bool Foam::porosityModels::powerLaw::writeData(Ostream& os) const
|
||||||
{
|
{
|
||||||
os << indent << name_ << endl;
|
dict_.writeEntry(name_, os);
|
||||||
dict_.write(os);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -154,8 +154,7 @@ void Foam::porosityModels::solidification::correct
|
|||||||
|
|
||||||
bool Foam::porosityModels::solidification::writeData(Ostream& os) const
|
bool Foam::porosityModels::solidification::writeData(Ostream& os) const
|
||||||
{
|
{
|
||||||
os << indent << name_ << endl;
|
dict_.writeEntry(name_, os);
|
||||||
dict_.write(os);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -113,8 +113,7 @@ void Foam::fv::velocityDampingConstraint::constrain
|
|||||||
|
|
||||||
void Foam::fv::velocityDampingConstraint::writeData(Ostream& os) const
|
void Foam::fv::velocityDampingConstraint::writeData(Ostream& os) const
|
||||||
{
|
{
|
||||||
os << indent << name_ << endl;
|
dict_.writeEntry(name_, os);
|
||||||
dict_.write(os);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user