Public Member Functions | Static Public Attributes | List of all members
FieldBase Class Reference

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

Inheritance diagram for FieldBase:
Inheritance graph
[legend]
Collaboration diagram for FieldBase:
Collaboration graph
[legend]

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 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(), IOField< Type >::IOField(), 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: