Public Member Functions | List of all members
uniformFixedValuePointPatchField< Type > Class Template Reference

Enables the specification of a uniform fixed value boundary condition. More...

Inheritance diagram for uniformFixedValuePointPatchField< Type >:
Inheritance graph
[legend]
Collaboration diagram for uniformFixedValuePointPatchField< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("uniformFixedValue")
 
 uniformFixedValuePointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
 uniformFixedValuePointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 
 uniformFixedValuePointPatchField (const uniformFixedValuePointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
 uniformFixedValuePointPatchField (const uniformFixedValuePointPatchField< Type > &)
 
virtual autoPtr< pointPatchField< Type > > clone () const
 
 uniformFixedValuePointPatchField (const uniformFixedValuePointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 
virtual autoPtr< pointPatchField< Type > > clone (const DimensionedField< Type, pointMesh > &iF) const
 
const Function1< Type > & uniformValue () const
 
virtual void autoMap (const pointPatchFieldMapper &)
 
virtual void rmap (const pointPatchField< Type > &, const labelList &)
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 
- Public Member Functions inherited from fixedValuePointPatchField< Type >
 TypeName ("fixedValue")
 
 fixedValuePointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
 fixedValuePointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &, const bool valueRequired=true)
 
 fixedValuePointPatchField (const fixedValuePointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
 fixedValuePointPatchField (const fixedValuePointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 
virtual bool fixesValue () const
 
virtual void operator= (const Field< Type > &)
 
virtual void operator= (const Type &)
 
- Public Member Functions inherited from valuePointPatchField< Type >
 TypeName ("value")
 
 valuePointPatchField (const valuePointPatchField &)=default
 
 valuePointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
 valuePointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &, const bool valueRequired=true)
 
 valuePointPatchField (const valuePointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
 valuePointPatchField (const valuePointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 
label size () const
 
virtual void evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
 
virtual void operator= (const valuePointPatchField< Type > &)
 
virtual void operator= (const pointPatchField< Type > &)
 
virtual void operator== (const valuePointPatchField< Type > &)
 
virtual void operator== (const pointPatchField< Type > &)
 
virtual void operator== (const Field< Type > &)
 
virtual void operator== (const Type &)
 
- Public Member Functions inherited from pointPatchField< Type >
 TypeName ("pointPatchField")
 
 declareRunTimeSelectionTable (autoPtr, pointPatchField, pointPatch,(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF),(p, iF))
 
 declareRunTimeSelectionTable (autoPtr, pointPatchField, patchMapper,(const pointPatchField< Type > &ptf, const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const pointPatchFieldMapper &m),(dynamic_cast< const pointPatchFieldType & >(ptf), p, iF, m))
 
 declareRunTimeSelectionTable (autoPtr, pointPatchField, dictionary,(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const dictionary &dict),(p, iF, dict))
 
 pointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
 pointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 
 pointPatchField (const pointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
 pointPatchField (const pointPatchField< Type > &)
 
 pointPatchField (const pointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 
virtual autoPtr< pointPatchField< Type > > clone () const=0
 
Foam::autoPtr< Foam::pointPatchField< Type > > NewCalculatedType (const pointPatchField< Type2 > &pf)
 
virtual ~pointPatchField ()=default
 
const objectRegistrydb () const
 
label size () const
 
const pointPatchpatch () const
 
const DimensionedField< Type, pointMesh > & internalField () const
 
const Field< Type > & primitiveField () const
 
const wordpatchType () const
 
wordpatchType ()
 
virtual bool fixesValue () const
 
virtual bool coupled () const
 
bool updated () const
 
tmp< Field< Type > > patchInternalField () const
 
tmp< Field< Type1 > > patchInternalField (const Field< Type1 > &iF) const
 
tmp< Field< Type1 > > patchInternalField (const Field< Type1 > &iF, const labelList &meshPoints) const
 
Foam::tmp< Foam::Field< Type > > patchInternalField () const
 
Foam::tmp< Foam::Field< Type1 > > patchInternalField (const Field< Type1 > &iF, const labelList &meshPoints) const
 
Foam::tmp< Foam::Field< Type1 > > patchInternalField (const Field< Type1 > &iF) const
 
void addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 
void addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &points) const
 
void setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &meshPoints) const
 
void setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 
virtual const wordconstraintType () const
 
virtual void initEvaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
 
virtual void operator+= (const pointPatchField< Type > &)
 
virtual void operator+= (const Field< Type > &)
 
virtual void operator+= (const Type &)
 
virtual void operator-= (const pointPatchField< Type > &)
 
virtual void operator-= (const Field< Type > &)
 
virtual void operator-= (const Type &)
 
virtual void operator*= (const pointPatchField< scalar > &)
 
virtual void operator*= (const Field< scalar > &)
 
virtual void operator*= (const scalar)
 
virtual void operator/= (const pointPatchField< scalar > &)
 
virtual void operator/= (const Field< scalar > &)
 
virtual void operator/= (const scalar)
 
void negate ()
 
- Public Member Functions inherited from Field< Type >
constexpr Field () noexcept
 
 Field (const label len)
 
 Field (const label len, const Type &val)
 
 Field (const label len, const Foam::zero)
 
 Field (const Foam::one, const Type &val)
 
 Field (const Foam::one, Type &&val)
 
 Field (const Foam::one, const Foam::zero)
 
 Field (const Field< Type > &fld)
 
 Field (const UList< Type > &list)
 
 Field (const IndirectListBase< Type, Addr > &list)
 
 Field (Field< Type > &&fld)
 
 Field (List< Type > &&list)
 
 Field (DynamicList< Type, SizeMin > &&list)
 
 Field (const UList< Type > &mapF, const labelUList &mapAddressing)
 
 Field (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
 Field (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &weights)
 
 Field (const tmp< Field< Type >> &tmapF, const labelListList &mapAddressing, const scalarListList &weights)
 
 Field (const UList< Type > &mapF, const FieldMapper &map, const bool applyFlip=true)
 
 Field (const UList< Type > &mapF, const FieldMapper &map, const Type &defaultValue, const bool applyFlip=true)
 
 Field (const UList< Type > &mapF, const FieldMapper &map, const UList< Type > &defaultValues, const bool applyFlip=true)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const bool applyFlip=true)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const Type &defaultValue, const bool applyFlip=true)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const UList< Type > &defaultValues, const bool applyFlip=true)
 
 Field (Field< Type > &fld, bool reuse)
 
 Field (const tmp< Field< Type >> &tfld)
 
 Field (Istream &is)
 
 Field (const word &keyword, const dictionary &dict, const label len)
 
 Field (const UList< Type > &mapF, const labelUList &mapAddressing)
 
 Field (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
 Field (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &mapWeights)
 
 Field (const tmp< Field< Type >> &tmapF, const labelListList &mapAddressing, const scalarListList &mapWeights)
 
 Field (const UList< Type > &mapF, const FieldMapper &mapper, const bool applyFlip)
 
 Field (const UList< Type > &mapF, const FieldMapper &mapper, const Type &defaultValue, const bool applyFlip)
 
 Field (const UList< Type > &mapF, const FieldMapper &mapper, const UList< Type > &defaultValues, const bool applyFlip)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &mapper, const bool applyFlip)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &mapper, const Type &defaultValue, const bool applyFlip)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &mapper, const UList< Type > &defaultValues, const bool applyFlip)
 
 Field (const word &keyword, const dictionary &dict, const label len)
 
constexpr Field () noexcept
 
 Field (const label len)
 
 Field (const label len, const Type &val)
 
 Field (const label len, const Foam::zero)
 
 Field (const Foam::one, const Type &val)
 
 Field (const Foam::one, Type &&val)
 
 Field (const Foam::one, const Foam::zero)
 
 Field (const Field< Type > &fld)
 
 Field (const UList< Type > &list)
 
 Field (Field< Type > &&fld)
 
 Field (List< Type > &&list)
 
 Field (Field< Type > &fld, bool reuse)
 
 Field (const tmp< Field< Type >> &tfld)
 
 Field (Istream &is)
 
tmp< Field< Type > > clone () const
 
void map (const UList< Type > &mapF, const labelUList &mapAddressing)
 
void map (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
void map (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &weights)
 
void map (const tmp< Field< Type >> &tmapF, const labelListList &mapAddressing, const scalarListList &weights)
 
void map (const UList< Type > &mapF, const FieldMapper &map, const bool applyFlip=true)
 
void map (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const bool applyFlip=true)
 
void autoMap (const FieldMapper &map, const bool applyFlip=true)
 
void rmap (const UList< Type > &mapF, const labelUList &mapAddressing)
 
void rmap (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
void rmap (const UList< Type > &mapF, const labelUList &mapAddressing, const UList< scalar > &weights)
 
void rmap (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing, const UList< scalar > &weights)
 
void negate ()
 
tmp< Field< cmptType > > component (const direction) const
 
void replace (const direction, const UList< cmptType > &)
 
void replace (const direction, const tmp< Field< cmptType >> &)
 
void replace (const direction, const cmptType &)
 
VSForm block (const label start) const
 
tmp< Field< Type > > T () const
 
void writeEntry (const word &keyword, Ostream &os) const
 
SubField< Type > slice (const label pos, label len=-1)
 
const SubField< Type > slice (const label pos, label len=-1) const
 
SubField< Type > slice (const labelRange &range)
 
const SubField< Type > slice (const labelRange &range) const
 
void operator= (const Field< Type > &)
 
void operator= (const tmp< Field< Type >> &)
 
void operator= (const UList< Type > &rhs)
 
void operator= (const SubField< Type > &rhs)
 
void operator= (const IndirectListBase< Type, Addr > &rhs)
 
void operator= (Field< Type > &&rhs)
 
void operator= (List< Type > &&rhs)
 
void operator= (DynamicList< Type, SizeMin > &&rhs)
 
void operator= (const Type &val)
 
void operator= (const Foam::zero)
 
void operator= (const VectorSpace< Form, Cmpt, nCmpt > &)
 
void operator= (const Field< Type > &rhs)
 
void operator= (const tmp< Field > &rhs)
 
void operator= (const UList< Type > &rhs)
 
void operator= (const SubField< Type > &rhs)
 
void operator= (Field< Type > &&rhs)
 
void operator= (List< Type > &&rhs)
 
void operator= (const Type &val)
 
void operator= (const Foam::zero)
 
void operator+= (const UList< Type > &)
 
void operator+= (const tmp< Field< Type >> &)
 
void operator+= (const Type &)
 
void operator-= (const UList< Type > &)
 
void operator-= (const tmp< Field< Type >> &)
 
void operator-= (const Type &)
 
void operator*= (const UList< scalar > &)
 
void operator*= (const tmp< Field< scalar >> &)
 
void operator*= (const scalar &)
 
void operator/= (const UList< scalar > &)
 
void operator/= (const tmp< Field< scalar >> &)
 
void operator/= (const scalar &)
 

Additional Inherited Members

- Public Types inherited from pointPatchField< Type >
typedef Type value_type
 
typedef pointPatch Patch
 
typedef calculatedPointPatchField< Type > Calculated
 
- Public Types inherited from Field< Type >
typedef pTraits< Type >::cmptType cmptType
 
typedef SubField< Type > subField
 
- Static Public Member Functions inherited from pointPatchField< Type >
static autoPtr< pointPatchField< Type > > New (const word &, const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
static autoPtr< pointPatchField< Type > > New (const word &, const word &actualPatchType, const pointPatch &, const DimensionedField< Type, pointMesh > &)
 
static autoPtr< pointPatchField< Type > > New (const pointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 
static autoPtr< pointPatchField< Type > > New (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 
static autoPtr< pointPatchField< Type > > NewCalculatedType (const pointPatchField< Type2 > &)
 
static const wordcalculatedType ()
 
- Static Public Member Functions inherited from Field< Type >
static const Field< Type > & null ()
 
static autoPtr< Field< Type > > New (Istream &is)
 
static tmp< Field< Type > > NewCalculatedType (const Field< Type2 > &f)
 
- Static Public Attributes inherited from pointPatchField< Type >
static int disallowGenericPointPatchField
 

Detailed Description

template<class Type>
class Foam::uniformFixedValuePointPatchField< Type >

Enables the specification of a uniform fixed value boundary condition.

Example of the boundary condition specification:

inlet
{
    type            uniformFixedValue;
    uniformValue    constant 0.2;
}

The uniformValue entry is a Function1 type, able to describe time varying functions. The example above gives the usage for supplying a constant value.

Source files

Definition at line 64 of file uniformFixedValuePointPatchField.H.

Constructor & Destructor Documentation

◆ uniformFixedValuePointPatchField() [1/5]

uniformFixedValuePointPatchField ( const pointPatch p,
const DimensionedField< Type, pointMesh > &  iF 
)

Definition at line 50 of file uniformFixedValuePointPatchField.C.

◆ uniformFixedValuePointPatchField() [2/5]

uniformFixedValuePointPatchField ( const pointPatch p,
const DimensionedField< Type, pointMesh > &  iF,
const dictionary dict 
)

Definition at line 63 of file uniformFixedValuePointPatchField.C.

References dict, Foam::stringOps::evaluate(), and p.

Here is the call graph for this function:

◆ uniformFixedValuePointPatchField() [3/5]

uniformFixedValuePointPatchField ( const uniformFixedValuePointPatchField< Type > &  ptf,
const pointPatch p,
const DimensionedField< Type, pointMesh > &  iF,
const pointPatchFieldMapper mapper 
)

Definition at line 98 of file uniformFixedValuePointPatchField.C.

References FieldMapper::direct(), Foam::stringOps::evaluate(), and FieldMapper::hasUnmapped().

Here is the call graph for this function:

◆ uniformFixedValuePointPatchField() [4/5]

Definition at line 124 of file uniformFixedValuePointPatchField.C.

◆ uniformFixedValuePointPatchField() [5/5]

Definition at line 136 of file uniformFixedValuePointPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "uniformFixedValue"  )

◆ clone() [1/2]

virtual autoPtr<pointPatchField<Type> > clone ( ) const
inlinevirtual

Reimplemented from fixedValuePointPatchField< Type >.

Definition at line 117 of file uniformFixedValuePointPatchField.H.

◆ clone() [2/2]

virtual autoPtr<pointPatchField<Type> > clone ( const DimensionedField< Type, pointMesh > &  iF) const
inlinevirtual

Reimplemented from fixedValuePointPatchField< Type >.

Definition at line 138 of file uniformFixedValuePointPatchField.H.

◆ uniformValue()

const Function1<Type>& uniformValue ( ) const
inline

Definition at line 158 of file uniformFixedValuePointPatchField.H.

◆ autoMap()

void autoMap ( const pointPatchFieldMapper mapper)
virtual

Reimplemented from valuePointPatchField< Type >.

Definition at line 150 of file uniformFixedValuePointPatchField.C.

References Foam::stringOps::evaluate().

Here is the call graph for this function:

◆ rmap()

void rmap ( const pointPatchField< Type > &  ptf,
const labelList addr 
)
virtual

Reimplemented from valuePointPatchField< Type >.

Definition at line 167 of file uniformFixedValuePointPatchField.C.

◆ updateCoeffs()

void updateCoeffs
virtual

Reimplemented from valuePointPatchField< Type >.

Definition at line 182 of file uniformFixedValuePointPatchField.C.

References Foam::operator==().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Reimplemented from valuePointPatchField< Type >.

Definition at line 196 of file uniformFixedValuePointPatchField.C.

References os(), and Foam::vtk::write().

Here is the call graph for this function:

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