OPAL (Object Oriented Parallel Accelerator Library) 2022.1
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.
|
inline |
Definition at line 18 of file RootFinderForCSR.h.
References a, deltaOne_m, deltaZero_m, and pow().
|
inline |
Definition at line 92 of file RootFinderForCSR.h.
References a_m, b_m, d_m, pow(), and Attrib::Legacy::Distribution::T.
|
inline |
Definition at line 85 of file RootFinderForCSR.h.
References a_m, b_m, d_m, e_m, pow(), and Attrib::Legacy::Distribution::T.
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, RootFinderForCSR::PolyParams::e_m, and pow().
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, abs(), b_m, C1, C2, computeValue(), copysign(), deltaOne_m, deltaZero_m, Physics::e, pow(), 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, searchRange_m, and Attrib::Legacy::Distribution::T.
Referenced by CSRIGFWakeFunction::calcPsi(), and CSRWakeFunction::calcPsi().
|
private |
Definition at line 138 of file RootFinderForCSR.h.
Referenced by computeDerivative(), computeValue(), hasPositiveRealRoots(), and searchRoot().
|
private |
Definition at line 139 of file RootFinderForCSR.h.
Referenced by computeDerivative(), computeValue(), hasPositiveRealRoots(), and searchRoot().
|
private |
Definition at line 140 of file RootFinderForCSR.h.
Referenced by computeDerivative(), computeValue(), 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(), and searchRoot().
|
private |
Definition at line 160 of file RootFinderForCSR.h.
Referenced by getSearchRange(), hasPositiveRealRoots(), and searchRoot().
|
private |
Definition at line 165 of file RootFinderForCSR.h.
Referenced by hasPositiveRealRoots().