|
| 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 Field< ValueType > &internalField, 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 Field< ValueType > &internalField, const BoundaryFields< ValueType > &boundaryFields, 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 > &internalField, 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 |
|
| 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.
|
|
template<typename ValueType>
class NeoFOAM::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 GeometricFieldMixin 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.