Extension: Geometries
#include "dg/geometries/geometries.h"
|
Determine if poloidal field points towards or away from the nearest wall. More...
Public Member Functions | |
WallDirection (dg::geo::TokamakMagneticField mag, std::vector< double > vertical, std::vector< double > horizontal) | |
Allocate lines. More... | |
WallDirection (dg::geo::TokamakMagneticField mag, dg::Grid2d walls) | |
Allocate lines. More... | |
double | do_compute (double R, double Z) const |
Public Member Functions inherited from dg::geo::aCylindricalFunctor< WallDirection > | |
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... | |
Determine if poloidal field points towards or away from the nearest wall.
|
inline |
Allocate lines.
mag | Use to construct magnetic field |
vertical | walls R_0, R_1 ... ( can be arbitrary size) |
horizontal | walls Z_0, Z_1 ... ( can be arbitrary size) |
|
inline |
Allocate lines.
mag | Use to construct magnetic field |
walls | two vertical x0, x1 and two horizontal y0, y1 walls |
|
inline |