mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use calculatedType() and zeroGradientType() methods
This commit is contained in:
@ -52,7 +52,7 @@ volScalarField y
|
||||
),
|
||||
mesh,
|
||||
dimensionedScalar(dimLength, Zero),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
fvPatchFieldBase::zeroGradientType()
|
||||
);
|
||||
y.primitiveFieldRef() = wallDist::New(mesh).y().primitiveField();
|
||||
y.correctBoundaryConditions();
|
||||
@ -88,7 +88,7 @@ volScalarField mask
|
||||
),
|
||||
mesh,
|
||||
dimensionedScalar(dimless, Zero),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
fvPatchFieldBase::zeroGradientType()
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user