fixedValueFvsPatchField< Type > Class Template Reference

Foam::fixedValueFvsPatchField. More...

Inheritance diagram for fixedValueFvsPatchField< Type >:
[legend]
Collaboration diagram for fixedValueFvsPatchField< Type >:
[legend]

Public Member Functions

 TypeName ("fixedValue")
 Runtime type information. More...
 
 fixedValueFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 Construct from patch and internal field. More...
 
 fixedValueFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 fixedValueFvsPatchField (const fixedValueFvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 Construct by mapping the given fixedValueFvsPatchField<Type> More...
 
 fixedValueFvsPatchField (const fixedValueFvsPatchField< Type > &)
 Construct as copy. More...
 
virtual tmp< fvsPatchField< Type > > clone () const
 Construct and return a clone. More...
 
 fixedValueFvsPatchField (const fixedValueFvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvsPatchField< Type > > clone (const DimensionedField< Type, surfaceMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual bool fixesValue () const
 Return true if this patch field fixes a value. More...
 
virtual tmp< Field< Type > > valueInternalCoeffs (const tmp< scalarField > &) const
 Return the matrix diagonal coefficients corresponding to the. More...
 
virtual tmp< Field< Type > > valueBoundaryCoeffs (const tmp< scalarField > &) const
 Return the matrix source coefficients corresponding to the. More...
 
virtual tmp< Field< Type > > gradientInternalCoeffs () const
 Return the matrix diagonal coefficients corresponding to the. More...
 
virtual tmp< Field< Type > > gradientBoundaryCoeffs () const
 Return the matrix source coefficients corresponding to the. More...
 
virtual void operator= (const UList< Type > &)
 
virtual void operator= (const fvsPatchField< Type > &)
 
virtual void operator+= (const fvsPatchField< Type > &)
 
virtual void operator-= (const fvsPatchField< Type > &)
 
virtual void operator*= (const fvsPatchField< scalar > &)
 
virtual void operator/= (const fvsPatchField< 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 &)
 
virtual void operator+= (const Type &)
 
virtual void operator-= (const Type &)
 
virtual void operator*= (const scalar)
 
virtual void operator/= (const scalar)
 
- Public Member Functions inherited from fvsPatchField< Type >
 TypeName ("fvsPatchField")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, fvsPatchField, patch,(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF),(p, iF))
 
 declareRunTimeSelectionTable (tmp, fvsPatchField, patchMapper,(const fvsPatchField< Type > &ptf, const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const fvPatchFieldMapper &m),(dynamic_cast< const fvsPatchFieldType & >(ptf), p, iF, m))
 
 declareRunTimeSelectionTable (tmp, fvsPatchField, dictionary,(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const dictionary &dict),(p, iF, dict))
 
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 Construct from patch and internal field. More...
 
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const Field< Type > &)
 Construct from patch and internal field and patch field. More...
 
 fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 fvsPatchField (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 Construct by mapping the given fvsPatchField onto a new patch. More...
 
 fvsPatchField (const fvsPatchField< Type > &)
 Construct as copy. More...
 
 fvsPatchField (const fvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual ~fvsPatchField ()=default
 Destructor. More...
 
const objectRegistrydb () const
 Return local objectRegistry. More...
 
const fvPatchpatch () const
 Return patch. More...
 
const DimensionedField< Type, surfaceMesh > & internalField () const
 Return dimensioned internal field reference. More...
 
const Field< Type > & primitiveField () const
 Return internal field reference. More...
 
virtual bool coupled () const
 Return true if this patch field is coupled. More...
 
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object. More...
 
virtual void rmap (const fvsPatchField< Type > &, const labelList &)
 Reverse map the given fvsPatchField onto this fvsPatchField. More...
 
virtual void write (Ostream &) const
 Write. More...
 
void check (const fvsPatchField< Type > &) const
 Check fvsPatchField<Type> against given fvsPatchField<Type> More...
 
virtual void operator== (const fvsPatchField< Type > &)
 
virtual void operator== (const Field< Type > &)
 
virtual void operator== (const Type &)
 
template<class Type2 >
Foam::tmp< Foam::fvsPatchField< Type > > NewCalculatedType (const fvsPatchField< Type2 > &pf)
 

Additional Inherited Members

- Public Types inherited from fvsPatchField< Type >
typedef fvPatch Patch
 
typedef calculatedFvsPatchField< Type > Calculated
 
- Static Public Member Functions inherited from fvsPatchField< Type >
static tmp< fvsPatchField< Type > > New (const word &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 Return a pointer to a new patchField created on freestore given. More...
 
static tmp< fvsPatchField< Type > > New (const word &, const word &actualPatchType, const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
 Return a pointer to a new patchField created on freestore given. More...
 
static tmp< fvsPatchField< Type > > New (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &)
 Return a pointer to a new patchField created on freestore from. More...
 
static tmp< fvsPatchField< Type > > New (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &)
 Return a pointer to a new patchField created on freestore. More...
 
static tmp< fvsPatchField< Type > > NewCalculatedType (const fvPatch &)
 Return a pointer to a new calculatedFvsPatchField created on. More...
 
template<class Type2 >
static tmp< fvsPatchField< Type > > NewCalculatedType (const fvsPatchField< Type2 > &)
 Return a pointer to a new calculatedFvsPatchField created on. More...
 
static const wordcalculatedType ()
 Return the type of the calculated for of fvsPatchField. More...
 
- Static Public Attributes inherited from fvsPatchField< Type >
static int disallowGenericFvsPatchField
 Debug switch to disallow the use of genericFvsPatchField. More...
 

Detailed Description

template<class Type>
class Foam::fixedValueFvsPatchField< Type >

Foam::fixedValueFvsPatchField.

Source files

Definition at line 51 of file fixedValueFvsPatchField.H.

Constructor & Destructor Documentation

◆ fixedValueFvsPatchField() [1/5]

fixedValueFvsPatchField ( const fvPatch p,
const DimensionedField< Type, surfaceMesh > &  iF 
)

Construct from patch and internal field.

Definition at line 34 of file fixedValueFvsPatchField.C.

◆ fixedValueFvsPatchField() [2/5]

fixedValueFvsPatchField ( const fvPatch p,
const DimensionedField< Type, surfaceMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 45 of file fixedValueFvsPatchField.C.

◆ fixedValueFvsPatchField() [3/5]

fixedValueFvsPatchField ( const fixedValueFvsPatchField< Type > &  ptf,
const fvPatch p,
const DimensionedField< Type, surfaceMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping the given fixedValueFvsPatchField<Type>

onto a new patch

Definition at line 57 of file fixedValueFvsPatchField.C.

◆ fixedValueFvsPatchField() [4/5]

Construct as copy.

Definition at line 70 of file fixedValueFvsPatchField.C.

◆ fixedValueFvsPatchField() [5/5]

fixedValueFvsPatchField ( const fixedValueFvsPatchField< Type > &  ptf,
const DimensionedField< Type, surfaceMesh > &  iF 
)

Construct as copy setting internal field reference.

Definition at line 80 of file fixedValueFvsPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedValue"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvsPatchField<Type> > clone ( ) const
inlinevirtual

Construct and return a clone.

Reimplemented from fvsPatchField< Type >.

Definition at line 96 of file fixedValueFvsPatchField.H.

◆ clone() [2/2]

virtual tmp<fvsPatchField<Type> > clone ( const DimensionedField< Type, surfaceMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Reimplemented from fvsPatchField< Type >.

Definition at line 113 of file fixedValueFvsPatchField.H.

◆ fixesValue()

virtual bool fixesValue ( ) const
inlinevirtual

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 fvsPatchField< Type >.

Definition at line 131 of file fixedValueFvsPatchField.H.

◆ valueInternalCoeffs()

Foam::tmp< Foam::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

Definition at line 94 of file fixedValueFvsPatchField.C.

References Foam::Zero.

◆ valueBoundaryCoeffs()

Foam::tmp< Foam::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

Definition at line 108 of file fixedValueFvsPatchField.C.

◆ gradientInternalCoeffs()

Foam::tmp< Foam::Field< Type > > gradientInternalCoeffs ( ) const
virtual

Return the matrix diagonal coefficients corresponding to the.

evaluation of the gradient of this patchField

Definition at line 118 of file fixedValueFvsPatchField.C.

References Foam::foamVersion::patch.

◆ gradientBoundaryCoeffs()

Foam::tmp< Foam::Field< Type > > gradientBoundaryCoeffs ( ) const
virtual

Return the matrix source coefficients corresponding to the.

evaluation of the gradient of this patchField

Definition at line 126 of file fixedValueFvsPatchField.C.

References Foam::foamVersion::patch.

◆ operator=() [1/3]

virtual void operator= ( const UList< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 164 of file fixedValueFvsPatchField.H.

◆ operator=() [2/3]

virtual void operator= ( const fvsPatchField< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 166 of file fixedValueFvsPatchField.H.

◆ operator+=() [1/3]

virtual void operator+= ( const fvsPatchField< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 167 of file fixedValueFvsPatchField.H.

◆ operator-=() [1/3]

virtual void operator-= ( const fvsPatchField< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 168 of file fixedValueFvsPatchField.H.

◆ operator*=() [1/3]

virtual void operator*= ( const fvsPatchField< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 169 of file fixedValueFvsPatchField.H.

◆ operator/=() [1/3]

virtual void operator/= ( const fvsPatchField< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 170 of file fixedValueFvsPatchField.H.

◆ operator+=() [2/3]

virtual void operator+= ( const Field< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 172 of file fixedValueFvsPatchField.H.

◆ operator-=() [2/3]

virtual void operator-= ( const Field< Type > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 173 of file fixedValueFvsPatchField.H.

◆ operator*=() [2/3]

virtual void operator*= ( const Field< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 175 of file fixedValueFvsPatchField.H.

◆ operator/=() [2/3]

virtual void operator/= ( const Field< scalar > &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 176 of file fixedValueFvsPatchField.H.

◆ operator=() [3/3]

virtual void operator= ( const Type &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 178 of file fixedValueFvsPatchField.H.

◆ operator+=() [3/3]

virtual void operator+= ( const Type &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 179 of file fixedValueFvsPatchField.H.

◆ operator-=() [3/3]

virtual void operator-= ( const Type &  )
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 180 of file fixedValueFvsPatchField.H.

◆ operator*=() [3/3]

virtual void operator*= ( const  scalar)
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 181 of file fixedValueFvsPatchField.H.

◆ operator/=() [3/3]

virtual void operator/= ( const  scalar)
inlinevirtual

Reimplemented from fvsPatchField< Type >.

Definition at line 182 of file fixedValueFvsPatchField.H.


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