mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GeometricField::internalField() -> GeometricField::internalFieldRef()
Non-const access to the internal field now obtained from a specifically
named access function consistent with the new names for non-canst access
to the boundary field boundaryFieldRef() and dimensioned internal field
dimensionedInternalFieldRef().
See also commit 22f4ad32b1
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -164,7 +164,7 @@ int main(int argc, char *argv[])
|
||||
dimensionedScalar("one", dimless, 1.0),
|
||||
calculatedPointPatchScalarField::typeName
|
||||
);
|
||||
pointX.internalField() = mesh.points().component(0);
|
||||
pointX.internalFieldRef() = mesh.points().component(0);
|
||||
pointX.correctBoundaryConditions();
|
||||
Info<< "Writing x-component field "
|
||||
<< pointX.name() << " in " << runTime.timeName() << endl;
|
||||
|
||||
Reference in New Issue
Block a user