|
| RealCurvilinearGrid2d ()=default |
|
| RealCurvilinearGrid2d (const aRealGenerator2d< real_type > &generator, unsigned n, unsigned Nx, unsigned Ny, dg::bc bcx=dg::DIR, bc bcy=dg::PER) |
| Construct a 2D grid.
|
|
| RealCurvilinearGrid2d (const aRealGenerator2d< real_type > &generator, Topology1d tx, Topology1d ty) |
| Construct the computational space as the product of two 1d grids.
|
|
| RealCurvilinearGrid2d (RealCurvilinearProductGrid3d< real_type > g) |
| Explicitly convert 3d product grid to the perpendicular grid.
|
|
const aRealGenerator2d< real_type > & | generator () const |
| read access to the generator
|
|
virtual RealCurvilinearGrid2d * | clone () const override final |
|
SparseTensor< thrust::host_vector< real_type > > | jacobian () const |
|
SparseTensor< thrust::host_vector< real_type > > | metric () const |
|
std::vector< thrust::host_vector< real_type > > | map () const |
|
virtual | ~aRealGeometry2d ()=default |
|
unsigned | shape (unsigned u=0) const |
|
host_vector | abscissas (unsigned u=0) const |
|
host_vector | weights (unsigned u=0) const |
|
std::array< unsigned, Nd > | get_shape () const |
|
std::array< host_vector, Nd > | get_abscissas () const |
|
std::array< host_vector, Nd > | get_weights () const |
|
std::array< real_type, Nd > | get_p () const |
|
std::array< real_type, Nd > | get_q () const |
|
std::array< real_type, Nd > | get_l () const |
|
std::array< real_type, Nd > | get_h () const |
|
std::array< unsigned, Nd > | get_N () const |
|
std::array< unsigned, Nd > | get_n () const |
|
std::array< dg::bc, Nd > | get_bc () const |
|
real_type | p (unsigned u=0) const |
|
real_type | q (unsigned u=0) const |
|
real_type | h (unsigned u=0) const |
|
real_type | l (unsigned u=0) const |
|
unsigned | n (unsigned u=0) const |
|
unsigned | N (unsigned u=0) const |
|
dg::bc | bc (unsigned u=0) const |
|
RealGrid< real_type, 1 > | grid (unsigned u) const |
|
RealGrid< real_type, 1 > | axis (unsigned u) const |
|
real_type | x0 () const |
|
real_type | x1 () const |
|
real_type | y0 () const |
|
real_type | y1 () const |
|
real_type | z0 () const |
|
real_type | z1 () const |
|
real_type | lx () const |
|
real_type | ly () const |
|
real_type | lz () const |
|
real_type | hx () const |
|
real_type | hy () const |
|
real_type | hz () const |
|
unsigned | nx () const |
|
unsigned | ny () const |
|
unsigned | nz () const |
|
unsigned | Nx () const |
|
unsigned | Ny () const |
|
unsigned | Nz () const |
|
dg::bc | bcx () const |
|
dg::bc | bcy () const |
|
dg::bc | bcz () const |
|
RealGrid< real_type, 1 > | gx () const |
|
RealGrid< real_type, 1 > | gy () const |
|
RealGrid< real_type, 1 > | gz () const |
|
std::array< unsigned, Nd > | start () const |
|
std::array< unsigned, Nd > | count () const |
|
std::enable_if_t<(Md >=2), void > | multiplyCellNumbers (real_type fx, real_type fy) |
|
std::enable_if_t<(Md==1), void > | set (unsigned new_n, unsigned new_Nx) |
|
std::enable_if_t<(Md==2), void > | set (unsigned new_n, unsigned new_Nx, unsigned new_Ny) |
|
std::enable_if_t<(Md==3), void > | set (unsigned new_n, unsigned new_Nx, unsigned new_Ny, unsigned new_Nz) |
|
void | set (unsigned new_n, std::array< unsigned, Nd > new_N) |
|
void | set (std::array< unsigned, Nd > new_n, std::array< unsigned, Nd > new_N) |
|
void | set (std::array< real_type, Nd > new_p, std::array< real_type, Nd > new_q, std::array< unsigned, Nd > new_n, std::array< unsigned, Nd > new_N, std::array< dg::bc, Nd > new_bcs) |
|
void | set_axis (unsigned coord, unsigned new_n, unsigned new_N) |
|
void | set_pq (std::array< real_type, Nd > new_p, std::array< real_type, Nd > new_q) |
|
void | set_bcs (std::array< dg::bc, Nd > new_bcs) |
|
unsigned | size () const |
|
void | display (std::ostream &os=std::cout) const |
|
std::enable_if_t<(Md==1), bool > | contains (real_type x) const |
|
bool | contains (const Vector &x) const |
|
|
typedef real_type | value_type |
|
typedef thrust::host_vector< real_type > | host_vector |
|
typedef RealGrid< real_type, Nd > | host_grid |
|
static constexpr unsigned | ndim () |
|
| aRealGeometry2d (const aRealGeometry2d &src)=default |
|
aRealGeometry2d & | operator= (const aRealGeometry2d &src)=default |
|
| ~aRealTopology ()=default |
|
| aRealTopology ()=default |
|
| aRealTopology (std::array< real_type, Nd > p, std::array< real_type, Nd > q, std::array< unsigned, Nd > n, std::array< unsigned, Nd > N, std::array< dg::bc, Nd > bcs) |
|
| aRealTopology (const std::array< RealGrid< real_type, 1 >, Nd > &axes) |
|
| aRealTopology (const aRealTopology &src)=default |
|
aRealTopology & | operator= (const aRealTopology &src)=default |
|
virtual void | do_set (std::array< unsigned, Nd > new_n, std::array< unsigned, Nd > new_N)=0 |
|
virtual void | do_set (std::array< dg::bc, Nd > new_bcs)=0 |
|
virtual void | do_set_pq (std::array< real_type, Nd > new_p, std::array< real_type, Nd > new_q)=0 |
|
template<class real_type>
struct dg::geo::RealCurvilinearGrid2d< real_type >
A two-dimensional grid based on curvilinear coordinates.