Class to provide list slices to different parts of a geometric field. More...
Public Member Functions | |
| GeometricFieldListSlicer () | |
| Construct null. Set later. More... | |
| template<class GeoMesh , template< class > class PrimitiveField> | |
| GeometricFieldListSlicer (const GeoMesh &mesh, const UPtrList< GeometricField< Type, GeoMesh, PrimitiveField >> &geoFields) | |
| Construct from a mesh and a list of fields. More... | |
| template<class GeoMesh , template< class > class PrimitiveField> | |
| void | set (const GeoMesh &mesh, const UPtrList< GeometricField< Type, GeoMesh, PrimitiveField >> &geoFields) |
| Set the field pointers. More... | |
| FieldListSlice< Type > | slice (const label elementi) const |
| Return a slice for an internal element. More... | |
| FieldListSlice< Type > | patchSlice (const label patchi, const label patchElementi) const |
| Return a slice for a patch element. More... | |
Class to provide list slices to different parts of a geometric field.
Definition at line 49 of file GeometricFieldListSlicer.H.
|
inline |
Construct null. Set later.
Definition at line 65 of file GeometricFieldListSlicer.H.
|
inline |
Construct from a mesh and a list of fields.
Definition at line 70 of file GeometricFieldListSlicer.H.
References mesh, and GeometricFieldListSlicer< Type >::set().

|
inline |
Set the field pointers.
Definition at line 85 of file GeometricFieldListSlicer.H.
References fvMesh::boundary(), forAll, mesh, patchi, List< T >::resize(), UPtrList< T >::resize(), UPtrList< T >::set(), and UPtrList< T >::size().
Referenced by GeometricFieldListSlicer< Type >::GeometricFieldListSlicer().


|
inline |
Return a slice for an internal element.
Definition at line 116 of file GeometricFieldListSlicer.H.
Referenced by psiuMulticomponentThermo::implementation::cellComposition(), and multicomponentThermo::implementation::cellComposition().

|
inline |
Return a slice for a patch element.
Definition at line 122 of file GeometricFieldListSlicer.H.
References patchi.
Referenced by psiuMulticomponentThermo::implementation::patchFaceComposition(), and multicomponentThermo::implementation::patchFaceComposition().
