Template invariant parts for Field and SubField. More...
Public Member Functions | |
constexpr | FieldBase () noexcept |
Default construct, refCount zero. More... | |
![]() | |
constexpr | refCount () noexcept |
Default construct, initializing count to 0. More... | |
int | count () const noexcept |
Return the current reference count. More... | |
bool | unique () const noexcept |
Return true if the reference count is zero. More... | |
void | operator++ () noexcept |
Increment the reference count. More... | |
void | operator++ (int) noexcept |
Increment the reference count. More... | |
void | operator-- () noexcept |
Decrement the reference count. More... | |
void | operator-- (int) noexcept |
Decrement the reference count. More... | |
Static Public Attributes | |
static const char *const | typeName |
Typename for Field. More... | |
static bool | allowConstructFromLargerSize = false |
Permit read construct from a larger size. More... | |
Template invariant parts for Field and SubField.
Definition at line 50 of file FieldBase.H.
|
inlineconstexprnoexcept |
Default construct, refCount zero.
Definition at line 69 of file FieldBase.H.
|
static |
Typename for Field.
Definition at line 59 of file FieldBase.H.
Referenced by foamWriter::writeTemplate().
|
static |
Permit read construct from a larger size.
Mostly required for things like column mesh, for example.
Definition at line 63 of file FieldBase.H.
Referenced by if(), dynamicFvMesh::New(), and points0MotionSolver::points0MotionSolver().