OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

pointPatchField Class Template Reference

Inheritance diagram for pointPatchField:

Inheritance graph
[legend]
Collaboration diagram for pointPatchField:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Type>
class Foam::pointPatchField< Type >

Definition at line 87 of file pointPatchField.H.


Public Types

typedef pointPatch Patch

Public Member Functions

 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 pointPatchField< Type > &)
 Construct as copy.
virtual autoPtr< pointPatchField<
Type > > 
clone () const=0
 Construct and return a clone.
 pointPatchField (const pointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 Construct as copy setting internal field reference.
virtual autoPtr< pointPatchField<
Type > > 
clone (const DimensionedField< Type, pointMesh > &iF) const =0
 Construct and return a clone setting internal field reference.
virtual ~pointPatchField ()
const objectRegistry & db () const
 Return local objectRegistry.
label size () const
 Return size.
const pointPatch & patch () 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
 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 bool=false)
 Initialise evaluation of the patch field (do nothing).
virtual void evaluate ()
 Evaluate the patch field.
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 &)

Static Public Member Functions

static autoPtr< pointPatchField<
Type > > 
New (const word &, const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Return a pointer to a new patchField created on freestore given.
static autoPtr< pointPatchField<
Type > > 
New (const pointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 Return a pointer to a new patchField created on freestore from.
static autoPtr< pointPatchField<
Type > > 
New (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Return a pointer to a new patchField created on freestore.
template<class Type2>
static autoPtr< pointPatchField<
Type > > 
NewCalculatedType (const pointPatchField< Type2 > &)
 Return a pointer to a new CalculatedpointPatchField created on.
static const word & calculatedType ()
 Return the type of the calculated for of pointPatchField.

Friends

Ostream & operator (Ostream &, const pointPatchField< Type > &)

Member Typedef Documentation

typedef pointPatch Patch

Definition at line 106 of file pointPatchField.H.


Constructor & Destructor Documentation

pointPatchField ( const pointPatch &  ,
const DimensionedField< Type, pointMesh > &   
)

Construct from patch and internal field.

pointPatchField ( const pointPatchField< Type > &   ) 

Construct as copy.

pointPatchField ( const pointPatchField< Type > &  ,
const DimensionedField< Type, pointMesh > &   
)

Construct as copy setting internal field reference.

virtual ~pointPatchField (  )  [inline, virtual]


Member Function Documentation

TypeName ( "pointPatchField< Type >"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
pointPatchField< Type >  ,
pointPatch  ,
(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF)  ,
(p, iF)   
)

declareRunTimeSelectionTable ( autoPtr  ,
pointPatchField< Type >  ,
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< Type >  ,
dictionary  ,
(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const dictionary &dict)  ,
(p, iF, dict)   
)

static autoPtr<pointPatchField<Type> > New ( const word &  ,
const pointPatch &  ,
const DimensionedField< Type, pointMesh > &   
) [static]

Return a pointer to a new patchField created on freestore given.

patch and internal field (does not set the patch field values)

static autoPtr<pointPatchField<Type> > New ( const pointPatchField< Type > &  ,
const pointPatch &  ,
const DimensionedField< Type, pointMesh > &  ,
const pointPatchFieldMapper &   
) [static]

Return a pointer to a new patchField created on freestore from.

a given pointPatchField mapped onto a new patch

static autoPtr<pointPatchField<Type> > New ( const pointPatch &  ,
const DimensionedField< Type, pointMesh > &  ,
const dictionary &   
) [static]

Return a pointer to a new patchField created on freestore.

from dictionary

static autoPtr<pointPatchField<Type> > NewCalculatedType ( const pointPatchField< Type2 > &   )  [static]

Return a pointer to a new CalculatedpointPatchField created on.

freestore without setting patchField values

const objectRegistry& db (  )  const

Return local objectRegistry.

label size (  )  const [inline]

Return size.

Reimplemented in valuePointPatchField, and valuePointPatchField< Foam::Vectorector< scalar > >.

Definition at line 248 of file pointPatchField.H.

const pointPatch& patch (  )  const [inline]

Return patch.

Definition at line 254 of file pointPatchField.H.

const DimensionedField<Type, pointMesh>& dimensionedInternalField (  )  const [inline]

Return dimensioned internal field reference.

Definition at line 261 of file pointPatchField.H.

const Field<Type>& internalField (  )  const [inline]

Return internal field reference.

Definition at line 267 of file pointPatchField.H.

virtual bool coupled (  )  const [inline, virtual]

Return true if this patch field is coupled.

Reimplemented in coupledPointPatchField, and processorPointPatchField.

Definition at line 273 of file pointPatchField.H.

bool updated (  )  const [inline]

Return true if the boundary condition has already been updated.

Definition at line 279 of file pointPatchField.H.

tmp<Field<Type> > patchInternalField (  )  const

Return field created from appropriate internal field values.

tmp<Field<Type1> > patchInternalField ( const Field< Type1 > &  iF  )  const

Return field created from appropriate internal field values.

given internal field reference

void addToInternalField ( Field< Type1 > &  iF,
const Field< Type1 > &  pF 
) const

Given the internal field and a patch field,.

add the patch field to the internal field

void setInInternalField ( Field< Type1 > &  iF,
const Field< Type1 > &  pF 
) const

Given the internal field and a patch field,.

set the patch field in the internal field

static const word& calculatedType (  )  [static]

Return the type of the calculated for of pointPatchField.

virtual void autoMap ( const pointPatchFieldMapper &   )  [inline, virtual]

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

Reimplemented in defaultPointPatchField, mixedPointPatchField, valuePointPatchField, and valuePointPatchField< Foam::Vectorector< scalar > >.

Definition at line 327 of file pointPatchField.H.

virtual void rmap ( const pointPatchField< Type > &  ,
const labelList &   
) [inline, virtual]

virtual void updateCoeffs (  )  [inline, virtual]

virtual void initEvaluate ( const   bool = false  )  [inline, virtual]

Initialise evaluation of the patch field (do nothing).

Definition at line 353 of file pointPatchField.H.

virtual void operator= ( const pointPatchField< Type > &   )  [inline, virtual]

virtual void operator+= ( const pointPatchField< Type > &   )  [inline, virtual]

Definition at line 373 of file pointPatchField.H.

Referenced by pointPatchField< Foam::Vectorector< scalar > >::operator=().

Here is the caller graph for this function:

virtual void operator-= ( const pointPatchField< Type > &   )  [inline, virtual]

Definition at line 379 of file pointPatchField.H.

virtual void operator *= ( const pointPatchField< scalar > &   )  [inline, virtual]

Definition at line 385 of file pointPatchField.H.

virtual void operator/= ( const pointPatchField< scalar > &   )  [inline, virtual]

Definition at line 391 of file pointPatchField.H.

virtual void operator= ( const Field< Type > &   )  [inline, virtual]

virtual void operator+= ( const Field< Type > &   )  [inline, virtual]

Definition at line 397 of file pointPatchField.H.

virtual void operator-= ( const Field< Type > &   )  [inline, virtual]

Definition at line 398 of file pointPatchField.H.

virtual void operator *= ( const Field< scalar > &   )  [inline, virtual]

Definition at line 400 of file pointPatchField.H.

virtual void operator/= ( const Field< scalar > &   )  [inline, virtual]

Definition at line 401 of file pointPatchField.H.

virtual void operator= ( const Type &   )  [inline, virtual]

virtual void operator+= ( const Type &   )  [inline, virtual]

Definition at line 404 of file pointPatchField.H.

virtual void operator-= ( const Type &   )  [inline, virtual]

Definition at line 405 of file pointPatchField.H.

virtual void operator *= ( const   scalar  )  [inline, virtual]

Definition at line 406 of file pointPatchField.H.

virtual void operator/= ( const   scalar  )  [inline, virtual]

Definition at line 407 of file pointPatchField.H.

virtual void operator== ( const pointPatchField< Type > &   )  [inline, virtual]

virtual void operator== ( const Field< Type > &   )  [inline, virtual]

virtual void operator== ( const Type &   )  [inline, virtual]


Friends And Related Function Documentation

Ostream& operator ( Ostream &  ,
const pointPatchField< Type > &   
) [friend]


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd