\( \psi_{mod} := \begin{cases} H(\psi_p(R,Z))\text{ for } P(R,Z) \\ \psi_p(R,Z) \text { else } \end{cases} \)
More...
|
| Psip (std::function< bool(double, double)> predicate, std::function< double(double, double)> psip, double psi0, double alpha, double sign=-1) |
|
double | do_compute (double R, double Z) const |
|
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...
|
|
\( \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.
- Note
- the predicate can usually be true everywhere, the idea for the predicate is to be able to selectively target the private flux region(s) for modification.
◆ Psip()
dg::geo::mod::Psip::Psip |
( |
std::function< bool(double, double)> |
predicate, |
|
|
std::function< double(double, double)> |
psip, |
|
|
double |
psi0, |
|
|
double |
alpha, |
|
|
double |
sign = -1 |
|
) |
| |
|
inline |
◆ do_compute()
double dg::geo::mod::Psip::do_compute |
( |
double |
R, |
|
|
double |
Z |
|
) |
| const |
|
inline |
The documentation for this struct was generated from the following file: