FieldBase Class Reference

Template invariant parts for Field and SubField. More...

Inheritance diagram for FieldBase:
Collaboration diagram for FieldBase:

Public Member Functions

constexpr FieldBase () noexcept
 Default construct. More...
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int use_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...
 

Detailed Description

Template invariant parts for Field and SubField.

Definition at line 75 of file Field.H.

Constructor & Destructor Documentation

◆ FieldBase()

constexpr FieldBase ( )
inlinenoexcept

Default construct.

Definition at line 101 of file Field.H.

Member Data Documentation

◆ typeName

const char *const typeName
static

Typename for Field.

Definition at line 86 of file Field.H.

Referenced by basicThermo::heBoundaryTypes(), and foamWriter::writeTemplate().

◆ allowConstructFromLargerSize

bool allowConstructFromLargerSize = false
static

Permit read construct from a larger size.

Mostly required for things like column mesh, for example.

Definition at line 93 of file Field.H.

Referenced by if(), dynamicFvMesh::New(), and points0MotionSolver::points0MotionSolver().


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