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

Foam::processorPointPatchField. More...

#include <OpenFOAM/processorPointPatchField.H>


Detailed Description

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

List of all members.

Public Member Functions

 TypeName (processorPointPatch::typeName_())
 Runtime type information.
 processorPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Construct from patch and internal field.
 processorPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 processorPointPatchField (const processorPointPatchField< 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.
 processorPointPatchField (const processorPointPatchField< 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.
 ~processorPointPatchField ()
virtual bool coupled () const
 Return true if running parallel.
virtual bool doTransform () const
 Does the patch field perform the transfromation.
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Evaluate the patch field.
virtual void initSwapAdd (Field< Type > &) const
 Initialise swap of patch point values.
virtual void swapAdd (Field< Type > &) const
 Complete swap of patch point values and add to local values.
- Public Member Functions inherited from coupledPointPatchField< Type >
 TypeName (coupledPointPatch::typeName_())
 Runtime type information.
 coupledPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Construct from patch and internal field.
 coupledPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &dict)
 Construct from patch, internal field and dictionary.
 coupledPointPatchField (const coupledPointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping given patchField<Type> onto a new patch.
 coupledPointPatchField (const coupledPointPatchField< 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.
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 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 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 write (Ostream &) const
 Write.
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

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

Construct from patch and internal field.

Definition at line 39 of file processorPointPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 51 of file processorPointPatchField.C.

processorPointPatchField ( const processorPointPatchField< 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 64 of file processorPointPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 78 of file processorPointPatchField.C.

Definition at line 91 of file processorPointPatchField.C.


Member Function Documentation

TypeName ( processorPointPatch::  typeName_())

Runtime type information.

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

Construct and return a clone.

Implements coupledPointPatchField< Type >.

Definition at line 94 of file processorPointPatchField.H.

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

Construct and return a clone setting internal field reference.

Implements coupledPointPatchField< Type >.

Definition at line 114 of file processorPointPatchField.H.

virtual bool coupled ( ) const
inlinevirtual

Return true if running parallel.

Reimplemented from coupledPointPatchField< Type >.

Definition at line 139 of file processorPointPatchField.H.

References Pstream::parRun().

virtual bool doTransform ( ) const
inlinevirtual

Does the patch field perform the transfromation.

Definition at line 152 of file processorPointPatchField.H.

References coupledPolyPatch::parallel(), and processorPointPatch::procPolyPatch().

virtual void evaluate ( const Pstream::commsTypes  commsType = Pstream::blocking)
inlinevirtual

Evaluate the patch field.

Implements coupledPointPatchField< Type >.

Definition at line 166 of file processorPointPatchField.H.

void initSwapAdd ( Field< Type > &  pField) const
virtual

Initialise swap of patch point values.

Reimplemented from coupledPointPatchField< Type >.

Definition at line 98 of file processorPointPatchField.C.

References UList< Type >::begin(), PstreamBase::blocking, UList< Type >::byteSize(), Pstream::parRun(), and OPstream::write().


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