|
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, 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 27 of file domain.hpp.
| typedef ValueType NeoN::finiteVolume::cellCentred::DomainMixin< ValueType >::ElementType |
Definition at line 32 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 42 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 60 of file domain.hpp.
|
inline |
Returns a reference to the boundary field.
Definition at line 108 of file domain.hpp.
|
inline |
Returns a const reference to the boundary field.
Definition at line 101 of file domain.hpp.
|
inline |
Returns a const reference to the executor object.
Definition at line 115 of file domain.hpp.
|
inline |
Returns a reference to the internal field.
Definition at line 87 of file domain.hpp.
|
inline |
Returns a const reference to the internal field.
Definition at line 80 of file domain.hpp.
|
inline |
Returns a const reference to the unstructured mesh object.
Definition at line 122 of file domain.hpp.
|
inline |
Returns the size of the internal field.
Definition at line 94 of file domain.hpp.
|
protected |
Definition at line 128 of file domain.hpp.
|
protected |
Definition at line 130 of file domain.hpp.
|
protected |
Definition at line 129 of file domain.hpp.
| std::string NeoN::finiteVolume::cellCentred::DomainMixin< ValueType >::name |
Definition at line 124 of file domain.hpp.