FieldBase Class Reference

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

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

Public Member Functions

constexpr FieldBase () noexcept
 Default construct, refCount zero. 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.

Source files

Definition at line 50 of file FieldBase.H.

Constructor & Destructor Documentation

◆ FieldBase()

constexpr FieldBase ( )
inlineconstexprnoexcept

Default construct, refCount zero.

Definition at line 69 of file FieldBase.H.

Member Data Documentation

◆ typeName

const char *const typeName
static

Typename for Field.

Definition at line 59 of file FieldBase.H.

Referenced by 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 63 of file FieldBase.H.

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


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