Extension: Geometries
#include "dg/geometries/geometries.h"
|
The High PrEcision Conformal grid generaTOR. More...
Public Member Functions | |
Hector (const CylindricalFunctorsLvl2 &psi, double psi0, double psi1, double X0, double Y0, unsigned n=13, unsigned Nx=2, unsigned Ny=10, double eps_u=1e-10, bool verbose=false) | |
Construct a conformal grid. More... | |
Hector (const CylindricalFunctorsLvl2 &psi, const CylindricalFunctorsLvl1 &chi, double psi0, double psi1, double X0, double Y0, unsigned n=13, unsigned Nx=2, unsigned Ny=10, double eps_u=1e-10, bool verbose=false) | |
Construct an orthogonal grid with adaption. More... | |
Hector (const CylindricalFunctorsLvl2 &psi, const CylindricalSymmTensorLvl1 &chi, double psi0, double psi1, double X0, double Y0, unsigned n=13, unsigned Nx=2, unsigned Ny=10, double eps_u=1e-10, bool verbose=false) | |
Construct a curvilinear grid with monitor metric. More... | |
const dg::geo::CurvilinearGrid2d & | internal_grid () const |
Return the internally used orthogonal grid. More... | |
virtual Hector * | clone () const override final |
Abstract clone method that returns a copy on the heap. More... | |
bool | isConformal () const |
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... | |
The High PrEcision Conformal grid generaTOR.
IMatrix | The interpolation matrix type |
Matrix | A class for which the blas2 functions are callable in connection with the container class. The Matrix type can be one of:
|
container | A data container class for which the blas1 functionality is overloaded. We assume that container is copyable/assignable and has a swap member function. Currently this is one of |
|
inline |
Construct a conformal grid.
psi | \( \psi(x,y)\) the flux function and its derivatives in Cartesian coordinates (x,y) |
psi0 | first boundary |
psi1 | second boundary |
X0 | a point in the inside of the ring bounded by psi0 (shouldn't be the O-point) |
Y0 | a point in the inside of the ring bounded by psi0 (shouldn't be the O-point) |
n | number of polynomials used for the internal grid |
Nx | initial number of points in zeta for the internal grid |
Ny | initial number of points in eta for the internal grid |
eps_u | the accuracy of u |
verbose | If true convergence details are printed to std::cout |
|
inline |
Construct an orthogonal grid with adaption.
psi | \( \psi(x,y)\) the flux function and its derivatives in Cartesian coordinates (x,y) |
chi | \( \chi(x,y)\) the adaption function and its derivatives in Cartesian coordinates (x,y) |
psi0 | first boundary |
psi1 | second boundary |
X0 | a point in the inside of the ring bounded by psi0 (shouldn't be the O-point) |
Y0 | a point in the inside of the ring bounded by psi0 (shouldn't be the O-point) |
n | number of polynomials used for the internal grid |
Nx | initial number of points in zeta for the internal grid |
Ny | initial number of points in eta for the internal grid |
eps_u | the accuracy of u |
verbose | If true convergence details are printed to std::cout |
|
inline |
Construct a curvilinear grid with monitor metric.
psi | the flux function \( \psi(x,y)\) and its derivatives in Cartesian coordinates (x,y) |
chi | the symmetric adaption tensor \(\chi(x,y)\) and its divergence in Cartesian coordinates (x,y) |
psi0 | first boundary |
psi1 | second boundary |
X0 | a point in the inside of the ring bounded by psi0 (shouldn't be the O-point) |
Y0 | a point in the inside of the ring bounded by psi0 (shouldn't be the O-point) |
n | number of polynomials used for the internal grid |
Nx | initial number of points in zeta for the internal grid |
Ny | initial number of points in eta for the internal grid |
eps_u | the accuracy of u |
verbose | If true convergence details are printed to std::cout |
|
inlinefinaloverridevirtual |
Abstract clone method that returns a copy on the heap.
Implements dg::geo::aRealGenerator2d< real_type >.
|
inline |
Return the internally used orthogonal grid.
|
inline |