NeoN
WIP Prototype of a modern OpenFOAM core
|
This class represents a mixin for a geometric field. More...
#include <domain.hpp>
Public Types | |
typedef ValueType | ElementType |
Public Member Functions | |
DomainMixin (const Executor &exec, std::string fieldName, const UnstructuredMesh &mesh, const Field< ValueType > &field) | |
Constructor for DomainMixin. | |
DomainMixin (const Executor &exec, std::string fieldName, const UnstructuredMesh &mesh, const Vector< ValueType > &internalVector, const BoundaryData< ValueType > &boundaryVectors) | |
Constructor for DomainMixin. | |
const Vector< ValueType > & | internalVector () const |
Returns a const reference to the internal field. | |
Vector< ValueType > & | internalVector () |
Returns a reference to the internal field. | |
localIdx | size () const |
Returns the size of the internal field. | |
const BoundaryData< ValueType > & | boundaryData () const |
Returns a const reference to the boundary field. | |
BoundaryData< ValueType > & | boundaryData () |
Returns a reference to the boundary field. | |
const Executor & | exec () const |
Returns a const reference to the executor object. | |
const UnstructuredMesh & | mesh () const |
Returns a const reference to the unstructured mesh object. | |
Public Attributes | |
std::string | name |
Protected Attributes | |
Executor | exec_ |
const UnstructuredMesh & | mesh_ |
Field< ValueType > | field_ |
This class represents a mixin for a geometric field.
The DomainMixin class provides a set of common operations and accessors for a geometric field. It is designed to be used as a mixin in other classes that require geometric field functionality.
ValueType | The value type of the field. |
Definition at line 26 of file domain.hpp.
typedef ValueType NeoN::finiteVolume::cellCentred::DomainMixin< ValueType >::ElementType |
Definition at line 31 of file domain.hpp.
|
inline |
Constructor for DomainMixin.
exec | The executor object. |
fieldName | The name of the field. |
mesh | The unstructured mesh object. |
domainVector | The domain field object. |
Definition at line 41 of file domain.hpp.
|
inline |
Constructor for DomainMixin.
exec | The executor object. |
fieldName | The name of the corresponding field. |
mesh | The unstructured mesh object. |
internalVector | The internal field object. |
boundaryVectors | The boundary field object. |
Definition at line 59 of file domain.hpp.
|
inline |
Returns a reference to the boundary field.
Definition at line 107 of file domain.hpp.
|
inline |
Returns a const reference to the boundary field.
Definition at line 100 of file domain.hpp.
|
inline |
Returns a const reference to the executor object.
Definition at line 114 of file domain.hpp.
|
inline |
Returns a reference to the internal field.
Definition at line 86 of file domain.hpp.
|
inline |
Returns a const reference to the internal field.
Definition at line 79 of file domain.hpp.
|
inline |
Returns a const reference to the unstructured mesh object.
Definition at line 121 of file domain.hpp.
|
inline |
Returns the size of the internal field.
Definition at line 93 of file domain.hpp.
|
protected |
Definition at line 127 of file domain.hpp.
|
protected |
Definition at line 129 of file domain.hpp.
|
protected |
Definition at line 128 of file domain.hpp.
std::string NeoN::finiteVolume::cellCentred::DomainMixin< ValueType >::name |
Definition at line 123 of file domain.hpp.