From eb94b1c7cd7aedc22e11de5f1728b6abf3b03bfd Mon Sep 17 00:00:00 2001 From: andy <a.heather@opencfd.co.uk> Date: Wed, 27 May 2009 18:29:49 +0100 Subject: [PATCH] bugfix: << operator --- .../ReactingMultiphaseParcel/ReactingMultiphaseParcelIO.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lagrangian/intermediate/parcels/Templates/ReactingMultiphaseParcel/ReactingMultiphaseParcelIO.C b/src/lagrangian/intermediate/parcels/Templates/ReactingMultiphaseParcel/ReactingMultiphaseParcelIO.C index 4ff1581e14f..4554423f219 100644 --- a/src/lagrangian/intermediate/parcels/Templates/ReactingMultiphaseParcel/ReactingMultiphaseParcelIO.C +++ b/src/lagrangian/intermediate/parcels/Templates/ReactingMultiphaseParcel/ReactingMultiphaseParcelIO.C @@ -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 -- GitLab