Extension: Geometries
#include "dg/geometries/geometries.h"

This function uses the dg::Grid2d::shift member to extend another function beyond the grid boundaries. More...

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

Public Member Functions

 Periodify (CylindricalFunctor functor, dg::Grid2d g)
 Construct from grid. More...
 
 Periodify (CylindricalFunctor functor, double R0, double R1, double Z0, double Z1, dg::bc bcx, dg::bc bcy)
 provide 2d grid boundaries by hand More...
 
double do_compute (double R, double Z) const
 
- Public Member Functions inherited from dg::geo::aCylindricalFunctor< Periodify >
double operator() (double R, double Z) const
  do_compute(R,Z) More...
 
double operator() (double R, double Z, double phi) const
  do_compute(R,Z) More...
 

Detailed Description

This function uses the dg::Grid2d::shift member to extend another function beyond the grid boundaries.

See also
dg::geo::periodify

Constructor & Destructor Documentation

◆ Periodify() [1/2]

dg::geo::Periodify::Periodify ( CylindricalFunctor  functor,
dg::Grid2d  g 
)
inline

Construct from grid.

Parameters
functorthe functor to periodify
gThe grid provides the shift member

◆ Periodify() [2/2]

dg::geo::Periodify::Periodify ( CylindricalFunctor  functor,
double  R0,
double  R1,
double  Z0,
double  Z1,
dg::bc  bcx,
dg::bc  bcy 
)
inline

provide 2d grid boundaries by hand

Parameters
functorthe functor to periodify
R0left boundary in R
R1right boundary in R
Z0lower boundary in Z
Z1upper boundary in Z
bcxboundary condition in x (determines how function is periodified)
bcyboundary condition in y (determines how function is periodified)

Member Function Documentation

◆ do_compute()

double dg::geo::Periodify::do_compute ( double  R,
double  Z 
) const
inline

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