FieldMapper with weighted mapping from (optionally remote) quantities. More...
Public Member Functions | |
distributedWeightedFvPatchFieldMapper (const label singlePatchProc, const mapDistributeBase *distMapPtr, const labelListList &addressing, const scalarListList &weights) | |
Construct given addressing. More... | |
virtual | ~distributedWeightedFvPatchFieldMapper () |
Destructor. More... | |
virtual bool | hasUnmapped () const |
Are there unmapped values? I.e. do all size() elements get. More... | |
virtual const labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
virtual void | operator() (Field< scalar > &f, const Field< scalar > &mapF) const |
virtual void | operator() (Field< vector > &f, const Field< vector > &mapF) const |
virtual void | operator() (Field< sphericalTensor > &f, const Field< sphericalTensor > &mapF) const |
virtual void | operator() (Field< symmTensor > &f, const Field< symmTensor > &mapF) const |
virtual void | operator() (Field< tensor > &f, const Field< tensor > &mapF) const |
template<class Type > | |
void | operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) const |
virtual tmp< Field< scalar > > | operator() (const Field< scalar > &mapF) const |
virtual tmp< Field< vector > > | operator() (const Field< vector > &mapF) const |
virtual tmp< Field< sphericalTensor > > | operator() (const Field< sphericalTensor > &mapF) const |
virtual tmp< Field< symmTensor > > | operator() (const Field< symmTensor > &mapF) const |
virtual tmp< Field< tensor > > | operator() (const Field< tensor > &mapF) const |
template<class Type > | |
tmp< Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | map (const Field< Type > &mapF) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
Public Member Functions inherited from fvPatchFieldMapper | |
fvPatchFieldMapper () | |
Null constructor. More... | |
Public Member Functions inherited from fieldMapper | |
fieldMapper () | |
Null constructor. More... | |
virtual | ~fieldMapper () |
Destructor. More... | |
template<class Type > | |
void | operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) const |
template<class Type > | |
tmp< Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
FieldMapper with weighted mapping from (optionally remote) quantities.
Definition at line 46 of file distributedWeightedFvPatchFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 90 of file distributedWeightedFvPatchFieldMapper.H.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and forAll.
|
inlinevirtual |
Destructor.
Definition at line 127 of file distributedWeightedFvPatchFieldMapper.H.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements fieldMapper.
Definition at line 133 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::addressing(), f(), distributedWeightedFvPatchFieldMapper::operator()(), and distributedWeightedFvPatchFieldMapper::weights().
|
virtual |
Definition at line 31 of file distributedWeightedFvPatchFieldMapper.C.
Referenced by distributedWeightedFvPatchFieldMapper::hasUnmapped().
|
virtual |
Definition at line 38 of file distributedWeightedFvPatchFieldMapper.C.
Referenced by distributedWeightedFvPatchFieldMapper::hasUnmapped().
Implements fieldMapper.
Definition at line 97 of file distributedWeightedFvPatchFieldMapper.C.
Referenced by distributedWeightedFvPatchFieldMapper::hasUnmapped().
Implements fieldMapper.
Definition at line 107 of file distributedWeightedFvPatchFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 117 of file distributedWeightedFvPatchFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 127 of file distributedWeightedFvPatchFieldMapper.C.
Implements fieldMapper.
Definition at line 137 of file distributedWeightedFvPatchFieldMapper.C.
Definition at line 76 of file distributedWeightedFvPatchFieldMapperTemplates.C.
|
virtual |
Implements fieldMapper.
Definition at line 48 of file distributedWeightedFvPatchFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 58 of file distributedWeightedFvPatchFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 68 of file distributedWeightedFvPatchFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 78 of file distributedWeightedFvPatchFieldMapper.C.
|
virtual |
Implements fieldMapper.
Definition at line 88 of file distributedWeightedFvPatchFieldMapper.C.
Foam::tmp<Foam::Field<Type> > map | ( | const Field< Type > & | mapF | ) | const |
Definition at line 64 of file distributedWeightedFvPatchFieldMapperTemplates.C.
References tmp< T >::ref(), and tf.
Foam::tmp<Foam::Field<Type> > operator() | ( | const tmp< Field< Type >> & | tmapF | ) | const |
Definition at line 89 of file distributedWeightedFvPatchFieldMapperTemplates.C.
References tf.