GeometricField::dimensionedInternalField() -> GeometricField::dimensionedInternalFieldRef()

See also commit 22f4ad32b1
This commit is contained in:
Henry Weller
2016-04-26 16:29:43 +01:00
parent 6962fd3ba4
commit dc2951ca2f
22 changed files with 45 additions and 42 deletions

View File

@ -115,7 +115,7 @@ int main(int argc, char *argv[])
calculatedFvPatchField<scalar>::typeName
);
V.dimensionedInternalField() = mesh.V();
V.dimensionedInternalFieldRef() = mesh.V();
volScalarField::GeometricBoundaryField& Vbf = V.boundaryFieldRef();

View File

@ -87,7 +87,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
mesh
);
Co.dimensionedInternalField() =
Co.dimensionedInternalFieldRef() =
(0.5*runTime.deltaT())
*fvc::surfaceSum(mag(phi))().dimensionedInternalField()
/(rho*mesh.V());
@ -97,7 +97,7 @@ void Foam::calc(const argList& args, const Time& runTime, const fvMesh& mesh)
{
Info<< " Calculating incompressible Co" << endl;
Co.dimensionedInternalField() =
Co.dimensionedInternalFieldRef() =
(0.5*runTime.deltaT())
*fvc::surfaceSum(mag(phi))().dimensionedInternalField()
/mesh.V();