Commit 866fe210 authored by Henry Weller's avatar Henry Weller
Browse files

GeometricField: Renamed internalField() -> primitiveField() and...

GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField()

These new names are more consistent and logical because:

primitiveField():
primitiveFieldRef():
    Provides low-level access to the Field<Type> (primitive field)
    without dimension or mesh-consistency checking.  This should only be
    used in the low-level functions where dimensional consistency is
    ensured by careful programming and computational efficiency is
    paramount.

internalField():
internalFieldRef():
    Provides access to the DimensionedField<Type, GeoMesh> of values on
    the internal mesh-type for which the GeometricField is defined and
    supports dimension and checking and mesh-consistency checking.
parent b69db74c
......@@ -152,7 +152,7 @@ void Foam::vtkPV3Foam::convertPointFields
// Extract the field on the zone
Field<Type> fld
(
ptf.internalField(),
ptf.primitiveField(),
mesh.faceZones()[zoneId]().meshPoints()
);
......
......@@ -152,7 +152,7 @@ void Foam::vtkPVFoam::convertPointFields
// Extract the field on the zone
Field<Type> fld
(
ptf.internalField(),
ptf.primitiveField(),
mesh.faceZones()[zoneId]().meshPoints()
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment