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

basicSymmetryFvPatchField< Type > Class Template Reference

A symmetry patch. More...

#include <finiteVolume/basicSymmetryFvPatchField.H>


Detailed Description

template<class Type>
class Foam::basicSymmetryFvPatchField< Type >

A symmetry patch.

Source files

Definition at line 51 of file basicSymmetryFvPatchField.H.

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

List of all members.

Public Member Functions

 TypeName (symmetryFvPatch::typeName_())
 Runtime type information.
 basicSymmetryFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 basicSymmetryFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 basicSymmetryFvPatchField (const basicSymmetryFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given basicSymmetryFvPatchField onto a new patch.
 basicSymmetryFvPatchField (const basicSymmetryFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > >  clone () const
 Construct and return a clone.
 basicSymmetryFvPatchField (const basicSymmetryFvPatchField< 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 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 > >  snGradTransformDiag () const
 Return face-gradient transform diagonal.
template<>
tmp< scalarField >  snGrad () const
 Return gradient at boundary.
template<>
void  evaluate (const Pstream::commsTypes commsType)
 Evaluate the patch field, sets Updated to false.
template<>
tmp< scalarField >  snGrad () const
 Return gradient at boundary.
template<>
void  evaluate (const Pstream::commsTypes)
 Evaluate the patch field, sets Updated to false.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 38 of file basicSymmetryFvPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 62 of file basicSymmetryFvPatchField.C.

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

Construct by mapping given basicSymmetryFvPatchField onto a new patch.

Definition at line 49 of file basicSymmetryFvPatchField.C.

Construct as copy.

Definition at line 76 of file basicSymmetryFvPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 86 of file basicSymmetryFvPatchField.C.


Member Function Documentation

TypeName ( symmetryFvPatch::   typeName_()  )

Runtime type information.

Reimplemented in symmetryFvPatchField< Type >.

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

Construct and return a clone setting internal field reference.

Implements transformFvPatchField< Type >.

Reimplemented in symmetryFvPatchField< Type >, slipFvPatchField< Type >, and surfaceSlipDisplacementFvPatchField< Type >.

Definition at line 112 of file basicSymmetryFvPatchField.H.

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

Return gradient at boundary.

Implements transformFvPatchField< Type >.

Definition at line 99 of file basicSymmetryFvPatchField.C.

References Foam::I, Foam::sqr(), and Foam::transform().

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

Evaluate the patch field.

Reimplemented from fvPatchField< Type >.

Definition at line 112 of file basicSymmetryFvPatchField.C.

References fvPatchField< Type >::evaluate(), Foam::I, Foam::sqr(), and Foam::transform().

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

Return gradient at boundary.

Implements transformFvPatchField< Type >.

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

Evaluate the patch field, sets Updated to false.

Reimplemented from fvPatchField< Type >.

tmp< scalarField > snGrad (  ) const [virtual]

Return gradient at boundary.

Implements transformFvPatchField< Type >.

Definition at line 37 of file basicSymmetryFvPatchScalarField.C.

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

Evaluate the patch field, sets Updated to false.

Reimplemented from fvPatchField< Type >.

Definition at line 44 of file basicSymmetryFvPatchScalarField.C.

References fvPatchField< Type >::evaluate(), and Field< scalar >::operator=().


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