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

fixedGradientFvPatchField< Type > Class Template Reference

Foam::fixedGradientFvPatchField. More...

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

List of all members.


Public Member Functions

 TypeName ("fixedGradient")
 Runtime type information.
 fixedGradientFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 fixedGradientFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 fixedGradientFvPatchField (const fixedGradientFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping the given fixedGradientFvPatchField.
 fixedGradientFvPatchField (const fixedGradientFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > > clone () const
 Construct and return a clone.
 fixedGradientFvPatchField (const fixedGradientFvPatchField< 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 Field< Type > & gradient ()
 Return gradient at boundary.
virtual const Field< Type > & gradient () 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.

Detailed Description

template<class Type>
class Foam::fixedGradientFvPatchField< Type >

Foam::fixedGradientFvPatchField.

Source files

Definition at line 45 of file fixedGradientFvPatchField.H.


Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 30 of file fixedGradientFvPatchField.C.

References p.

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

Construct from patch, internal field and dictionary.

Definition at line 56 of file fixedGradientFvPatchField.C.

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

Construct by mapping the given fixedGradientFvPatchField.

onto a new patch

Definition at line 42 of file fixedGradientFvPatchField.C.

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

Construct as copy.

Definition at line 71 of file fixedGradientFvPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 82 of file fixedGradientFvPatchField.C.


Member Function Documentation

TypeName ( "fixedGradient"   ) 

Runtime type information.

virtual tmp<fvPatchField<Type> > clone (  )  const [inline, virtual]

Construct and return a clone.

Reimplemented from fvPatchField< Type >.

Definition at line 96 of file fixedGradientFvPatchField.H.

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

Construct and return a clone setting internal field reference.

Reimplemented from fvPatchField< Type >.

Definition at line 113 of file fixedGradientFvPatchField.H.

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

Return gradient at boundary.

Definition at line 129 of file fixedGradientFvPatchField.H.

Referenced by fixedGradientFvPatchField< Type >::gradientInternalCoeffs(), and fixedGradientFvPatchField< Type >::write().

Here is the caller graph for this function:

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

Definition at line 134 of file fixedGradientFvPatchField.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 96 of file fixedGradientFvPatchField.C.

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

Here is the caller graph for this function:

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 107 of file fixedGradientFvPatchField.C.

References fixedGradientFvPatchField< Type >::autoMap(), and Field< Type >::autoMap().

Here is the call graph for this function:

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

Return gradient at boundary.

Reimplemented from fvPatchField< Type >.

Definition at line 159 of file fixedGradientFvPatchField.H.

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

Evaluate the patch field.

Reimplemented from fvPatchField< Type >.

Definition at line 122 of file fixedGradientFvPatchField.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 140 of file fixedGradientFvPatchField.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 150 of file fixedGradientFvPatchField.C.

References List< Type >::size().

Here is the call graph for this function:

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 160 of file fixedGradientFvPatchField.C.

References fvPatch::deltaCoeffs(), fixedGradientFvPatchField< Type >::gradient(), 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 171 of file fixedGradientFvPatchField.C.

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

Write.

Reimplemented from fvPatchField< Type >.

Definition at line 178 of file fixedGradientFvPatchField.C.

References fixedGradientFvPatchField< Type >::gradient().

Here is the call graph for this function:


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