#include <CartMeshComp.h>
◆ CartMeshComp() [1/2]
blockelm::CartMeshComp::CartMeshComp |
( |
| ) |
|
◆ CartMeshComp() [2/2]
blockelm::CartMeshComp::CartMeshComp |
( |
const int |
n, |
|
|
std::vector< Real > |
edge, |
|
|
std::vector< int > |
gh = {0} |
|
) |
| |
|
inline |
Construct a new Cart Mesh Comp object.
- Parameters
-
n | length excluding ghost mesh |
edge | |
gh | |
◆ ~CartMeshComp()
blockelm::CartMeshComp::~CartMeshComp |
( |
| ) |
|
Destroy the Cart Mesh Comp object.
◆ Create()
CartMeshComp & blockelm::CartMeshComp::Create |
( |
const int |
n, |
|
|
std::vector< Real > |
edge, |
|
|
std::vector< int > |
gh = {0} |
|
) |
| |
◆ GetEdge()
std::vector<Real> blockelm::CartMeshComp::GetEdge |
( |
| ) |
|
|
inline |
◆ GetSize()
int blockelm::CartMeshComp::GetSize |
( |
| ) |
|
|
inline |
Get the Size of mesh of this component, including ghost mesh.
- Returns
- int
◆ GetSizeExcludeGh()
int blockelm::CartMeshComp::GetSizeExcludeGh |
( |
| ) |
|
|
inline |
Get the Size of mesh, Excluding Ghost mesh.
- Returns
- int
◆ operator()() [1/2]
Real& blockelm::CartMeshComp::operator() |
( |
const int |
i | ) |
|
|
inline |
i-th elements
- Parameters
-
- Returns
- Real&
◆ operator()() [2/2]
elements in a range
- Parameters
-
- Returns
- Array1r
◆ PtrData()
Real* blockelm::CartMeshComp::PtrData |
( |
| ) |
|
|
inline |
pointer to raw data of mesh
- Returns
- Real*
◆ SetEdge()
◆ UniformAtGridCenter()
CartMeshComp& blockelm::CartMeshComp::UniformAtGridCenter |
( |
| ) |
|
|
inline |
create a uniform mesh with grid in center
- Returns
- CartMeshComp&
◆ UniformAtGridFace()
create a uniform mesh with grid in face
- Returns
- CartMeshComp&
◆ data
Array1r blockelm::CartMeshComp::data |
◆ dh
Real blockelm::CartMeshComp::dh |
◆ edge_low
Real blockelm::CartMeshComp::edge_low |
◆ edge_up
Real blockelm::CartMeshComp::edge_up |
◆ gh_low
int blockelm::CartMeshComp::gh_low |
◆ gh_up
int blockelm::CartMeshComp::gh_up |
◆ len
int blockelm::CartMeshComp::len |
The documentation for this struct was generated from the following files: