ENH: removed ambigous construction from tmp

This commit is contained in:
andy
2011-04-05 17:37:07 +01:00
parent 8513ebb5ad
commit 08a3023eec
2 changed files with 5 additions and 3 deletions

View File

@ -64,7 +64,7 @@
// Further limit the reciprocal time-step // Further limit the reciprocal time-step
// in the vicinity of the interface // in the vicinity of the interface
volScalarField alpha1Bar = fvc::average(alpha1); volScalarField alpha1Bar(fvc::average(alpha1));
rDeltaT.dimensionedInternalField() = max rDeltaT.dimensionedInternalField() = max
( (

View File

@ -39,8 +39,10 @@ correction
{ {
const fvMesh& mesh = this->mesh(); const fvMesh& mesh = this->mesh();
GeometricField<Type, pointPatchField, pointMesh> pvf = GeometricField<Type, pointPatchField, pointMesh> pvf
volPointInterpolation::New(mesh).interpolate(vf); (
volPointInterpolation::New(mesh).interpolate(vf)
);
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > tsfCorr = tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > tsfCorr =
linearInterpolate(vf); linearInterpolate(vf);