Abstract base class to hold the Field mapping addressing and weights. More...
#include <OpenFOAM/FieldMapper.H>
Abstract base class to hold the Field mapping addressing and weights.
Definition at line 44 of file FieldMapper.H.
Public Member Functions | |
FieldMapper () | |
Null constructor.
| |
virtual | ~FieldMapper () |
virtual label | size () const =0 |
virtual bool | direct () const =0 |
virtual const unallocLabelList & | directAddressing () const |
virtual const labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
FieldMapper | ( | ) | [inline]
|
Null constructor.
Definition at line 52 of file FieldMapper.H.
virtual ~FieldMapper | ( | ) | [inline, virtual]
|
Definition at line 58 of file FieldMapper.H.
virtual label size | ( | ) | const [pure virtual]
|
Implemented in fvPatchMapper, fvSurfaceMapper, fvMeshSubset::patchFieldSubset, fvMeshSubset::pointPatchFieldSubset, pointMapper, pointPatchMapper, cellMapper, faceMapper, meshToMesh::patchFieldInterpolator, fvFieldDecomposer::patchFieldDecomposer, fvFieldDecomposer::processorVolPatchFieldDecomposer, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, pointFieldDecomposer::patchFieldDecomposer, fvFieldReconstructor::fvPatchFieldReconstructor, and pointFieldReconstructor::pointPatchFieldReconstructor.
Referenced by Field< Type >::autoMap(), and uniformFixedValueFvPatchField< Type >::autoMap().
virtual bool direct | ( | ) | const [pure virtual]
|
Implemented in fvPatchMapper, fvSurfaceMapper, fvMeshSubset::patchFieldSubset, fvMeshSubset::pointPatchFieldSubset, pointMapper, pointPatchMapper, cellMapper, faceMapper, meshToMesh::patchFieldInterpolator, fvFieldDecomposer::patchFieldDecomposer, fvFieldDecomposer::processorVolPatchFieldDecomposer, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, pointFieldDecomposer::patchFieldDecomposer, fvFieldReconstructor::fvPatchFieldReconstructor, and pointFieldReconstructor::pointPatchFieldReconstructor.
Referenced by Field< Type >::autoMap(), pointPatchMapper::direct(), and Field< Type >::map().
virtual const unallocLabelList& directAddressing | ( | ) | const [inline, virtual]
|
Reimplemented in fvPatchMapper, fvSurfaceMapper, fvMeshSubset::patchFieldSubset, fvMeshSubset::pointPatchFieldSubset, pointMapper, pointPatchMapper, cellMapper, faceMapper, meshToMesh::patchFieldInterpolator, fvFieldDecomposer::patchFieldDecomposer, fvFieldDecomposer::processorVolPatchFieldDecomposer, pointFieldDecomposer::patchFieldDecomposer, fvFieldReconstructor::fvPatchFieldReconstructor, and pointFieldReconstructor::pointPatchFieldReconstructor.
Definition at line 68 of file FieldMapper.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and UList< label >::null().
Referenced by Field< Type >::autoMap(), and Field< Type >::map().
virtual const labelListList& addressing | ( | ) | const [inline, virtual]
|
Reimplemented in fvPatchMapper, fvSurfaceMapper, pointMapper, pointPatchMapper, cellMapper, faceMapper, and fvFieldDecomposer::processorSurfacePatchFieldDecomposer.
Definition at line 77 of file FieldMapper.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and List< labelList >::null().
Referenced by Field< Type >::autoMap(), and Field< Type >::map().
virtual const scalarListList& weights | ( | ) | const [inline, virtual]
|
Reimplemented in fvPatchMapper, fvSurfaceMapper, pointMapper, pointPatchMapper, cellMapper, faceMapper, and fvFieldDecomposer::processorSurfacePatchFieldDecomposer.
Definition at line 86 of file FieldMapper.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and List< scalarList >::null().
Referenced by Field< Type >::map().
Definition at line 99 of file FieldMapper.H.
References f().