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

bugfix: << operator

parent 2ab359f0
No related merge requests found
......@@ -286,15 +286,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