Abstract base class to hold the Field mapping addressing and weights. More...
Public Member Functions | |
FieldMapper () | |
virtual | ~FieldMapper ()=default |
virtual label | size () const =0 |
virtual bool | direct () const =0 |
virtual bool | distributed () const |
virtual const mapDistributeBase & | distributeMap () const |
virtual bool | hasUnmapped () const =0 |
virtual const labelUList & | directAddressing () const |
virtual const labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
Abstract base class to hold the Field mapping addressing and weights.
Definition at line 43 of file FieldMapper.H.
|
inline |
Definition at line 51 of file FieldMapper.H.
|
virtualdefault |
|
pure virtual |
Implemented in meshToMesh0::patchFieldInterpolator, faFieldDecomposer::processorEdgePatchFieldDecomposer, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, faFieldDecomposer::processorAreaPatchFieldDecomposer, faAreaMapper, fvFieldDecomposer::processorVolPatchFieldDecomposer, pointPatchMapper, singleCellFvMesh::agglomPatchFieldMapper, fvPatchMapper, faceMapper, cellMapper, faPatchMapper, pointMapper, fvSurfaceMapper, faEdgeMapper, faFieldReconstructor::faPatchFieldReconstructor, fvFieldReconstructor::fvPatchFieldReconstructor, pointFieldReconstructor::pointPatchFieldReconstructor, distributedWeightedFvPatchFieldMapper, faFieldDecomposer::patchFieldDecomposer, pointFieldDecomposer::patchFieldDecomposer, fvFieldDecomposer::patchFieldDecomposer, distributedUnallocatedDirectFvPatchFieldMapper, distributedUnallocatedDirectFieldMapper, directFvPatchFieldMapper, directPointPatchFieldMapper, and directFieldMapper.
Referenced by Field< Foam::Vector2D >::autoMap(), fvPatchField< Type >::autoMap(), and externalWallHeatFluxTemperatureFvPatchScalarField::externalWallHeatFluxTemperatureFvPatchScalarField().
|
pure virtual |
Implemented in faFieldDecomposer::processorEdgePatchFieldDecomposer, meshToMesh0::patchFieldInterpolator, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, faFieldDecomposer::processorAreaPatchFieldDecomposer, faAreaMapper, pointPatchMapper, fvFieldDecomposer::processorVolPatchFieldDecomposer, fvPatchMapper, faPatchMapper, faceMapper, fvSurfaceMapper, singleCellFvMesh::agglomPatchFieldMapper, cellMapper, pointMapper, faEdgeMapper, faFieldReconstructor::faPatchFieldReconstructor, distributedWeightedFvPatchFieldMapper, fvFieldReconstructor::fvPatchFieldReconstructor, pointFieldReconstructor::pointPatchFieldReconstructor, faFieldDecomposer::patchFieldDecomposer, pointFieldDecomposer::patchFieldDecomposer, distributedUnallocatedDirectFvPatchFieldMapper, distributedUnallocatedDirectFieldMapper, fvFieldDecomposer::patchFieldDecomposer, directFvPatchFieldMapper, directPointPatchFieldMapper, and directFieldMapper.
Referenced by Field< Foam::Vector2D >::autoMap(), fvPatchField< Type >::autoMap(), pointPatchMapper::direct(), uniformFixedValueFvPatchField< Type >::uniformFixedValueFvPatchField(), uniformFixedValuePointPatchField< Type >::uniformFixedValuePointPatchField(), and uniformNormalFixedValueFvPatchVectorField::uniformNormalFixedValueFvPatchVectorField().
|
inlinevirtual |
Reimplemented in distributedWeightedFvPatchFieldMapper, distributedUnallocatedDirectFvPatchFieldMapper, and distributedUnallocatedDirectFieldMapper.
Definition at line 65 of file FieldMapper.H.
Referenced by Field< Foam::Vector2D >::autoMap(), and fvPatchField< Type >::autoMap().
|
inlinevirtual |
Reimplemented in distributedWeightedFvPatchFieldMapper, distributedUnallocatedDirectFvPatchFieldMapper, and distributedUnallocatedDirectFieldMapper.
Definition at line 70 of file FieldMapper.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by Field< Foam::Vector2D >::autoMap().
|
pure virtual |
Implemented in faFieldDecomposer::processorEdgePatchFieldDecomposer, meshToMesh0::patchFieldInterpolator, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, faFieldDecomposer::processorAreaPatchFieldDecomposer, faAreaMapper, fvFieldDecomposer::processorVolPatchFieldDecomposer, fvPatchMapper, faPatchMapper, distributedWeightedFvPatchFieldMapper, fvSurfaceMapper, faceMapper, singleCellFvMesh::agglomPatchFieldMapper, pointMapper, cellMapper, pointPatchMapper, faEdgeMapper, faFieldReconstructor::faPatchFieldReconstructor, fvFieldReconstructor::fvPatchFieldReconstructor, pointFieldReconstructor::pointPatchFieldReconstructor, faFieldDecomposer::patchFieldDecomposer, distributedUnallocatedDirectFvPatchFieldMapper, distributedUnallocatedDirectFieldMapper, pointFieldDecomposer::patchFieldDecomposer, fvFieldDecomposer::patchFieldDecomposer, directFvPatchFieldMapper, directPointPatchFieldMapper, and directFieldMapper.
Referenced by fvPatchField< Type >::autoMap(), directionMixedFvPatchField< Type >::directionMixedFvPatchField(), fixedGradientFvPatchField< Type >::fixedGradientFvPatchField(), fixedValueFvPatchField< scalar >::fixedValueFvPatchField(), mixedFvPatchField< vector >::mixedFvPatchField(), uniformFixedValueFvPatchField< Type >::uniformFixedValueFvPatchField(), uniformFixedValuePointPatchField< Type >::uniformFixedValuePointPatchField(), and uniformNormalFixedValueFvPatchVectorField::uniformNormalFixedValueFvPatchVectorField().
|
inlinevirtual |
Reimplemented in meshToMesh0::patchFieldInterpolator, faAreaMapper, pointPatchMapper, fvFieldDecomposer::processorVolPatchFieldDecomposer, fvPatchMapper, faPatchMapper, fvSurfaceMapper, faceMapper, pointMapper, cellMapper, faEdgeMapper, faFieldReconstructor::faPatchFieldReconstructor, fvFieldReconstructor::fvPatchFieldReconstructor, pointFieldReconstructor::pointPatchFieldReconstructor, faFieldDecomposer::patchFieldDecomposer, distributedUnallocatedDirectFvPatchFieldMapper, distributedUnallocatedDirectFieldMapper, pointFieldDecomposer::patchFieldDecomposer, fvFieldDecomposer::patchFieldDecomposer, directFvPatchFieldMapper, directPointPatchFieldMapper, and directFieldMapper.
Definition at line 83 of file FieldMapper.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and UList::null().
Referenced by Field< Foam::Vector2D >::autoMap(), and fvPatchField< Type >::autoMap().
|
inlinevirtual |
Reimplemented in faFieldDecomposer::processorEdgePatchFieldDecomposer, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, faFieldDecomposer::processorAreaPatchFieldDecomposer, faAreaMapper, pointPatchMapper, fvPatchMapper, faPatchMapper, fvSurfaceMapper, faceMapper, pointMapper, distributedWeightedFvPatchFieldMapper, cellMapper, faEdgeMapper, and singleCellFvMesh::agglomPatchFieldMapper.
Definition at line 92 of file FieldMapper.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List::null().
Referenced by Field< Foam::Vector2D >::autoMap(), and fvPatchField< Type >::autoMap().
|
inlinevirtual |
Reimplemented in faFieldDecomposer::processorEdgePatchFieldDecomposer, fvFieldDecomposer::processorSurfacePatchFieldDecomposer, faFieldDecomposer::processorAreaPatchFieldDecomposer, faAreaMapper, pointPatchMapper, fvPatchMapper, faPatchMapper, fvSurfaceMapper, faceMapper, distributedWeightedFvPatchFieldMapper, pointMapper, singleCellFvMesh::agglomPatchFieldMapper, cellMapper, and faEdgeMapper.
Definition at line 101 of file FieldMapper.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List::null().
Definition at line 114 of file FieldMapper.H.
References f(), and Foam::New().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.