A symmetry patch. More...
#include <finiteVolume/basicSymmetryFvPatchField.H>
A symmetry patch.
Definition at line 51 of file basicSymmetryFvPatchField.H.
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.
|
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.
basicSymmetryFvPatchField | ( | const basicSymmetryFvPatchField< Type > & | ptf ) |
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.
TypeName | ( | symmetryFvPatch:: | typeName_() ) |
Runtime type information.
Reimplemented in symmetryFvPatchField< Type >.
virtual tmp<fvPatchField<Type> > clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Implements transformFvPatchField< Type >.
Reimplemented in symmetryFvPatchField< Type >, slipFvPatchField< Type >, and surfaceSlipDisplacementFvPatchField< Type >.
Definition at line 95 of file basicSymmetryFvPatchField.H.
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.
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().
Return face-gradient transform diagonal.
Implements transformFvPatchField< Type >.
Definition at line 134 of file basicSymmetryFvPatchField.C.
References Field< Type >::component(), Foam::diag(), Foam::mag(), List< T >::size(), Vector< Cmpt >::X, Vector< Cmpt >::Y, and Vector< Cmpt >::Z.
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=().