ENH: Construct from tmp to avoid field db clash

This commit is contained in:
andy
2011-06-07 14:40:40 +01:00
parent e26c0e350a
commit ee15acbbae

View File

@ -32,18 +32,7 @@ inline Foam::ThermoParcel<ParcelType>::TrackingData<CloudType>::TrackingData
)
:
ParcelType::template TrackingData<CloudType>(cloud, part),
Cp_
(
IOobject
(
"Cp",
cloud.db().time().timeName(),
cloud.db(),
IOobject::NO_READ,
IOobject::NO_WRITE
),
cloud.thermo().thermo().Cp()
),
Cp_(cloud.thermo().thermo().Cp()),
TInterp_
(
interpolation<scalar>::New