Extension: Geometries
#include "dg/geometries/geometries.h"
|
A two-dimensional grid based on curvilinear coordinates. More...
Public Member Functions | |
RealCurvilinearGridX2d (const aRealGeneratorX2d< real_type > &generator, real_type fx, real_type fy, unsigned n, unsigned Nx, unsigned Ny, dg::bc bcx=dg::DIR, bc bcy=dg::PER) | |
Constructor. More... | |
const aRealGeneratorX2d< real_type > & | generator () const |
virtual RealCurvilinearGridX2d * | clone () const override final |
Public Member Functions inherited from dg::aRealGeometryX2d< real_type > | |
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 aRealGeometryX2d * | clone () const =0 |
virtual | ~aRealGeometryX2d ()=default |
Public Member Functions inherited from dg::aRealTopologyX2d< class real_type > | |
real_type | x0 () const |
real_type | x1 () const |
real_type | y0 () const |
real_type | y1 () const |
real_type | lx () const |
real_type | ly () const |
real_type | hx () const |
real_type | hy () const |
real_type | fx () const |
real_type | fy () const |
unsigned | n () const |
unsigned | Nx () const |
unsigned | inner_Nx () const |
unsigned | outer_Nx () const |
unsigned | Ny () const |
unsigned | inner_Ny () const |
unsigned | outer_Ny () const |
bc | bcx () const |
bc | bcy () const |
RealGrid2d< real_type > | grid () const |
const DLT< real_type > & | dlt () const |
unsigned | size () const |
void | display (std::ostream &os=std::cout) const |
void | shift_topologic (real_type x0, real_type y0, real_type &x1, real_type &y1) const |
bool | contains (real_type x, real_type y) const |
Additional Inherited Members | |
Public Types inherited from dg::aRealTopologyX2d< class real_type > | |
typedef real_type | value_type |
typedef thrust::host_vector< real_type > | host_vector |
typedef RealGridX2d< real_type > | host_grid |
Protected Member Functions inherited from dg::aRealGeometryX2d< real_type > | |
aRealGeometryX2d (const aRealGeometryX2d &src)=default | |
aRealGeometryX2d & | operator= (const aRealGeometryX2d &src)=default |
Protected Member Functions inherited from dg::aRealTopologyX2d< class real_type > | |
~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) | |
aRealTopologyX2d (const aRealTopologyX2d &src)=default | |
aRealTopologyX2d & | operator= (const aRealTopologyX2d &src)=default |
A two-dimensional grid based on curvilinear coordinates.
|
inline |
Constructor.
generator | must generate an orthogonal grid |
fx | a rational number indicating partition of the x - direction |
fy | a rational number indicating partition of the y - direction |
n | number of polynomial coefficients |
Nx | number of cells in first coordinate |
Ny | number of cells in second coordinate |
bcx | boundary condition in first coordinate |
bcy | boundary condition in second coordinate |
|
inlinefinaloverridevirtual |
Implements dg::aRealGeometryX2d< real_type >.
|
inline |