OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

mixedPointPatchField< Type > Class Template Reference

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

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.

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 47 of file mixedPointPatchField.H.


Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 55 of file mixedPointPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 68 of file mixedPointPatchField.C.

mixedPointPatchField ( const mixedPointPatchField< Type > &  ptf,
const pointPatch &  p,
const DimensionedField< Type, pointMesh > &  iF,
const pointPatchFieldMapper &  mapper 
) [inline]

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

Definition at line 82 of file mixedPointPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 104 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 98 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 118 of file mixedPointPatchField.H.

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

Definition at line 137 of file mixedPointPatchField.H.

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

Definition at line 142 of file mixedPointPatchField.H.

virtual scalarField& valueFraction (  )  [inline, virtual]

Definition at line 147 of file mixedPointPatchField.H.

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

Definition at line 152 of file mixedPointPatchField.H.

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

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

Reimplemented from valuePointPatchField< Type >.

Definition at line 120 of file mixedPointPatchField.C.

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

Reverse map the given PointPatchField onto.

this PointPatchField

Reimplemented from valuePointPatchField< Type >.

Definition at line 133 of file mixedPointPatchField.C.

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

Update the patch field.

Reimplemented from valuePointPatchField< Type >.

Definition at line 149 of file mixedPointPatchField.C.

void write ( Ostream &  os  )  const [inline, virtual]

Write.

Reimplemented from valuePointPatchField< Type >.

Definition at line 166 of file mixedPointPatchField.C.


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