Extension: Geometries
#include "dg/geometries/geometries.h"
|
Polar coordinates. More...
Public Member Functions | |
PolarGenerator (double _r_min, double _r_max) | |
Construct a ring with minimal and maximal radius. More... | |
virtual PolarGenerator * | clone () const override final |
Abstract clone method that returns a copy on the heap. More... | |
Public Member Functions inherited from dg::geo::aRealGenerator2d< real_type > | |
real_type | width () const |
length in \( \zeta\) of the computational space More... | |
real_type | height () const |
length in \( \eta\) of the computational space More... | |
bool | isOrthogonal () const |
sparsity pattern for metric More... | |
void | generate (const thrust::host_vector< real_type > &zeta1d, const thrust::host_vector< real_type > &eta1d, thrust::host_vector< real_type > &x, thrust::host_vector< real_type > &y, thrust::host_vector< real_type > &zetaX, thrust::host_vector< real_type > &zetaY, thrust::host_vector< real_type > &etaX, thrust::host_vector< real_type > &etaY) const |
Generate grid points and elements of the Jacobian. More... | |
virtual aRealGenerator2d * | clone () const =0 |
Abstract clone method that returns a copy on the heap. More... | |
virtual | ~aRealGenerator2d () |
Additional Inherited Members | |
Protected Member Functions inherited from dg::geo::aRealGenerator2d< real_type > | |
aRealGenerator2d () | |
empty More... | |
aRealGenerator2d (const aRealGenerator2d &) | |
empty More... | |
aRealGenerator2d & | operator= (const aRealGenerator2d &) |
return *this More... | |
Polar coordinates.
\[ x = r \cos(\eta) \\ y = r \sin(\eta) \]
with \( r = \zeta + r_{min}\)
|
inline |
Construct a ring with minimal and maximal radius.
_r_min | minimum radius |
_r_max | maximum radius |
|
inlinefinaloverridevirtual |
Abstract clone method that returns a copy on the heap.
Implements dg::geo::aRealGenerator2d< real_type >.