|
| | RealCartesianRefinedGridX2d (const aRealRefinementX2d< real_type > &ref, real_type x0, real_type x1, real_type y0, real_type y1, real_type fx, real_type fy, unsigned n, unsigned Nx, unsigned Ny, bc bcx=dg::PER, bc bcy=dg::PER) |
| |
| virtual RealCartesianRefinedGridX2d * | clone () const override final |
| | Geometries are cloneable.
|
| |
| SparseTensor< thrust::host_vector< real_type > > | jacobian () const |
| | The Jacobian of the coordinate transformation from physical to computational space.
|
| |
| SparseTensor< thrust::host_vector< real_type > > | metric () const |
| | The (inverse) metric tensor of the coordinate system.
|
| |
| std::vector< thrust::host_vector< real_type > > | map () const |
| | The coordinate map from computational to physical space.
|
| |
| virtual | ~aRealGeometryX2d ()=default |
| | allow deletion through base class pointer
|
| |
| host_vector | abscissas (unsigned u=0) const |
| |
| host_vector | weights (unsigned u=0) const |
| |
| unsigned | shape (unsigned u=0) const |
| |
| auto | get_shape () const |
| |
| real_type | x0 () const |
| | Left boundary in x.
|
| |
| real_type | x1 () const |
| | Right boundary in x.
|
| |
| real_type | y0 () const |
| | left boundary in y
|
| |
| real_type | y1 () const |
| | Right boundary in y.
|
| |
| real_type | lx () const |
| | length of x
|
| |
| real_type | ly () const |
| | length of y
|
| |
| real_type | hx () const |
| | cell size in x
|
| |
| real_type | hy () const |
| | cell size in y
|
| |
| real_type | fx () const |
| | partition factor in x
|
| |
| real_type | fy () const |
| | partition factor in y
|
| |
| unsigned | n () const |
| | number of polynomial coefficients in x and y
|
| |
| unsigned | Nx () const |
| | number of cells in x
|
| |
| unsigned | inner_Nx () const |
| | number of topological cells in x
|
| |
| unsigned | outer_Nx () const |
| | number of smooth rows in x
|
| |
| unsigned | Ny () const |
| | number of cells in y
|
| |
| unsigned | inner_Ny () const |
| | number of cells in the inner region of y
|
| |
| unsigned | outer_Ny () const |
| | number of cells in one of the outer regions of y
|
| |
| bc | bcx () const |
| | boundary conditions in x
|
| |
| bc | bcy () const |
| | boundary conditions in y
|
| |
| RealGrid< real_type, 2 > | grid () const |
| | Return a copy without topology.
|
| |
| unsigned | size () const |
| | real_typehe total number of points
|
| |
| void | display (std::ostream &os=std::cout) const |
| | Display.
|
| |
| void | shift_topologic (real_type x0, real_type y0, real_type &x1, real_type &y1) const |
| | Shifts a point coordinate due to topology.
|
| |
| bool | contains (real_type x, real_type y) const |
| | Check if the grid contains a point.
|
| |
|
| using | value_type = real_type |
| |
| using | host_vector = thrust::host_vector<real_type> |
| | The host vector type used by host functions like evaluate.
|
| |
| using | host_grid = RealGridX2d<real_type> |
| |
| static constexpr unsigned | ndim () |
| | number of dimensions : 2
|
| |
| | aRealGeometryX2d (const aRealGeometryX2d &src)=default |
| |
| aRealGeometryX2d & | operator= (const aRealGeometryX2d &src)=default |
| |
| | ~aRealTopologyX2d ()=default |
| | disallow destruction through base class pointer
|
| |
| | aRealTopologyX2d ()=default |
| |
| | aRealTopologyX2d (real_type x0, real_type x1, real_type y0, real_type y1, real_type fx, real_type fy, unsigned n, unsigned Nx, unsigned Ny, bc bcx, bc bcy) |
| | Construct a 2D X-point grid.
|
| |
| | aRealTopologyX2d (const aRealTopologyX2d &src)=default |
| |
| aRealTopologyX2d & | operator= (const aRealTopologyX2d &src)=default |
| |
template<class real_type>
struct dg::RealCartesianRefinedGridX2d< real_type >
Refined X-point grid.