mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
bugfix: << operator
This commit is contained in:
@ -276,15 +276,15 @@ Foam::Ostream& Foam::operator<<
|
||||
scalarField YSolidLoc = p.YSolid()*p.Y()[2];
|
||||
if (os.format() == IOstream::ASCII)
|
||||
{
|
||||
os << static_cast<const ReactingMultiphaseParcel<ParcelType>&>(p)
|
||||
os << static_cast<const ReactingParcel<ParcelType>&>(p)
|
||||
<< token::SPACE << YGasLoc
|
||||
<< token::SPACE << YLiquidLoc
|
||||
<< token::SPACE << YSolidLoc;
|
||||
}
|
||||
else
|
||||
{
|
||||
os << static_cast<const ReactingMultiphaseParcel<ParcelType>&>(p);
|
||||
os << YGasLoc << YLiquidLoc << YSolidLoc;
|
||||
os << static_cast<const ReactingParcel<ParcelType>&>(p);
|
||||
os << YGasLoc << YLiquidLoc << YSolidLoc;
|
||||
}
|
||||
|
||||
// Check state of Ostream
|
||||
|
||||
Reference in New Issue
Block a user