FreeFOAM The Cross-Platform CFD Toolkit
genericPointPatchField< Type > Class Template Reference

Foam::genericPointPatchField. More...

#include <genericPatchFields/genericPointPatchField.H>


Detailed Description

+ Inheritance diagram for genericPointPatchField< Type >:
+ Collaboration diagram for genericPointPatchField< Type >:

List of all members.

Public Member Functions

 TypeName ("generic")
 Runtime type information.
 genericPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Construct from patch and internal field.
 genericPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 genericPointPatchField (const genericPointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping given patchField<Type> onto a new patch.
virtual autoPtr
< pointPatchField< Type > > 
clone () const
 Construct and return a clone.
 genericPointPatchField (const genericPointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 Construct as copy setting internal field reference.
virtual autoPtr
< pointPatchField< Type > > 
clone (const DimensionedField< Type, pointMesh > &iF) const
 Construct and return a clone setting internal field reference.
virtual void autoMap (const pointPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const pointPatchField< Type > &, const labelList &)
 Reverse map the given pointPatchField onto this pointPatchField.
virtual void write (Ostream &) const
 Write.
- Public Member Functions inherited from calculatedPointPatchField< Type >
 TypeName ("calculated")
 Runtime type information.
 calculatedPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Construct from patch and internal field.
 calculatedPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 calculatedPointPatchField (const calculatedPointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping given patchField<Type> onto a new patch.
 calculatedPointPatchField (const calculatedPointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 Construct as copy setting internal field reference.
- Public Member Functions inherited from pointPatchField< Type >
 TypeName ("pointPatchField")
 Runtime type information.
 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 > &)
 Construct from patch and internal field.
 pointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 pointPatchField (const pointPatchField< Type > &)
 Construct as copy.
 pointPatchField (const pointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 Construct as copy setting internal field reference.
virtual ~pointPatchField ()
const objectRegistrydb () const
 Return local objectRegistry.
label size () const
 Return size.
const pointPatchpatch () const
 Return patch.
const DimensionedField< Type,
pointMesh > & 
dimensionedInternalField () const
 Return dimensioned internal field reference.
const Field< Type > & internalField () const
 Return internal field reference.
virtual bool coupled () const
 Return true if this patch field is coupled.
bool updated () const
 Return true if the boundary condition has already been updated.
tmp< Field< Type > > patchInternalField () const
 Return field created from appropriate internal field values.
template<class Type1 >
tmp< Field< Type1 > > patchInternalField (const Field< Type1 > &iF) const
 Return field created from appropriate internal field values.
template<class Type1 >
void addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 Given the internal field and a patch field,.
template<class Type1 >
void setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &meshPoints) const
 Given the internal field and a patch field,.
template<class Type1 >
void setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 Given the internal field and a patch field,.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void initEvaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Initialise evaluation of the patch field (do nothing)
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Evaluate the patch field.
virtual void operator= (const pointPatchField< Type > &)
virtual void operator+= (const pointPatchField< Type > &)
virtual void operator-= (const pointPatchField< Type > &)
virtual void operator*= (const pointPatchField< scalar > &)
virtual void operator/= (const pointPatchField< scalar > &)
virtual void operator= (const Field< Type > &)
virtual void operator+= (const Field< Type > &)
virtual void operator-= (const Field< Type > &)
virtual void operator*= (const Field< scalar > &)
virtual void operator/= (const Field< scalar > &)
virtual void operator= (const Type &)
virtual void operator+= (const Type &)
virtual void operator-= (const Type &)
virtual void operator*= (const scalar)
virtual void operator/= (const scalar)
virtual void operator== (const pointPatchField< Type > &)
virtual void operator== (const Field< Type > &)
virtual void operator== (const Type &)

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 38 of file genericPointPatchField.C.

References notImplemented.

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

Construct by mapping given patchField<Type> onto a new patch.

Definition at line 349 of file genericPointPatchField.C.

References HashTable< T, Key, Hash >::begin(), and HashTable< T, Key, Hash >::end().

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

Construct as copy setting internal field reference.

Definition at line 427 of file genericPointPatchField.C.


Member Function Documentation

TypeName ( "generic"  )

Runtime type information.

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

Construct and return a clone.

Reimplemented from calculatedPointPatchField< Type >.

Definition at line 100 of file genericPointPatchField.H.

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

Construct and return a clone setting internal field reference.

Reimplemented from calculatedPointPatchField< Type >.

Definition at line 120 of file genericPointPatchField.H.

void autoMap ( const pointPatchFieldMapper m)
virtual

Map (and resize as needed) from self given a mapping object.

Reimplemented from pointPatchField< Type >.

Definition at line 447 of file genericPointPatchField.C.

References HashTable< T, Key, Hash >::begin().

void rmap ( const pointPatchField< Type > &  ptf,
const labelList addr 
)
virtual
void write ( Ostream os) const
virtual

Write.

Reimplemented from pointPatchField< Type >.

Definition at line 600 of file genericPointPatchField.C.

References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().


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