46#ifndef Foam_SlicedGeometricField_H
47#define Foam_SlicedGeometricField_H
64 template<
class>
class PatchField,
65 template<
class>
class SlicedPatchField,
90 isBoundaryAddressing(
const Mesh&
mesh,
const label fieldSize);
99 const bool preserveCouples,
100 const bool preserveProcessorOnly =
false,
101 const bool isBoundaryOnly =
false
111 const bool preserveCouples
145 const bool preserveCouples =
true
157 const bool preserveCouples =
true,
158 const bool preserveProcessorOnly =
false
167 const bool preserveCouples =
true
const Mesh & mesh() const noexcept
A field of fields is a PtrList of fields with reference counting.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
MESH::BoundaryMesh BoundaryMesh
GeometricField(const IOobject &io, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=PatchField< Type >::calculatedType())
Construct given IOobject, mesh, dimensions and patch type.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Specialisation of DimensionedField that holds a slice of a given field so that it acts as a Dimension...
SlicedDimensionedField< Type, areaMesh > Internal
tmp< SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > > clone() const
Clone.
SlicedGeometricField(const IOobject &, const Mesh &, const dimensionSet &dims, const Field< Type > &completeIField, const Field< Type > &completeBField, const bool preserveCouples=true, const bool preserveProcessorOnly=false)
Construct from components and separate fields to slice for the internal field and boundary field.
SlicedGeometricField(const IOobject &, const Mesh &, const dimensionSet &dims, const Field< Type > &completeField, const bool preserveCouples=true)
Construct from components and field to slice.
areaMesh::BoundaryMesh BoundaryMesh
SlicedGeometricField(const SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > &)
Copy construct.
~SlicedGeometricField()
Destructor.
void correctBoundaryConditions()
Correct boundary field.
SlicedGeometricField(const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &, const bool preserveCouples=true)
Construct from GeometricField. Reuses full internal and patch fields except on couples (preserveCoupl...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
A class for managing temporary objects.