NeoFOAM
WIP Prototype of a modern OpenFOAM core
|
This class represents a mixin for a geometric field. More...
#include <geometricField.hpp>
Public Member Functions | |
GeometricFieldMixin (const Executor &exec, std::string fieldName, const UnstructuredMesh &mesh, const DomainField< ValueType > &field) | |
Constructor for GeometricFieldMixin. | |
GeometricFieldMixin (const Executor &exec, std::string fieldName, const UnstructuredMesh &mesh, const Field< ValueType > &internalField, const BoundaryFields< ValueType > &boundaryFields) | |
Constructor for GeometricFieldMixin. | |
const Field< ValueType > & | internalField () const |
Returns a const reference to the internal field. | |
Field< ValueType > & | internalField () |
Returns a reference to the internal field. | |
size_t | size () const |
Returns the size of the internal field. | |
const BoundaryFields< ValueType > & | boundaryField () const |
Returns a const reference to the boundary field. | |
BoundaryFields< ValueType > & | boundaryField () |
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_ |
DomainField< ValueType > | field_ |
This class represents a mixin for a geometric field.
The GeometricFieldMixin 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 geometricField.hpp.
|
inline |
Constructor for GeometricFieldMixin.
exec | The executor object. |
fieldName | The name of the field. |
mesh | The unstructured mesh object. |
domainField | The domain field object. |
Definition at line 38 of file geometricField.hpp.
|
inline |
Constructor for GeometricFieldMixin.
exec | The executor object. |
fieldName | The name of the corresponding field. |
mesh | The unstructured mesh object. |
internalField | The internal field object. |
boundaryFields | The boundary field object. |
Definition at line 56 of file geometricField.hpp.
|
inline |
Returns a reference to the boundary field.
Definition at line 104 of file geometricField.hpp.
|
inline |
Returns a const reference to the boundary field.
Definition at line 97 of file geometricField.hpp.
|
inline |
Returns a const reference to the executor object.
Definition at line 111 of file geometricField.hpp.
|
inline |
Returns a reference to the internal field.
Definition at line 83 of file geometricField.hpp.
|
inline |
Returns a const reference to the internal field.
Definition at line 76 of file geometricField.hpp.
|
inline |
Returns a const reference to the unstructured mesh object.
Definition at line 118 of file geometricField.hpp.
|
inline |
Returns the size of the internal field.
Definition at line 90 of file geometricField.hpp.
|
protected |
Definition at line 124 of file geometricField.hpp.
|
protected |
Definition at line 126 of file geometricField.hpp.
|
protected |
Definition at line 125 of file geometricField.hpp.
std::string NeoFOAM::finiteVolume::cellCentred::GeometricFieldMixin< ValueType >::name |
Definition at line 120 of file geometricField.hpp.