|
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. | |
| virtual PolarGenerator * | clone () const override final |
| Abstract clone method that returns a copy on the heap. | |
Public Member Functions inherited from dg::geo::aRealGenerator2d< real_type > | |
| real_type | width () const |
| length in \( \zeta\) of the computational space | |
| real_type | height () const |
| length in \( \eta\) of the computational space | |
| bool | isOrthogonal () const |
| sparsity pattern for metric | |
| 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. | |
| virtual | ~aRealGenerator2d () |
Additional Inherited Members | |
Protected Member Functions inherited from dg::geo::aRealGenerator2d< real_type > | |
| aRealGenerator2d () | |
| empty | |
| aRealGenerator2d (const aRealGenerator2d &) | |
| empty | |
| aRealGenerator2d & | operator= (const aRealGenerator2d &) |
| return *this | |
Polar coordinates.
\begin{align} x &= r \cos(\eta) \\ y &= r \sin(\eta) \end{align}
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 >.