FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

globalPointPatchField< Type > Class Template Reference

Foam::globalPointPatchField. More...

#include <OpenFOAM/globalPointPatchField.H>


Detailed Description

template<class Type>
class Foam::globalPointPatchField< Type >

Foam::globalPointPatchField.

Source files

Definition at line 51 of file globalPointPatchField.H.

Inheritance diagram for globalPointPatchField< Type >:
Collaboration diagram for globalPointPatchField< Type >:

List of all members.

Public Member Functions

 TypeName ("global")
 Runtime type information.
 globalPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Construct from patch and internal field.
 globalPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 globalPointPatchField (const globalPointPatchField< 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.
 globalPointPatchField (const globalPointPatchField< 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.
 ~globalPointPatchField ()
virtual void  evaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Evaluate the patch field.
virtual void  swapAdd (Field< Type > &) const
 Complete swap of patch point values and add to local values.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 38 of file globalPointPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 50 of file globalPointPatchField.C.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.

globalPointPatchField ( const globalPointPatchField< 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 80 of file globalPointPatchField.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, and FatalErrorIn.

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

Construct as copy setting internal field reference.

Definition at line 112 of file globalPointPatchField.C.

Definition at line 125 of file globalPointPatchField.C.


Member Function Documentation

TypeName ( "global"    )

Runtime type information.

virtual autoPtr<pointPatchField<Type> > clone (  ) const [inline, virtual]

Construct and return a clone.

Implements coupledPointPatchField< Type >.

Definition at line 94 of file globalPointPatchField.H.

virtual autoPtr<pointPatchField<Type> > clone ( const DimensionedField< Type, pointMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Implements coupledPointPatchField< Type >.

Definition at line 114 of file globalPointPatchField.H.

virtual void evaluate ( const Pstream::commsTypes   commsType = Pstream::blocking  ) [inline, virtual]

Evaluate the patch field.

Implements coupledPointPatchField< Type >.

Definition at line 141 of file globalPointPatchField.H.

void swapAdd ( Field< Type > &   pField  ) const [virtual]

Complete swap of patch point values and add to local values.

Implements coupledPointPatchField< Type >.

Definition at line 132 of file globalPointPatchField.C.

References Foam::combineReduce(), and forAll.


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