NeoN
A framework for CFD software
|
Represents the boundary fields for a computational domain. More...
#include <boundaryData.hpp>
Public Member Functions | |
BoundaryData (const BoundaryData< T > &rhs) | |
Copy constructor. | |
BoundaryData (const Executor &exec, const BoundaryData< T > &rhs) | |
Copy constructor. | |
BoundaryData (const Executor &exec, localIdx nBoundaryFaces, localIdx nBoundaryTypes) | |
constructor with default initialized Vectors from sizes. | |
BoundaryData (const Executor &exec, const std::vector< localIdx > &offsets) | |
constructor from a given offsets vector @warn all members except offsets are default constructed | |
const Vector< T > & | value () const |
Get the view storing the computed values from the boundary condition. | |
Vector< T > & | value () |
Get the view storing the computed values from the boundary condition. | |
const Vector< T > & | refValue () const |
Get the view storing the Dirichlet boundary values. | |
Vector< T > & | refValue () |
Get the view storing the Dirichlet boundary values. | |
const Vector< scalar > & | valueFraction () const |
Get the view storing the fraction of the boundary value. | |
Vector< scalar > & | valueFraction () |
Get the view storing the fraction of the boundary value. | |
const Vector< T > & | refGrad () const |
Get the view storing the Neumann boundary values. | |
Vector< T > & | refGrad () |
Get the view storing the Neumann boundary values. | |
const Vector< int > & | boundaryTypes () const |
Get the view storing the boundary types. | |
const Vector< localIdx > & | offset () const |
Get the view storing the offsets of each boundary. | |
localIdx | nBoundaries () const |
Get the number of boundaries. | |
localIdx | nBoundaryFaces () const |
Get the number of boundary faces. | |
const Executor & | exec () |
BoundaryData< T > & | operator= (const BoundaryData< T > &rhs) |
BoundaryData< T > & | operator= (const BoundaryData< T > &&rhs) |
std::pair< localIdx, localIdx > | range (localIdx patchId) const |
Get the range for a given patchId. | |
Represents the boundary fields for a computational domain.
The BoundaryData 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 32 of file boundaryData.hpp.
|
inline |
Copy constructor.
rhs | The boundaryVectors object to be copied. |
Definition at line 41 of file boundaryData.hpp.
|
inline |
Copy constructor.
rhs | The boundaryVectors object to be copied. |
Definition at line 53 of file boundaryData.hpp.
|
inline |
constructor with default initialized Vectors from sizes.
exec | - The executor |
nBoundaryFaces | - The total number of boundary faces |
nBoundaryType | - The total number of boundary patches |
Definition at line 67 of file boundaryData.hpp.
|
inline |
constructor from a given offsets vector @warn all members except offsets are default constructed
exec | - The executor |
offsets | - The total number of boundary faces |
Definition at line 80 of file boundaryData.hpp.
|
inline |
Get the view storing the boundary types.
Definition at line 128 of file boundaryData.hpp.
|
inline |
Definition at line 148 of file boundaryData.hpp.
|
inline |
Get the number of boundaries.
Definition at line 140 of file boundaryData.hpp.
|
inline |
Get the number of boundary faces.
Definition at line 146 of file boundaryData.hpp.
|
inline |
Get the view storing the offsets of each boundary.
Definition at line 134 of file boundaryData.hpp.
|
inline |
Definition at line 167 of file boundaryData.hpp.
|
inline |
Definition at line 150 of file boundaryData.hpp.
|
inline |
Get the range for a given patchId.
Definition at line 188 of file boundaryData.hpp.
|
inline |
Get the view storing the Neumann boundary values.
Definition at line 122 of file boundaryData.hpp.
|
inline |
Get the view storing the Neumann boundary values.
Definition at line 116 of file boundaryData.hpp.
|
inline |
Get the view storing the Dirichlet boundary values.
Definition at line 104 of file boundaryData.hpp.
|
inline |
Get the view storing the Dirichlet boundary values.
Definition at line 98 of file boundaryData.hpp.
|
inline |
Get the view storing the computed values from the boundary condition.
Definition at line 95 of file boundaryData.hpp.
|
inline |
Get the view storing the computed values from the boundary condition.
Definition at line 88 of file boundaryData.hpp.
|
inline |
Get the view storing the fraction of the boundary value.
Definition at line 113 of file boundaryData.hpp.
|
inline |
Get the view storing the fraction of the boundary value.
Definition at line 107 of file boundaryData.hpp.