|
NeoN
A framework for CFD software
|
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, 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. | |
| sizeType | 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 28 of file domain.hpp.
| typedef ValueType NeoN::finiteVolume::cellCentred::DomainMixin< ValueType >::ElementType |
Definition at line 33 of file domain.hpp.
|
inline |
Constructor for DomainMixin.
| exec | The executor object. |
| fieldName | The name of the field. |
| mesh | The unstructured mesh object. |
| field | The domain field object. Taken by value and moved in, so a temporary (e.g. a freshly allocated Field) is not deep-copied. |
Definition at line 44 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 62 of file domain.hpp.
|
inline |
Returns a reference to the boundary field.
Definition at line 110 of file domain.hpp.
|
inline |
Returns a const reference to the boundary field.
Definition at line 103 of file domain.hpp.
|
inline |
Returns a const reference to the executor object.
Definition at line 117 of file domain.hpp.
|
inline |
Returns a reference to the internal field.
Definition at line 89 of file domain.hpp.
|
inline |
Returns a const reference to the internal field.
Definition at line 82 of file domain.hpp.
|
inline |
Returns a const reference to the unstructured mesh object.
Definition at line 124 of file domain.hpp.
|
inline |
Returns the size of the internal field.
Definition at line 96 of file domain.hpp.
|
protected |
Definition at line 130 of file domain.hpp.
|
protected |
Definition at line 132 of file domain.hpp.
|
protected |
Definition at line 131 of file domain.hpp.
| std::string NeoN::finiteVolume::cellCentred::DomainMixin< ValueType >::name |
Definition at line 126 of file domain.hpp.