|
| VolumeField (const Executor &exec, std::string name, const UnstructuredMesh &mesh, const std::vector< VolumeBoundary< ValueType > > &boundaryConditions) |
| Constructor for a uninitialized VolumeField.
|
|
| VolumeField (const Executor &exec, std::string name, const UnstructuredMesh &mesh, const Vector< ValueType > &internalVector, const std::vector< VolumeBoundary< ValueType > > &boundaryConditions) |
| Constructor for a VolumeField with a given internal field.
|
|
| VolumeField (const Executor &exec, std::string name, const UnstructuredMesh &mesh, const Vector< ValueType > &internalVector, const BoundaryData< ValueType > &boundaryVectors, const std::vector< VolumeBoundary< ValueType > > &boundaryConditions) |
| Constructor for a VolumeField with a given internal and boundary field.
|
|
| VolumeField (const Executor &exec, std::string fieldName, const UnstructuredMesh &mesh, const Field< ValueType > &domainVector, const std::vector< VolumeBoundary< ValueType > > &boundaryConditions, Database &db, std::string dbKey, std::string collectionName) |
| Constructor for a VolumeField with a given internal field and database.
|
|
| VolumeField (const VolumeField &other) |
|
void | correctBoundaryConditions () |
| Corrects the boundary conditions of the surface field.
|
|
bool | hasDatabase () const |
| Returns true if the field has a database, false otherwise.
|
|
Database & | db () |
| Retrieves the database.
|
|
const Database & | db () const |
| Retrieves the database.
|
|
bool | registered () const |
| Returns true if the field is registered in the database, false otherwise.
|
|
std::vector< VolumeBoundary< ValueType > > | boundaryConditions () const |
|
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.
|
|
template<typename ValueType>
class NeoN::finiteVolume::cellCentred::VolumeField< ValueType >
Represents a volume field in a finite volume method.
The VolumeField class is a template class that represents a cell-centered field in a finite volume method. It inherits from the DomainMixin class and provides methods for correcting boundary conditions.
- Template Parameters
-
ValueType | The value type of the field. |
Definition at line 26 of file volumeField.hpp.