#include <CartMesh.hpp>


Public Member Functions | |
| CartMesh () | |
| ~CartMesh () | |
| auto & | CreateUniformMesh (std::vector< int > nsize, std::vector< std::vector< Real >> edges, std::vector< std::vector< int >> ghs={{0}, {0}, {0}}) |
| Create a Uniform Mesh. More... | |
| auto & | CreateUniformMesh (int nsize, std::vector< Real > edges, std::vector< int > ghs={0}) |
| Create a Uniform Mesh. More... | |
| auto & | SetGBStartIndex (std::vector< int > st_ind_) |
| template<int dim> | |
| int | GBIndex (int i) |
| virtual Array1< CartMeshComp > & | GetMeshc () |
| Get the Meshc. More... | |
| virtual Array1< CartMeshComp > & | GetMeshf () |
| Get the Meshf. More... | |
| virtual CartMeshComp & | GetMeshc (const int &i) |
| Get the i-th Meshc. More... | |
| virtual CartMeshComp & | GetMeshf (const int &i) |
| Get the i-th Meshf. More... | |
| virtual std::string | GetMeshName () |
| Get the Mesh Name object. More... | |
Public Attributes | |
| const int | dim = N_dim |
| Array1< CartMeshComp > | meshc |
| Array1< CartMeshComp > | meshf |
| Veci< N_dim > | st_ind = 0 |
Private Attributes | |
| std::string | _name = "CartMesh" |
|
inline |
|
inline |
| auto & blockelm::CartMesh< N_dim >::CreateUniformMesh | ( | int | nsize, |
| std::vector< Real > | edges, | ||
| std::vector< int > | ghs = {0} |
||
| ) |
Create a Uniform Mesh.
| nsize | length excluding ghost mesh |
| edges | |
| ghs |
| auto & blockelm::CartMesh< N_dim >::CreateUniformMesh | ( | std::vector< int > | nsize, |
| std::vector< std::vector< Real >> | edges, | ||
| std::vector< std::vector< int >> | ghs = {{0}, {0}, {0}} |
||
| ) |
Create a Uniform Mesh.
| nsize | length excluding ghost mesh |
| edges | |
| ghs |
References blockelm::CartMesh< N_dim >::dim, and blockelm::CartMesh< N_dim >::st_ind.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Get the Mesh Name object.
Implements blockelm::MeshBase.
References blockelm::CartMesh< N_dim >::_name.
| auto & blockelm::CartMesh< N_dim >::SetGBStartIndex | ( | std::vector< int > | st_ind_ | ) |
|
private |
| const int blockelm::CartMesh< N_dim >::dim = N_dim |
| Array1<CartMeshComp> blockelm::CartMesh< N_dim >::meshc |
| Array1<CartMeshComp> blockelm::CartMesh< N_dim >::meshf |
| Veci<N_dim> blockelm::CartMesh< N_dim >::st_ind = 0 |