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

A two-dimensional grid based on "almost-conformal" coordinates by Ribeiro and Scott 2010. More...

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

Public Member Functions

 RibeiroX (const CylindricalFunctorsLvl2 &psi, double psi_0, double fx, double xX, double yX, double x0, double y0)
 
virtual RibeiroXclone () const override final
 Abstract clone method that returns a copy on the heap. More...
 
- Public Member Functions inherited from dg::geo::aRealGeneratorX2d< real_type >
real_type zeta0 (real_type fx) const
 
real_type zeta1 (real_type fx) const
 
real_type eta0 (real_type fy) const
 
real_type eta1 (real_type fy) const
 
bool isOrthogonal () const
 sparsity pattern for metric More...
 
void generate (const thrust::host_vector< real_type > &zeta1d, const thrust::host_vector< real_type > &eta1d, unsigned nodeX0, unsigned nodeX1, 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 aRealGeneratorX2dclone () const =0
 Abstract clone method that returns a copy on the heap. More...
 
virtual ~aRealGeneratorX2d ()
 

Additional Inherited Members

- Protected Member Functions inherited from dg::geo::aRealGeneratorX2d< real_type >
 aRealGeneratorX2d ()
 
 aRealGeneratorX2d (const aRealGeneratorX2d &src)
 
aRealGeneratorX2doperator= (const aRealGeneratorX2d &src)
 

Detailed Description

A two-dimensional grid based on "almost-conformal" coordinates by Ribeiro and Scott 2010.

Attention
algorithm might be flawed since f(psi) might make a jump at separatrix
Template Parameters
PsiAll the template parameters must model aBinaryOperator i.e. the bracket operator() must be callable with two arguments and return a double.

Constructor & Destructor Documentation

◆ RibeiroX()

dg::geo::RibeiroX::RibeiroX ( const CylindricalFunctorsLvl2 psi,
double  psi_0,
double  fx,
double  xX,
double  yX,
double  x0,
double  y0 
)
inline

Member Function Documentation

◆ clone()

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

Abstract clone method that returns a copy on the heap.

Returns
a copy of *this on the heap

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


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