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

mixedPointPatchField< Type > Class Template Reference

A mixed FixedValue / ZeroGradient boundary condition for pointField. More...

#include <OpenFOAM/mixedPointPatchField.H>


Detailed Description

template<class Type>
class Foam::mixedPointPatchField< Type >

A mixed FixedValue / ZeroGradient boundary condition for pointField.

I am still not sure how to do the FixedValue-fixedGradient combination.

Source files

Definition at line 52 of file mixedPointPatchField.H.

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

List of all members.

Public Member Functions

 TypeName ("mixed")
 Runtime type information.
 mixedPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Construct from patch and internal field.
 mixedPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 mixedPointPatchField (const mixedPointPatchField< 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.
 mixedPointPatchField (const mixedPointPatchField< 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 Field< Type > &  refValue ()
virtual const Field< Type > &  refValue () const
virtual scalarField &  valueFraction ()
virtual const scalarField &  valueFraction () const
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.
virtual void  evaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Update the patch field.
virtual void  write (Ostream &) const
 Write.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 63 of file mixedPointPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 76 of file mixedPointPatchField.C.

mixedPointPatchField ( const mixedPointPatchField< 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 90 of file mixedPointPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 112 of file mixedPointPatchField.C.


Member Function Documentation

TypeName ( "mixed"    )

Runtime type information.

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

Construct and return a clone.

Reimplemented from valuePointPatchField< Type >.

Definition at line 103 of file mixedPointPatchField.H.

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

Construct and return a clone setting internal field reference.

Reimplemented from valuePointPatchField< Type >.

Definition at line 123 of file mixedPointPatchField.H.

virtual Field<Type>& refValue (  ) [inline, virtual]

Definition at line 142 of file mixedPointPatchField.H.

virtual const Field<Type>& refValue (  ) const [inline, virtual]

Definition at line 147 of file mixedPointPatchField.H.

virtual scalarField& valueFraction (  ) [inline, virtual]

Definition at line 152 of file mixedPointPatchField.H.

virtual const scalarField& valueFraction (  ) const [inline, virtual]

Definition at line 157 of file mixedPointPatchField.H.

void autoMap ( const pointPatchFieldMapper &   m  ) [virtual]

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

Reimplemented from valuePointPatchField< Type >.

Definition at line 128 of file mixedPointPatchField.C.

References Field< Type >::autoMap().

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

Reverse map the given PointPatchField onto.

this PointPatchField

Reimplemented from valuePointPatchField< Type >.

Definition at line 141 of file mixedPointPatchField.C.

References Field< Type >::rmap().

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

Update the patch field.

Reimplemented from valuePointPatchField< Type >.

Definition at line 157 of file mixedPointPatchField.C.

void write ( Ostream &   os  ) const [virtual]

Write.

Reimplemented from valuePointPatchField< Type >.

Definition at line 174 of file mixedPointPatchField.C.

References pointPatchField< Type >::write().


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