faePatchFieldBase Class Reference

Template invariant parts for faePatchField. More...

Inheritance diagram for faePatchFieldBase:

Public Member Functions

 TypeName ("faePatchField")
 Runtime type information. More...
 
 faePatchFieldBase (const faPatch &p)
 Construct from patch. More...
 
 faePatchFieldBase (const faPatch &p, const word &patchType)
 Construct from patch and patch type. More...
 
 faePatchFieldBase (const faPatch &p, const dictionary &dict)
 Construct from patch and dictionary. More...
 
 faePatchFieldBase (const faePatchFieldBase &rhs, const faPatch &p)
 Copy construct with new patch. More...
 
 faePatchFieldBase (const faePatchFieldBase &rhs)
 Copy construct. More...
 
virtual ~faePatchFieldBase ()=default
 Destructor. More...
 
virtual bool fixesValue () const
 True if the patch field fixes a value. More...
 
virtual bool coupled () const
 True if the patch field is coupled. More...
 
const objectRegistrydb () const
 The associated objectRegistry. More...
 
const faPatchpatch () const noexcept
 Return the patch. More...
 
bool updated () const noexcept
 True if the boundary condition has already been updated. This is always true for faePatchField. More...
 
bool manipulatedMatrix () const noexcept
 True if the matrix has already been manipulated. Currently ignored (always false) for faePatchField. More...
 
void checkPatch (const faePatchFieldBase &rhs) const
 Check that patches are identical. More...
 

Static Public Member Functions

static const wordemptyType () noexcept
 The type name for empty patch fields. More...
 
static const wordcalculatedType () noexcept
 The type name for calculated patch fields. More...
 

Static Public Attributes

static int disallowGenericPatchField
 Debug switch to disallow the use of generic faePatchField. More...
 

Protected Member Functions

virtual void readDict (const dictionary &dict)
 Read dictionary entries. More...
 
void setUpdated (bool state) noexcept
 Set updated state. This is a no-op for faePatchField. More...
 
void setManipulated (bool state) noexcept
 Set matrix manipulated state. This is a no-op for faePatchField. More...
 

Detailed Description

Template invariant parts for faePatchField.

Definition at line 76 of file faePatchField.H.

Constructor & Destructor Documentation

◆ faePatchFieldBase() [1/5]

faePatchFieldBase ( const faPatch p)
explicit

Construct from patch.

Definition at line 41 of file faePatchFieldBase.C.

◆ faePatchFieldBase() [2/5]

faePatchFieldBase ( const faPatch p,
const word patchType 
)
explicit

Construct from patch and patch type.

Definition at line 48 of file faePatchFieldBase.C.

◆ faePatchFieldBase() [3/5]

faePatchFieldBase ( const faPatch p,
const dictionary dict 
)

Construct from patch and dictionary.

Definition at line 58 of file faePatchFieldBase.C.

References dict, and faePatchFieldBase::readDict().

Here is the call graph for this function:

◆ faePatchFieldBase() [4/5]

faePatchFieldBase ( const faePatchFieldBase rhs,
const faPatch p 
)

Copy construct with new patch.

Definition at line 70 of file faePatchFieldBase.C.

◆ faePatchFieldBase() [5/5]

Copy construct.

Definition at line 79 of file faePatchFieldBase.C.

◆ ~faePatchFieldBase()

virtual ~faePatchFieldBase ( )
virtualdefault

Destructor.

Member Function Documentation

◆ readDict()

void readDict ( const dictionary dict)
protectedvirtual

Read dictionary entries.

Useful when initially constructed without a dictionary

Definition at line 87 of file faePatchFieldBase.C.

Referenced by faePatchFieldBase::faePatchFieldBase().

Here is the caller graph for this function:

◆ setUpdated()

void setUpdated ( bool  state)
inlineprotectednoexcept

Set updated state. This is a no-op for faePatchField.

Definition at line 99 of file faePatchField.H.

◆ setManipulated()

void setManipulated ( bool  state)
inlineprotectednoexcept

Set matrix manipulated state. This is a no-op for faePatchField.

Definition at line 105 of file faePatchField.H.

◆ TypeName()

TypeName ( "faePatchField"  )

Runtime type information.

◆ emptyType()

static const word& emptyType ( )
inlinestaticnoexcept

The type name for empty patch fields.

Definition at line 161 of file faePatchField.H.

References Foam::fieldTypes::emptyType.

◆ calculatedType()

static const word& calculatedType ( )
inlinestaticnoexcept

The type name for calculated patch fields.

Definition at line 169 of file faePatchField.H.

References Foam::fieldTypes::calculatedType.

◆ fixesValue()

virtual bool fixesValue ( ) const
inlinevirtual

True if the patch field fixes a value.

Needed to check if a level has to be specified while solving Poissons equations.

Reimplemented in fixedValueFaePatchField< Type >, slicedFaePatchField< Type >, and calculatedFaePatchField< Type >.

Definition at line 185 of file faePatchField.H.

◆ coupled()

virtual bool coupled ( ) const
inlinevirtual

True if the patch field is coupled.

Reimplemented in processorFaePatchField< Type >, and coupledFaePatchField< Type >.

Definition at line 193 of file faePatchField.H.

◆ db()

const Foam::objectRegistry & db ( ) const

The associated objectRegistry.

Definition at line 91 of file faePatchFieldBase.C.

References objectRegistry::thisDb().

Here is the call graph for this function:

◆ patch()

const faPatch& patch ( ) const
inlinenoexcept

Return the patch.

Definition at line 209 of file faePatchField.H.

Referenced by faePatchField< Type >::NewCalculatedType().

Here is the caller graph for this function:

◆ updated()

bool updated ( ) const
inlinenoexcept

True if the boundary condition has already been updated. This is always true for faePatchField.

Definition at line 221 of file faePatchField.H.

◆ manipulatedMatrix()

bool manipulatedMatrix ( ) const
inlinenoexcept

True if the matrix has already been manipulated. Currently ignored (always false) for faePatchField.

Definition at line 230 of file faePatchField.H.

◆ checkPatch()

void checkPatch ( const faePatchFieldBase rhs) const

Check that patches are identical.

Definition at line 97 of file faePatchFieldBase.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

Member Data Documentation

◆ disallowGenericPatchField

int disallowGenericPatchField
static

Debug switch to disallow the use of generic faePatchField.

Definition at line 114 of file faePatchField.H.


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