mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: removed ambigous construction from tmp
This commit is contained in:
@ -64,7 +64,7 @@
|
||||
// Further limit the reciprocal time-step
|
||||
// in the vicinity of the interface
|
||||
|
||||
volScalarField alpha1Bar = fvc::average(alpha1);
|
||||
volScalarField alpha1Bar(fvc::average(alpha1));
|
||||
|
||||
rDeltaT.dimensionedInternalField() = max
|
||||
(
|
||||
|
||||
@ -39,8 +39,10 @@ correction
|
||||
{
|
||||
const fvMesh& mesh = this->mesh();
|
||||
|
||||
GeometricField<Type, pointPatchField, pointMesh> pvf =
|
||||
volPointInterpolation::New(mesh).interpolate(vf);
|
||||
GeometricField<Type, pointPatchField, pointMesh> pvf
|
||||
(
|
||||
volPointInterpolation::New(mesh).interpolate(vf)
|
||||
);
|
||||
|
||||
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > tsfCorr =
|
||||
linearInterpolate(vf);
|
||||
|
||||
Reference in New Issue
Block a user