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

mixedFvPatchField< Type > Class Template Reference

Foam::mixedFvPatchField. More...

#include <finiteVolume/mixedFvPatchField.H>


Detailed Description

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

Foam::mixedFvPatchField.

Source files

Definition at line 50 of file mixedFvPatchField.H.

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)

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 37 of file mixedFvPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 67 of file mixedFvPatchField.C.

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

Construct by mapping the given mixedFvPatchField onto a new patch.

Definition at line 51 of file mixedFvPatchField.C.

mixedFvPatchField ( const mixedFvPatchField< Type > &   ptf  )

Construct as copy.

Definition at line 84 of file mixedFvPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 97 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 140 of file mixedFvPatchField.H.

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

Definition at line 153 of file mixedFvPatchField.H.

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

Definition at line 158 of file mixedFvPatchField.H.

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

Definition at line 163 of file mixedFvPatchField.H.

virtual scalarField& valueFraction (  ) [inline, virtual]

Definition at line 168 of file mixedFvPatchField.H.

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

Definition at line 173 of file mixedFvPatchField.H.

void autoMap ( const fvPatchFieldMapper &   m  ) [virtual]

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

Reimplemented from fvPatchField< Type >.

Definition at line 113 of file mixedFvPatchField.C.

References fvPatchField< Type >::autoMap().

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

Reverse map the given fvPatchField onto this fvPatchField.

Reimplemented from fvPatchField< Type >.

Definition at line 126 of file mixedFvPatchField.C.

References mixedFvPatchField< Type >::rmap(), and fvPatchField< Type >::rmap().

Referenced by mixedFvPatchField< Type >::rmap().

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

Return gradient at boundary.

Reimplemented from fvPatchField< Type >.

Definition at line 166 of file mixedFvPatchField.C.

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

Evaluate the patch field.

Reimplemented from fvPatchField< Type >.

Definition at line 143 of file mixedFvPatchField.C.

References fvPatchField< Type >::evaluate().

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

Return the matrix diagonal coefficients corresponding to the.

evaluation of the value of this patchField with given weights

Reimplemented from fvPatchField< Type >.

Definition at line 178 of file mixedFvPatchField.C.

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

Return the matrix source coefficients corresponding to the.

evaluation of the value of this patchField with given weights

Reimplemented from fvPatchField< Type >.

Definition at line 189 of file mixedFvPatchField.C.

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

Return the matrix diagonal coefficients corresponding to the.

evaluation of the gradient of this patchField

Reimplemented from fvPatchField< Type >.

Definition at line 200 of file mixedFvPatchField.C.

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

Return the matrix source coefficients corresponding to the.

evaluation of the gradient of this patchField

Reimplemented from fvPatchField< Type >.

Definition at line 207 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 235 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Reimplemented in inletOutletFvPatchField< Type >.

Definition at line 237 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 238 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 239 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 240 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 241 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 243 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 244 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 246 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 247 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 249 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 250 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 251 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 252 of file mixedFvPatchField.H.

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

Reimplemented from fvPatchField< Type >.

Definition at line 253 of file mixedFvPatchField.H.


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