Extension: Geometries
#include "dg/geometries/geometries.h"
|
\( H(\psi_p(R,Z))\), dg::geo::createModifiedField More...
Classes | |
struct | dg::geo::mod::Psip |
\( \psi_{mod} := \begin{cases} H(\psi_p(R,Z))\text{ for } P(R,Z) \\ \psi_p(R,Z) \text { else } \end{cases} \) More... | |
struct | dg::geo::mod::PsipR |
struct | dg::geo::mod::PsipZ |
struct | dg::geo::mod::PsipZZ |
struct | dg::geo::mod::PsipRR |
struct | dg::geo::mod::PsipRZ |
Functions | |
static dg::geo::CylindricalFunctorsLvl2 | dg::geo::mod::createPsip (const std::function< bool(double, double)> predicate, const CylindricalFunctorsLvl2 &psip, double psi0, double alpha, double sign=-1) |
\( \psi_{mod} := \begin{cases} H(\psi_p(R,Z))\text{ for } P(R,Z) \\ \psi_p(R,Z) \text { else } \end{cases} \) More... | |
\( H(\psi_p(R,Z))\), dg::geo::createModifiedField
|
inlinestatic |
\( \psi_{mod} := \begin{cases} H(\psi_p(R,Z))\text{ for } P(R,Z) \\ \psi_p(R,Z) \text { else } \end{cases} \)
where H is the integrated dg::IPolynomialHeaviside function and P is a predicate that returns either true or false.
dg::geo::createModifiedField
predicate | P(R,Z) indicates the positions where Psi is to be modified (true) or not (false) |
psip | the flux function to be modified |
psi0 | parameter for dg::PolynomialHeaviside function |
alpha | parameter for dg::PolynomialHeaviside function |
sign | parameter for dg::PolynomialHeaviside function |