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:
@ -71,8 +71,7 @@ functions
|
||||
IOobject::NO_READ
|
||||
),
|
||||
mesh(),
|
||||
dimensionedVector(dimless/dimLength, Zero),
|
||||
calculatedFvPatchField<vector>::typeName
|
||||
dimensionedVector(dimless/dimLength, Zero)
|
||||
);
|
||||
|
||||
Cc2.primitiveFieldRef() = Cc.primitiveField();
|
||||
@ -102,8 +101,7 @@ functions
|
||||
IOobject::NO_READ
|
||||
),
|
||||
mesh(),
|
||||
dimensionedScalar(dimless, Zero),
|
||||
calculatedFvPatchField<scalar>::typeName
|
||||
dimensionedScalar(dimless, Zero)
|
||||
);
|
||||
|
||||
volScalarField magError
|
||||
@ -116,8 +114,7 @@ functions
|
||||
IOobject::NO_READ
|
||||
),
|
||||
mesh(),
|
||||
dimensionedScalar(dimless, Zero),
|
||||
calculatedFvPatchField<scalar>::typeName
|
||||
dimensionedScalar(dimless, Zero)
|
||||
);
|
||||
|
||||
const dimensionedScalar root2(dimless/sqr(dimLength), Foam::sqrt(2.0));
|
||||
|
||||
Reference in New Issue
Block a user