Public Member Functions | List of all members
genericPointPatchField< Type > Class Template Reference

A generic version of calculatedPointPatchField, useful as a fallback for handling unknown patch types. More...

Inheritance diagram for genericPointPatchField< Type >:
Inheritance graph
[legend]
Collaboration diagram for genericPointPatchField< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("generic")
 
 genericPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
 genericPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 
 genericPointPatchField (const genericPointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
virtual autoPtr< pointPatchField< Type > > clone () const
 
 genericPointPatchField (const genericPointPatchField< Type > &)=default
 
 genericPointPatchField (const genericPointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 
virtual autoPtr< pointPatchField< Type > > clone (const DimensionedField< Type, pointMesh > &iF) const
 
virtual void write (Ostream &) const
 
virtual void autoMap (const pointPatchFieldMapper &)
 
virtual void rmap (const pointPatchField< Type > &, const labelList &)
 
- Public Member Functions inherited from calculatedPointPatchField< Type >
 TypeName ("calculated")
 
 calculatedPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
 calculatedPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 
 calculatedPointPatchField (const calculatedPointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
 calculatedPointPatchField (const calculatedPointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 
- Public Member Functions inherited from pointPatchField< Type >
 TypeName ("pointPatchField")
 
 declareRunTimeSelectionTable (autoPtr, pointPatchField, pointPatch,(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF),(p, iF))
 
 declareRunTimeSelectionTable (autoPtr, pointPatchField, patchMapper,(const pointPatchField< Type > &ptf, const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const pointPatchFieldMapper &m),(dynamic_cast< const pointPatchFieldType & >(ptf), p, iF, m))
 
 declareRunTimeSelectionTable (autoPtr, pointPatchField, dictionary,(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const dictionary &dict),(p, iF, dict))
 
 pointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
 pointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 
 pointPatchField (const pointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
 pointPatchField (const pointPatchField< Type > &)
 
 pointPatchField (const pointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 
virtual autoPtr< pointPatchField< Type > > clone () const=0
 
Foam::autoPtr< Foam::pointPatchField< Type > > NewCalculatedType (const pointPatchField< Type2 > &pf)
 
virtual ~pointPatchField ()=default
 
const objectRegistrydb () const
 
label size () const
 
const pointPatchpatch () const
 
const DimensionedField< Type, pointMesh > & internalField () const
 
const Field< Type > & primitiveField () const
 
const wordpatchType () const
 
wordpatchType ()
 
virtual bool fixesValue () const
 
virtual bool coupled () const
 
bool updated () const
 
tmp< Field< Type > > patchInternalField () const
 
tmp< Field< Type1 > > patchInternalField (const Field< Type1 > &iF) const
 
tmp< Field< Type1 > > patchInternalField (const Field< Type1 > &iF, const labelList &meshPoints) const
 
Foam::tmp< Foam::Field< Type > > patchInternalField () const
 
Foam::tmp< Foam::Field< Type1 > > patchInternalField (const Field< Type1 > &iF, const labelList &meshPoints) const
 
Foam::tmp< Foam::Field< Type1 > > patchInternalField (const Field< Type1 > &iF) const
 
void addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 
void addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &points) const
 
void setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &meshPoints) const
 
void setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 
virtual const wordconstraintType () const
 
virtual void updateCoeffs ()
 
virtual void initEvaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
 
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
 
virtual void operator= (const pointPatchField< Type > &)
 
virtual void operator= (const Field< Type > &)
 
virtual void operator= (const Type &)
 
virtual void operator+= (const pointPatchField< Type > &)
 
virtual void operator+= (const Field< Type > &)
 
virtual void operator+= (const Type &)
 
virtual void operator-= (const pointPatchField< Type > &)
 
virtual void operator-= (const Field< Type > &)
 
virtual void operator-= (const Type &)
 
virtual void operator*= (const pointPatchField< scalar > &)
 
virtual void operator*= (const Field< scalar > &)
 
virtual void operator*= (const scalar)
 
virtual void operator/= (const pointPatchField< scalar > &)
 
virtual void operator/= (const Field< scalar > &)
 
virtual void operator/= (const scalar)
 
virtual void operator== (const pointPatchField< Type > &)
 
virtual void operator== (const Field< Type > &)
 
virtual void operator== (const Type &)
 
void negate ()
 
- Public Member Functions inherited from genericPatchFieldBase
 genericPatchFieldBase ()=default
 
 genericPatchFieldBase (const genericPatchFieldBase &)=default
 
 genericPatchFieldBase (genericPatchFieldBase &&)=default
 
 genericPatchFieldBase (const dictionary &dict)
 
const wordactualType () const noexcept
 

Additional Inherited Members

- Public Types inherited from pointPatchField< Type >
typedef Type value_type
 
typedef pointPatch Patch
 
typedef calculatedPointPatchField< Type > Calculated
 
- Static Public Member Functions inherited from pointPatchField< Type >
static autoPtr< pointPatchField< Type > > New (const word &, const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
static autoPtr< pointPatchField< Type > > New (const word &, const word &actualPatchType, const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
static autoPtr< pointPatchField< Type > > New (const pointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
static autoPtr< pointPatchField< Type > > New (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 
static autoPtr< pointPatchField< Type > > NewCalculatedType (const pointPatchField< Type2 > &)
 
static const wordcalculatedType ()
 
- Static Public Attributes inherited from pointPatchField< Type >
static int disallowGenericPointPatchField
 
- Protected Member Functions inherited from genericPatchFieldBase
void genericFatalSolveError (const word &patchName, const IOobject &io) const
 
void reportMissingEntry (const word &entryName, const word &patchName, const IOobject &io) const
 
void processGeneric (const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
 
bool processEntry (const entry &dEntry, const label patchSize, const word &patchName, const IOobject &io)
 
void putEntry (const entry &e, Ostream &os) const
 
void writeGeneric (Ostream &os, const bool separateValue) const
 
template<class MapperType >
void mapGeneric (const genericPatchFieldBase &rhs, const MapperType &mapper)
 
template<class MapperType >
void autoMapGeneric (const MapperType &mapper)
 
void rmapGeneric (const genericPatchFieldBase &rhs, const labelList &addr)
 
 genericPatchFieldBase (const Foam::zero, const genericPatchFieldBase &)
 
- Protected Attributes inherited from genericPatchFieldBase
word actualTypeName_
 
dictionary dict_
 
HashPtrTable< scalarFieldscalarFields_
 
HashPtrTable< vectorFieldvectorFields_
 
HashPtrTable< sphericalTensorFieldsphTensorFields_
 
HashPtrTable< symmTensorFieldsymmTensorFields_
 
HashPtrTable< tensorFieldtensorFields_
 

Detailed Description

template<class Type>
class Foam::genericPointPatchField< Type >

A generic version of calculatedPointPatchField, useful as a fallback for handling unknown patch types.

Source files

Definition at line 50 of file genericPointPatchField.H.

Constructor & Destructor Documentation

◆ genericPointPatchField() [1/5]

genericPointPatchField ( const pointPatch p,
const DimensionedField< Type, pointMesh > &  iF 
)

Definition at line 29 of file genericPointPatchField.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::foamVersion::patch.

Here is the call graph for this function:

◆ genericPointPatchField() [2/5]

genericPointPatchField ( const pointPatch p,
const DimensionedField< Type, pointMesh > &  iF,
const dictionary dict 
)

Definition at line 46 of file genericPointPatchField.C.

References Foam::foamVersion::patch.

◆ genericPointPatchField() [3/5]

genericPointPatchField ( const genericPointPatchField< Type > &  rhs,
const pointPatch p,
const DimensionedField< Type, pointMesh > &  iF,
const pointPatchFieldMapper mapper 
)

Definition at line 66 of file genericPointPatchField.C.

◆ genericPointPatchField() [4/5]

genericPointPatchField ( const genericPointPatchField< Type > &  )
default

◆ genericPointPatchField() [5/5]

genericPointPatchField ( const genericPointPatchField< Type > &  rhs,
const DimensionedField< Type, pointMesh > &  iF 
)

Definition at line 82 of file genericPointPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "generic"  )

◆ clone() [1/2]

virtual autoPtr<pointPatchField<Type> > clone ( ) const
inlinevirtual

Reimplemented from calculatedPointPatchField< Type >.

Definition at line 92 of file genericPointPatchField.H.

◆ clone() [2/2]

virtual autoPtr<pointPatchField<Type> > clone ( const DimensionedField< Type, pointMesh > &  iF) const
inlinevirtual

Reimplemented from calculatedPointPatchField< Type >.

Definition at line 115 of file genericPointPatchField.H.

◆ write()

void write ( Ostream os) const
virtual

Reimplemented from pointPatchField< Type >.

Definition at line 95 of file genericPointPatchField.C.

References os().

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const pointPatchFieldMapper m)
virtual

Reimplemented from pointPatchField< Type >.

Definition at line 104 of file genericPointPatchField.C.

◆ rmap()

void rmap ( const pointPatchField< Type > &  rhs,
const labelList addr 
)
virtual

Reimplemented from pointPatchField< Type >.

Definition at line 114 of file genericPointPatchField.C.


The documentation for this class was generated from the following files: