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

fixedGradientFvPatchField< Type > Class Template Reference

Foam::fixedGradientFvPatchField. More...

#include <finiteVolume/fixedGradientFvPatchField.H>


Detailed Description

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

Foam::fixedGradientFvPatchField.

Source files

Definition at line 50 of file fixedGradientFvPatchField.H.

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.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 38 of file fixedGradientFvPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 64 of file fixedGradientFvPatchField.C.

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

Construct by mapping the given fixedGradientFvPatchField.

onto a new patch

Definition at line 50 of file fixedGradientFvPatchField.C.

Construct as copy.

Definition at line 79 of file fixedGradientFvPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 90 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 99 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 116 of file fixedGradientFvPatchField.H.

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

Return gradient at boundary.

Definition at line 132 of file fixedGradientFvPatchField.H.

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

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

References fvPatchField< Type >::autoMap().

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

Return gradient at boundary.

Reimplemented from fvPatchField< Type >.

Definition at line 162 of file fixedGradientFvPatchField.H.

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

Evaluate the patch field.

Reimplemented from fvPatchField< Type >.

Definition at line 130 of file fixedGradientFvPatchField.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 148 of file fixedGradientFvPatchField.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 158 of file fixedGradientFvPatchField.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 168 of file fixedGradientFvPatchField.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 179 of file fixedGradientFvPatchField.C.

void write ( Ostream &   os  ) const [virtual]

Write.

Reimplemented from fvPatchField< Type >.

Definition at line 186 of file fixedGradientFvPatchField.C.

References fvPatchField< Type >::write().


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