|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <RootFinderForCSR.h>
Classes | |
| struct | PolyParams |
Public Member Functions | |
| RootFinderForCSR (double a, double b, double d, double e) | |
| bool | hasPositiveRealRoots () |
| template<class T> | |
| T | computeValue (const T &x) const |
| template<class T> | |
| T | computeDerivative (T x) const |
| double | searchRoot (const double &tol) |
| std::pair< double, double > | getSearchRange () const |
Static Private Member Functions | |
| static double | computeValueGSL (double x, void *params) |
Private Attributes | |
| double | a_m |
| double | b_m |
| double | d_m |
| double | e_m |
| std::pair< double, double > | searchRange_m |
| std::complex< double > | deltaZero_m |
| std::complex< double > | deltaOne_m |
| std::vector< double > | thirdOrderRoots_m |
Definition at line 16 of file RootFinderForCSR.h.
| struct RootFinderForCSR::PolyParams |
Definition at line 143 of file RootFinderForCSR.h.
| Class Members | ||
|---|---|---|
| double | a_m | |
| double | b_m | |
| double | d_m | |
| double | e_m | |
|
inline |
Definition at line 18 of file RootFinderForCSR.h.
References a, a_m, b_m, d_m, deltaOne_m, deltaZero_m, e_m, and searchRange_m.
|
inline |
Definition at line 92 of file RootFinderForCSR.h.
|
inline |
Definition at line 85 of file RootFinderForCSR.h.
References a_m, b_m, d_m, and e_m.
Referenced by hasPositiveRealRoots(), and searchRoot().
|
inlinestaticprivate |
Definition at line 151 of file RootFinderForCSR.h.
References RootFinderForCSR::PolyParams::a_m, RootFinderForCSR::PolyParams::b_m, RootFinderForCSR::PolyParams::d_m, and RootFinderForCSR::PolyParams::e_m.
Referenced by searchRoot().
|
inline |
Definition at line 132 of file RootFinderForCSR.h.
References searchRange_m.
|
inline |
Definition at line 33 of file RootFinderForCSR.h.
References a_m, b_m, C1, C2, computeValue(), copysign(), deltaOne_m, deltaZero_m, searchRange_m, sqrt(), and thirdOrderRoots_m.
Referenced by CSRIGFWakeFunction::calcPsi(), and CSRWakeFunction::calcPsi().
|
inline |
Definition at line 98 of file RootFinderForCSR.h.
References a_m, b_m, computeValue(), computeValueGSL(), d_m, e_m, and searchRange_m.
Referenced by CSRIGFWakeFunction::calcPsi(), and CSRWakeFunction::calcPsi().
|
private |
Definition at line 138 of file RootFinderForCSR.h.
Referenced by computeDerivative(), computeValue(), hasPositiveRealRoots(), RootFinderForCSR(), and searchRoot().
|
private |
Definition at line 139 of file RootFinderForCSR.h.
Referenced by computeDerivative(), computeValue(), hasPositiveRealRoots(), RootFinderForCSR(), and searchRoot().
|
private |
Definition at line 140 of file RootFinderForCSR.h.
Referenced by computeDerivative(), computeValue(), RootFinderForCSR(), and searchRoot().
|
private |
Definition at line 163 of file RootFinderForCSR.h.
Referenced by hasPositiveRealRoots(), and RootFinderForCSR().
|
private |
Definition at line 162 of file RootFinderForCSR.h.
Referenced by hasPositiveRealRoots(), and RootFinderForCSR().
|
private |
Definition at line 141 of file RootFinderForCSR.h.
Referenced by computeValue(), RootFinderForCSR(), and searchRoot().
|
private |
Definition at line 160 of file RootFinderForCSR.h.
Referenced by getSearchRange(), hasPositiveRealRoots(), RootFinderForCSR(), and searchRoot().
|
private |
Definition at line 165 of file RootFinderForCSR.h.
Referenced by hasPositiveRealRoots().