Template invariant parts for faePatchField. More...

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 objectRegistry & | db () const |
| The associated objectRegistry. More... | |
| const faPatch & | patch () 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 word & | emptyType () noexcept |
The type name for empty patch fields. More... | |
| static const word & | calculatedType () 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... | |
Template invariant parts for faePatchField.
Definition at line 76 of file faePatchField.H.
|
explicit |
Construct from patch.
Definition at line 41 of file faePatchFieldBase.C.
|
explicit |
Construct from patch and patch type.
Definition at line 48 of file faePatchFieldBase.C.
| 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().

| faePatchFieldBase | ( | const faePatchFieldBase & | rhs, |
| const faPatch & | p | ||
| ) |
Copy construct with new patch.
Definition at line 70 of file faePatchFieldBase.C.
| faePatchFieldBase | ( | const faePatchFieldBase & | rhs | ) |
Copy construct.
Definition at line 79 of file faePatchFieldBase.C.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Read dictionary entries.
Useful when initially constructed without a dictionary
Definition at line 87 of file faePatchFieldBase.C.
Referenced by faePatchFieldBase::faePatchFieldBase().

|
inlineprotectednoexcept |
Set updated state. This is a no-op for faePatchField.
Definition at line 99 of file faePatchField.H.
|
inlineprotectednoexcept |
Set matrix manipulated state. This is a no-op for faePatchField.
Definition at line 105 of file faePatchField.H.
| TypeName | ( | "faePatchField" | ) |
Runtime type information.
|
inlinestaticnoexcept |
The type name for empty patch fields.
Definition at line 161 of file faePatchField.H.
References Foam::fieldTypes::emptyType.
|
inlinestaticnoexcept |
The type name for calculated patch fields.
Definition at line 169 of file faePatchField.H.
References Foam::fieldTypes::calculatedType.
|
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.
|
inlinevirtual |
True if the patch field is coupled.
Reimplemented in processorFaePatchField< Type >, and coupledFaePatchField< Type >.
Definition at line 193 of file faePatchField.H.
| const Foam::objectRegistry & db | ( | ) | const |
The associated objectRegistry.
Definition at line 91 of file faePatchFieldBase.C.
References objectRegistry::thisDb().

|
inlinenoexcept |
Return the patch.
Definition at line 209 of file faePatchField.H.
Referenced by faePatchField< Type >::NewCalculatedType().

|
inlinenoexcept |
True if the boundary condition has already been updated. This is always true for faePatchField.
Definition at line 221 of file faePatchField.H.
|
inlinenoexcept |
True if the matrix has already been manipulated. Currently ignored (always false) for faePatchField.
Definition at line 230 of file faePatchField.H.
| 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.

|
static |
Debug switch to disallow the use of generic faePatchField.
Definition at line 114 of file faePatchField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.