Class to provide list slices to different parts of a geometric field. More...
Public Member Functions | |
GeometricFieldListSlicer () | |
Construct null. Set later. More... | |
GeometricFieldListSlicer (const typename geoFieldType::Mesh &mesh, const UPtrList< const geoFieldType > &geoFields) | |
Construct from a mesh and a list of fields. More... | |
GeometricFieldListSlicer (const typename geoFieldType::Mesh &mesh, const UPtrList< geoFieldType > &geoFields) | |
Construct from a mesh and a list of fields. More... | |
void | set (const typename geoFieldType::Mesh &mesh, const UPtrList< const geoFieldType > &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 51 of file GeometricFieldListSlicer.H.
|
inline |
Construct null. Set later.
Definition at line 73 of file GeometricFieldListSlicer.H.
|
inline |
Construct from a mesh and a list of fields.
Definition at line 77 of file GeometricFieldListSlicer.H.
References GeometricFieldListSlicer< Type, PatchField, GeoMesh >::set().
|
inline |
Construct from a mesh and a list of fields.
Definition at line 87 of file GeometricFieldListSlicer.H.
|
inline |
Set the field pointers.
Definition at line 104 of file GeometricFieldListSlicer.H.
References forAll, patchi, List< T >::resize(), UPtrList< T >::resize(), UPtrList< T >::set(), and UPtrList< T >::size().
Referenced by GeometricFieldListSlicer< Type, PatchField, GeoMesh >::GeometricFieldListSlicer().
|
inline |
Return a slice for an internal element.
Definition at line 134 of file GeometricFieldListSlicer.H.
|
inline |
Return a slice for a patch element.
Definition at line 140 of file GeometricFieldListSlicer.H.
References patchi.