|
Extension: Geometries
#include "dg/geometries/geometries.h"
|
Flux volume integral of the form \( \int dR dZ f(R,Z) \Theta(\psi_p(R,Z)-\psi_0) g(R,Z) \). More...
Public Member Functions | |
| template<class Geometry2d > | |
| FluxVolumeIntegral (const Geometry2d &g2d, const TokamakMagneticField &mag) | |
| Construct from a grid and a magnetic field f and g are default initialized to 1. | |
| void | set_left (const container &f) |
| Set the left function to integrate. | |
| void | set_right (const container &g) |
| Set the right function to integrate. | |
| double | operator() (double psip0) |
| Calculate the Flux Volume Integral. | |
Flux volume integral of the form \( \int dR dZ f(R,Z) \Theta(\psi_p(R,Z)-\psi_0) g(R,Z) \).
where Theta is the Heaviside function
|
inline |
Construct from a grid and a magnetic field f and g are default initialized to 1.
| g2d | grid |
| mag | contains psip |
|
inline |
Calculate the Flux Volume Integral.
| psip0 | the actual psi value of the flux surface |
|
inline |
Set the left function to integrate.
| f | the container containing the discretized function |
|
inline |
Set the right function to integrate.
| g | the container containing the discretized function |