NeoFOAM
WIP Prototype of a modern OpenFOAM core
|
Represents the boundary fields for a computational domain. More...
#include <boundaryFields.hpp>
Public Member Functions | |
BoundaryFields (const BoundaryFields< T > &rhs) | |
Copy constructor. | |
BoundaryFields (const Executor &exec, const BoundaryFields< T > &rhs) | |
Copy constructor. | |
BoundaryFields (const Executor &exec, size_t nBoundaryFaces, size_t nBoundaries) | |
const NeoFOAM::Field< T > & | value () const |
Get the view storing the computed values from the boundary condition. | |
NeoFOAM::Field< T > & | value () |
Get the view storing the computed values from the boundary condition. | |
const NeoFOAM::Field< T > & | refValue () const |
Get the view storing the Dirichlet boundary values. | |
NeoFOAM::Field< T > & | refValue () |
Get the view storing the Dirichlet boundary values. | |
const NeoFOAM::Field< scalar > & | valueFraction () const |
Get the view storing the fraction of the boundary value. | |
NeoFOAM::Field< scalar > & | valueFraction () |
Get the view storing the fraction of the boundary value. | |
const NeoFOAM::Field< T > & | refGrad () const |
Get the view storing the Neumann boundary values. | |
NeoFOAM::Field< T > & | refGrad () |
Get the view storing the Neumann boundary values. | |
const NeoFOAM::Field< int > & | boundaryTypes () const |
Get the view storing the boundary types. | |
const NeoFOAM::Field< localIdx > & | offset () const |
Get the view storing the offsets of each boundary. | |
size_t | nBoundaries () const |
Get the number of boundaries. | |
size_t | nBoundaryFaces () const |
Get the number of boundary faces. | |
const Executor & | exec () |
std::pair< localIdx, localIdx > | range (localIdx patchId) const |
Get the range for a given patchId. | |
Represents the boundary fields for a computational domain.
The BoundaryFields class stores the boundary conditions and related information for a computational domain. It provides access to the computed values, reference values, value fractions, reference gradients, boundary types, offsets, and the number of boundaries and boundary faces.
ValueType | The type of the underlying field values |
Definition at line 30 of file boundaryFields.hpp.
|
inline |
Copy constructor.
rhs | The boundaryFields object to be copied. |
Definition at line 39 of file boundaryFields.hpp.
|
inline |
Copy constructor.
rhs | The boundaryFields object to be copied. |
Definition at line 51 of file boundaryFields.hpp.
|
inline |
Definition at line 59 of file boundaryFields.hpp.
|
inline |
Get the view storing the boundary types.
Definition at line 108 of file boundaryFields.hpp.
|
inline |
Definition at line 128 of file boundaryFields.hpp.
|
inline |
Get the number of boundaries.
Definition at line 120 of file boundaryFields.hpp.
|
inline |
Get the number of boundary faces.
Definition at line 126 of file boundaryFields.hpp.
|
inline |
Get the view storing the offsets of each boundary.
Definition at line 114 of file boundaryFields.hpp.
|
inline |
Get the range for a given patchId.
Definition at line 134 of file boundaryFields.hpp.
|
inline |
Get the view storing the Neumann boundary values.
Definition at line 102 of file boundaryFields.hpp.
|
inline |
Get the view storing the Neumann boundary values.
Definition at line 96 of file boundaryFields.hpp.
|
inline |
Get the view storing the Dirichlet boundary values.
Definition at line 84 of file boundaryFields.hpp.
|
inline |
Get the view storing the Dirichlet boundary values.
Definition at line 78 of file boundaryFields.hpp.
|
inline |
Get the view storing the computed values from the boundary condition.
Definition at line 75 of file boundaryFields.hpp.
|
inline |
Get the view storing the computed values from the boundary condition.
Definition at line 68 of file boundaryFields.hpp.
|
inline |
Get the view storing the fraction of the boundary value.
Definition at line 93 of file boundaryFields.hpp.
|
inline |
Get the view storing the fraction of the boundary value.
Definition at line 87 of file boundaryFields.hpp.