|
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. | |
| WallDirection (dg::geo::TokamakMagneticField mag, dg::Grid2d walls) | |
| Allocate lines. | |
| 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) | |
| double | operator() (double R, double Z, double) const |
do_compute(R,Z) | |
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 |