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

mixedFvPatchField< Type > Class Template Reference

Foam::mixedFvPatchField. More...

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

List of all members.


Public Member Functions

 TypeName ("mixed")
 Runtime type information.
 mixedFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 mixedFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 mixedFvPatchField (const mixedFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping the given mixedFvPatchField onto a new patch.
 mixedFvPatchField (const mixedFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > > clone () const
 Construct and return a clone.
 mixedFvPatchField (const mixedFvPatchField< Type > &, const DimensionedField< Type, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< Type > > clone (const DimensionedField< Type, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
virtual bool fixesValue () const
 Return true if this patch field fixes a value.
virtual Field< Type > & refValue ()
virtual const Field< Type > & refValue () const
virtual Field< Type > & refGrad ()
virtual const Field< Type > & refGrad () const
virtual scalarField & valueFraction ()
virtual const scalarField & valueFraction () const
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchField< Type > &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< Field< Type > > snGrad () const
 Return gradient at boundary.
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Evaluate the patch field.
virtual tmp< Field< Type > > valueInternalCoeffs (const tmp< scalarField > &) const
 Return the matrix diagonal coefficients corresponding to the.
virtual tmp< Field< Type > > valueBoundaryCoeffs (const tmp< scalarField > &) const
 Return the matrix source coefficients corresponding to the.
virtual tmp< Field< Type > > gradientInternalCoeffs () const
 Return the matrix diagonal coefficients corresponding to the.
virtual tmp< Field< Type > > gradientBoundaryCoeffs () const
 Return the matrix source coefficients corresponding to the.
virtual void write (Ostream &) const
 Write.
virtual void operator= (const UList< Type > &)
 Assignment from UList operator. Takes linear time.
virtual void operator= (const fvPatchField< Type > &)
virtual void operator+= (const fvPatchField< Type > &)
virtual void operator-= (const fvPatchField< Type > &)
virtual void operator*= (const fvPatchField< scalar > &)
virtual void operator/= (const fvPatchField< scalar > &)
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 &)
 Assignment of all entries to the given value.
virtual void operator+= (const Type &)
virtual void operator-= (const Type &)
virtual void operator*= (const scalar)
virtual void operator/= (const scalar)

Detailed Description

template<class Type>
class Foam::mixedFvPatchField< Type >

Foam::mixedFvPatchField.

Source files

Definition at line 45 of file mixedFvPatchField.H.


Constructor & Destructor Documentation

mixedFvPatchField ( const fvPatch &  p,
const DimensionedField< Type, volMesh > &  iF 
) [inline]

Construct from patch and internal field.

Definition at line 29 of file mixedFvPatchField.C.

References p.

mixedFvPatchField ( const fvPatch &  p,
const DimensionedField< Type, volMesh > &  iF,
const dictionary &  dict 
) [inline]

Construct from patch, internal field and dictionary.

Definition at line 59 of file mixedFvPatchField.C.

mixedFvPatchField ( const mixedFvPatchField< Type > &  ptf,
const fvPatch &  p,
const DimensionedField< Type, volMesh > &  iF,
const fvPatchFieldMapper &  mapper 
) [inline]

Construct by mapping the given mixedFvPatchField onto a new patch.

Definition at line 43 of file mixedFvPatchField.C.

mixedFvPatchField ( const mixedFvPatchField< Type > &  ptf  )  [inline]

Construct as copy.

Definition at line 76 of file mixedFvPatchField.C.

mixedFvPatchField ( const mixedFvPatchField< Type > &  ptf,
const DimensionedField< Type, volMesh > &  iF 
) [inline]

Construct as copy setting internal field reference.

Definition at line 89 of file mixedFvPatchField.C.


Member Function Documentation

TypeName ( "mixed"   ) 

Runtime type information.

virtual tmp<fvPatchField<Type> > clone ( const DimensionedField< Type, volMesh > &  iF  )  const [inline, virtual]

virtual bool fixesValue (  )  const [inline, virtual]

Return true if this patch field fixes a value.

Needed to check if a level has to be specified while solving Poissons equations.

Reimplemented from fvPatchField< Type >.

Definition at line 137 of file mixedFvPatchField.H.

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

Definition at line 145 of file mixedFvPatchField.H.

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

Definition at line 150 of file mixedFvPatchField.H.

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

Definition at line 155 of file mixedFvPatchField.H.

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

Definition at line 160 of file mixedFvPatchField.H.

virtual scalarField& valueFraction (  )  [inline, virtual]

Definition at line 165 of file mixedFvPatchField.H.

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

Definition at line 170 of file mixedFvPatchField.H.

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

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

Reimplemented from fvPatchField< Type >.

Definition at line 105 of file mixedFvPatchField.C.

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

Reverse map the given fvPatchField onto this fvPatchField.

Reimplemented from fvPatchField< Type >.

Definition at line 118 of file mixedFvPatchField.C.

tmp< Field< Type > > snGrad (  )  const [inline, virtual]

Return gradient at boundary.

Reimplemented from fvPatchField< Type >.

Definition at line 158 of file mixedFvPatchField.C.

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

Evaluate the patch field.

Reimplemented from fvPatchField< Type >.

Definition at line 135 of file mixedFvPatchField.C.

tmp< Field< Type > > valueInternalCoeffs ( const tmp< scalarField > &   )  const [inline, virtual]

Return the matrix diagonal coefficients corresponding to the.

evaluation of the value of this patchField with given weights

Definition at line 170 of file mixedFvPatchField.C.

tmp< Field< Type > > valueBoundaryCoeffs ( const tmp< scalarField > &   )  const [inline, virtual]

Return the matrix source coefficients corresponding to the.

evaluation of the value of this patchField with given weights

Definition at line 181 of file mixedFvPatchField.C.

tmp< Field< Type > > gradientInternalCoeffs (  )  const [inline, virtual]

Return the matrix diagonal coefficients corresponding to the.

evaluation of the gradient of this patchField

Reimplemented from fvPatchField< Type >.

Definition at line 192 of file mixedFvPatchField.C.

References fvPatch::deltaCoeffs(), and fvPatchField< Type >::patch().

Here is the call graph for this function:

tmp< Field< Type > > gradientBoundaryCoeffs (  )  const [inline, virtual]

Return the matrix source coefficients corresponding to the.

evaluation of the gradient of this patchField

Reimplemented from fvPatchField< Type >.

Definition at line 199 of file mixedFvPatchField.C.

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

Assignment from UList operator. Takes linear time.

Reimplemented from fvPatchField< Type >.

Definition at line 240 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Reimplemented in inletOutletFvPatchField< Type >, and inletOutletFvPatchField< Type >.

Definition at line 242 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 243 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 244 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 245 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 246 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 248 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 249 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 251 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 252 of file mixedFvPatchField.H.

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

Assignment of all entries to the given value.

Reimplemented from fvPatchField< Type >.

Definition at line 254 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 255 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 256 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 257 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 258 of file mixedFvPatchField.H.


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