|
NeoN
A framework for CFD software
|
Represents a surface field in a finite volume method. More...
#include <surfaceField.hpp>
Public Member Functions | |
| SurfaceField (const Executor &exec, std::string fieldName, const UnstructuredMesh &mesh, const std::vector< SurfaceBoundary< ValueType > > &boundaryConditions) | |
| Constructor for a surfaceVector with a given name and mesh. | |
| SurfaceField (const Executor &exec, const UnstructuredMesh &mesh, const Field< ValueType > &domainVector, const std::vector< SurfaceBoundary< ValueType > > &boundaryConditions) | |
| SurfaceField (const Executor &exec, const UnstructuredMesh &mesh, const Vector< ValueType > &internalVector, const BoundaryData< ValueType > &boundaryVectors, const std::vector< SurfaceBoundary< ValueType > > &boundaryConditions) | |
| SurfaceField (const SurfaceField &other) | |
| Copy constructor for a surface field. | |
| void | correctBoundaryConditions () |
| Corrects the boundary conditions of the surface field. | |
Public Member Functions inherited from NeoN::finiteVolume::cellCentred::DomainMixin< ValueType > | |
| 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. | |
Additional Inherited Members | |
Public Types inherited from NeoN::finiteVolume::cellCentred::DomainMixin< ValueType > | |
| typedef ValueType | ElementType |
Public Attributes inherited from NeoN::finiteVolume::cellCentred::DomainMixin< ValueType > | |
| std::string | name |
Protected Attributes inherited from NeoN::finiteVolume::cellCentred::DomainMixin< ValueType > | |
| Executor | exec_ |
| const UnstructuredMesh & | mesh_ |
| Field< ValueType > | field_ |
Represents a surface field in a finite volume method.
The SurfaceField class is a template class that represents a face-centered field in a finite volume method. It inherits from the DomainMixin class and provides methods for correcting boundary conditions.
| ValueType | The value type of the field. |
Definition at line 26 of file surfaceField.hpp.
|
inline |
Constructor for a surfaceVector with a given name and mesh.
| exec | The executor |
| fieldName | The name of the field |
| mesh | The underlying mesh |
| boundaryConditions | a vector of boundary conditions |
Definition at line 39 of file surfaceField.hpp.
|
inline |
Definition at line 63 of file surfaceField.hpp.
|
inline |
Definition at line 79 of file surfaceField.hpp.
|
inline |
Copy constructor for a surface field.
| other | The surface field to copy. |
Definition at line 95 of file surfaceField.hpp.
|
inline |
Corrects the boundary conditions of the surface field.
This function applies the correctBoundaryConditions() method to each boundary condition in the field.
Definition at line 105 of file surfaceField.hpp.