Skip to content
Snippets Groups Projects
Commit 0e75278d authored by Andrew Heather's avatar Andrew Heather
Browse files

bugfix: << operator

parent 88ea18c3
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment