Extension: Geometries
#include "dg/geometries/geometries.h"
dg::geo::LogPolarGenerator Struct Reference

Log Polar coordinates (conformal) More...

Inheritance diagram for dg::geo::LogPolarGenerator:
[legend]

Public Member Functions

 LogPolarGenerator (double _r_min, double _r_max)
 Construct a ring with minimal and maximal radius. More...
 
virtual LogPolarGeneratorclone () 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 aRealGenerator2dclone () 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...
 
aRealGenerator2doperator= (const aRealGenerator2d &)
 return *this More...
 

Detailed Description

Log Polar coordinates (conformal)

\[ x = \exp(l) \cos(\eta) \\ y = \exp(l) \sin(\eta) \]

with \( l = \zeta + \log (r_{min})\)

Constructor & Destructor Documentation

◆ LogPolarGenerator()

dg::geo::LogPolarGenerator::LogPolarGenerator ( double  _r_min,
double  _r_max 
)
inline

Construct a ring with minimal and maximal radius.

Parameters
_r_minminimum radius
_r_maxmaximum radius

Member Function Documentation

◆ clone()

virtual LogPolarGenerator * dg::geo::LogPolarGenerator::clone ( ) const
inlinefinaloverridevirtual

Abstract clone method that returns a copy on the heap.

Returns
a copy of *this on the heap

Implements dg::geo::aRealGenerator2d< real_type >.


The documentation for this struct was generated from the following file: