cloudy trunk
|
Go to the source code of this file.
Data Structures | |
class | t_lfact |
Macros | |
#define | F1(x, y, z) |
#define | F2(x, y, z) |
#define | F3(x, y, z) |
#define | F4(x, y, z) |
#define | MD5STEP(f, w, x, y, z, data, s) |
Functions | |
double | polevl (double x, const double coef[], int N) |
double | p1evl (double x, const double coef[], int N) |
double | chbevl (double, const double[], int) |
double | dawson (double x, int order) |
bool | linfit (long n, const double xorg[], const double yorg[], double &a, double &siga, double &b, double &sigb) |
double | factorial (long n) |
double | lfactorial (long n) |
complex< double > | cdgamma (complex< double > x) |
double | bessel_j0 (double x) |
double | bessel_y0 (double x) |
double | bessel_j1 (double x) |
double | bessel_y1 (double x) |
double | bessel_jn (int n, double x) |
double | bessel_yn (int n, double x) |
double | bessel_k0 (double x) |
double | bessel_k0_scaled (double x) |
double | bessel_k1 (double x) |
double | bessel_k1_scaled (double x) |
double | bessel_i0 (double x) |
double | bessel_i0_scaled (double x) |
double | bessel_i1 (double x) |
double | bessel_i1_scaled (double x) |
double | ellpk (double x) |
double | expn (int n, double x) |
double | erfce (double x) |
unsigned long | MIXBITS (unsigned long u, unsigned long v) |
unsigned long | TWIST (unsigned long u, unsigned long v) |
void | init_genrand (unsigned long s) |
void | init_by_array (unsigned long init_key[], int key_length) |
static void | next_state () |
unsigned long | genrand_int32 () |
long | genrand_int31 () |
double | genrand_real1 () |
double | genrand_real2 () |
double | genrand_real3 () |
double | genrand_res53 () |
realnum | FastVoigtH (realnum a, realnum v) |
void | humlik (int n, const realnum x[], realnum y, realnum k[]) |
STATIC uint32 | MD5swap (uint32 word) |
STATIC void | MD5_Transform (uint32 *digest, const uint32 *in) |
string | MD5file (const char *fnam, access_scheme scheme) |
string | MD5datafile (const char *fnam, access_scheme scheme) |
string | MD5string (const string &str) |
uint32 | rotlFixed (uint32 x, unsigned int y) |
Variables | |
static const double | pre_factorial [NPRE_FACTORIAL] |
static const double | b0_PP [7] |
static const double | b0_PQ [7] |
static const double | b0_QP [8] |
static const double | b0_QQ [7] |
static const double | b0_YP [8] |
static const double | b0_YQ [7] |
static const double | DR1 = 5.78318596294678452118e0 |
static const double | DR2 = 3.04712623436620863991e1 |
static double | b0_RP [4] |
static double | b0_RQ [8] |
static const double | TWOOPI = 2./PI |
static const double | SQ2OPI = sqrt(2./PI) |
static const double | PIO4 = PI/4. |
static const double | b1_RP [4] |
static const double | b1_RQ [8] |
static const double | b1_PP [7] |
static const double | b1_PQ [7] |
static const double | b1_QP [8] |
static const double | b1_QQ [7] |
static const double | b1_YP [6] |
static const double | b1_YQ [8] |
static const double | Z1 = 1.46819706421238932572E1 |
static const double | Z2 = 4.92184563216946036703E1 |
static const double | THPIO4 = 3.*PI/4. |
static const double | k0_A [] |
static const double | k0_B [] |
static const double | k1_A [] |
static const double | k1_B [] |
static const double | i0_A [] |
static const double | i0_B [] |
static double | i1_A [] |
static double | i1_B [] |
static const double | elk_P [] |
static const double | elk_Q [] |
static const double | C1 = 1.3862943611198906188e0 |
static const double | MAXLOG = log(DBL_MAX) |
static const double | BIG = 1.44115188075855872E+17 |
static double | erf_P [] |
static double | erf_Q [] |
static double | erf_R [] |
static double | erf_S [] |
static const int | N = 624 |
static const int | M = 397 |
static const unsigned long | MATRIX_A = 0x9908b0dfUL |
static const unsigned long | UMASK = 0x80000000UL |
static const unsigned long | LMASK = 0x7fffffffUL |
static unsigned long | state [N] |
static int | nleft = 1 |
static int | initf = 0 |
static unsigned long * | nexxt |
const int | N_DAWSON = 100 |
static const double | tbl_dawson [N_DAWSON+1] |
#define F1 | ( | x, | |
y, | |||
z ) |
Referenced by phymir_state< X, Y, NP, NSTR >::p_setup_next_hyperblock(), and t_lfact::Singleton< t_lfact >.
#define F2 | ( | x, | |
y, | |||
z ) |
Referenced by phymir_state< X, Y, NP, NSTR >::p_setup_next_hyperblock(), and t_lfact::Singleton< t_lfact >.
#define F3 | ( | x, | |
y, | |||
z ) |
Referenced by t_lfact::Singleton< t_lfact >.
#define F4 | ( | x, | |
y, | |||
z ) |
Referenced by t_lfact::Singleton< t_lfact >.
#define MD5STEP | ( | f, | |
w, | |||
x, | |||
y, | |||
z, | |||
data, | |||
s ) |
Referenced by t_lfact::Singleton< t_lfact >.
double bessel_i0 | ( | double | x | ) |
Definition at line 1726 of file thirdparty.cpp.
References chbevl(), DEBUG_ENTRY, i0_A, and i0_B.
Referenced by bessel_k0(), and bessel_k0_scaled().
double bessel_i0_scaled | ( | double | x | ) |
Definition at line 1743 of file thirdparty.cpp.
References chbevl(), DEBUG_ENTRY, i0_A, and i0_B.
double bessel_i1 | ( | double | x | ) |
Definition at line 1908 of file thirdparty.cpp.
References chbevl(), DEBUG_ENTRY, i1_A, and i1_B.
Referenced by bessel_k1(), and bessel_k1_scaled().
double bessel_i1_scaled | ( | double | x | ) |
Definition at line 1929 of file thirdparty.cpp.
References chbevl(), DEBUG_ENTRY, i1_A, and i1_B.
double bessel_j0 | ( | double | x | ) |
Definition at line 708 of file thirdparty.cpp.
References b0_PP, b0_PQ, b0_QP, b0_QQ, b0_RP, b0_RQ, DEBUG_ENTRY, DR1, DR2, p1evl(), PIO4, polevl(), and SQ2OPI.
Referenced by bessel_jn(), and bessel_y0().
double bessel_j1 | ( | double | x | ) |
Definition at line 939 of file thirdparty.cpp.
References b1_PP, b1_PQ, b1_QP, b1_QQ, b1_RP, b1_RQ, DEBUG_ENTRY, p1evl(), polevl(), SQ2OPI, THPIO4, Z1, and Z2.
Referenced by bessel_jn(), and bessel_y1().
double bessel_jn | ( | int | n, |
double | x ) |
Definition at line 1042 of file thirdparty.cpp.
References bessel_j0(), bessel_j1(), DEBUG_ENTRY, factorial(), powi(), and sign().
double bessel_k0 | ( | double | x | ) |
Definition at line 1359 of file thirdparty.cpp.
References bessel_i0(), cdEXIT, chbevl(), DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, k0_A, and k0_B.
Referenced by S62_Therm_ave_coll_str().
double bessel_k0_scaled | ( | double | x | ) |
Definition at line 1382 of file thirdparty.cpp.
References bessel_i0(), cdEXIT, chbevl(), DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, k0_A, and k0_B.
double bessel_k1 | ( | double | x | ) |
Definition at line 1535 of file thirdparty.cpp.
References bessel_i1(), cdEXIT, chbevl(), DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, k1_A, and k1_B.
Referenced by S62_Therm_ave_coll_str().
double bessel_k1_scaled | ( | double | x | ) |
Definition at line 1557 of file thirdparty.cpp.
References bessel_i1(), cdEXIT, chbevl(), DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, k1_A, and k1_B.
double bessel_y0 | ( | double | x | ) |
Definition at line 746 of file thirdparty.cpp.
References b0_PP, b0_PQ, b0_QP, b0_QQ, b0_YP, b0_YQ, bessel_j0(), cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, p1evl(), PIO4, polevl(), SQ2OPI, and TWOOPI.
Referenced by bessel_yn().
double bessel_y1 | ( | double | x | ) |
Definition at line 966 of file thirdparty.cpp.
References b1_PP, b1_PQ, b1_QP, b1_QQ, b1_YP, b1_YQ, bessel_j1(), cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, p1evl(), polevl(), SQ2OPI, THPIO4, and TWOOPI.
Referenced by bessel_yn().
double bessel_yn | ( | int | n, |
double | x ) |
Definition at line 1177 of file thirdparty.cpp.
References bessel_y0(), bessel_y1(), cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, and sign().
complex< double > cdgamma | ( | complex< double > | x | ) |
Definition at line 432 of file thirdparty.cpp.
References DEBUG_ENTRY.
Referenced by DoSutherland(), and Hypergeometric2F1().
|
inline |
Definition at line 2734 of file thirdparty.cpp.
Referenced by bessel_i0(), bessel_i0_scaled(), bessel_i1(), bessel_i1_scaled(), bessel_k0(), bessel_k0_scaled(), bessel_k1(), and bessel_k1_scaled().
|
inline |
Definition at line 3137 of file thirdparty.cpp.
References max(), min(), N_DAWSON, order(), tbl_dawson, and TotalInsanity().
Referenced by FastVoigtH().
double ellpk | ( | double | x | ) |
Definition at line 2041 of file thirdparty.cpp.
References C1, cdEXIT, DEBUG_ENTRY, elk_P, elk_Q, EXIT_FAILURE, ioQQQ, and polevl().
Referenced by StarkCollTransProb_VF01().
double erfce | ( | double | x | ) |
double expn | ( | int | n, |
double | x ) |
expn, returns exponential integral,
n | is order, 1 for first integral integral |
x | is argument, must be positive |
Definition at line 2121 of file thirdparty.cpp.
References BIG, cdEXIT, DEBUG_ENTRY, EULER, EXIT_FAILURE, factorial(), ioQQQ, is_odd(), MAXLOG, and powi().
Referenced by k2DampArg::operator()(), ParseDrive(), and SanityCheckBegin().
double factorial | ( | long | n | ) |
factorial: compute n! by lookup in table of predefined factorials
Definition at line 356 of file thirdparty.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, NPRE_FACTORIAL, and pre_factorial.
Referenced by bessel_jn(), bhG(), bhg(), DoSutherland(), expn(), fsff(), and hrii().
Definition at line 3171 of file thirdparty.cpp.
References ASSERT, dawson(), DEBUG_ENTRY, dsexp(), order(), pow2(), and SQRTPI.
Referenced by VoigtH().
long genrand_int31 | ( | void | ) |
Definition at line 2918 of file thirdparty.cpp.
References next_state(), nexxt, and nleft.
unsigned long genrand_int32 | ( | void | ) |
Definition at line 2901 of file thirdparty.cpp.
References next_state(), nexxt, and nleft.
Referenced by genrand_res53().
double genrand_real1 | ( | void | ) |
Definition at line 2935 of file thirdparty.cpp.
References next_state(), nexxt, and nleft.
double genrand_real2 | ( | void | ) |
Definition at line 2953 of file thirdparty.cpp.
References next_state(), nexxt, and nleft.
double genrand_real3 | ( | void | ) |
Definition at line 2971 of file thirdparty.cpp.
References next_state(), nexxt, and nleft.
Referenced by RandGauss().
double genrand_res53 | ( | void | ) |
Definition at line 2989 of file thirdparty.cpp.
References genrand_int32().
Definition at line 3257 of file thirdparty.cpp.
References a0, DEBUG_ENTRY, e2(), and h2.
Referenced by VoigtH().
void init_by_array | ( | unsigned long | init_key[], |
int | key_length ) |
Definition at line 2853 of file thirdparty.cpp.
References init_genrand(), initf, N, nleft, and state.
void init_genrand | ( | unsigned long | s | ) |
Definition at line 2834 of file thirdparty.cpp.
References initf, N, nleft, and state.
Referenced by init_by_array(), next_state(), ParseAtomH2(), ParseAtomISO(), and ParseSet().
double lfactorial | ( | long | n | ) |
lfactorial: compute log10(n!), this sroutine cahes its results for efficiency
Definition at line 399 of file thirdparty.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, t_lfact::get_lfact(), Singleton< t_lfact >::Inst(), and ioQQQ.
Referenced by bhg_log(), bhG_mx(), hrii_log(), and log10_fsff().
bool linfit | ( | long | n, |
const double | xorg[], | ||
const double | yorg[], | ||
double & | a, | ||
double & | siga, | ||
double & | b, | ||
double & | sigb ) |
Definition at line 46 of file thirdparty.cpp.
References ASSERT, DEBUG_ENTRY, and pow2().
Referenced by iter_track::deriv(), and iter_track::zero_fit().
STATIC void MD5_Transform | ( | uint32 * | digest, |
const uint32 * | in ) |
Definition at line 3624 of file thirdparty.cpp.
Referenced by MD5string().
string MD5datafile | ( | const char * | fnam, |
access_scheme | scheme = AS_DATA_ONLY ) |
non-standard MD5 algorithm that skips eol characters and comments lines
Definition at line 3444 of file thirdparty.cpp.
References DEBUG_ENTRY, MD5string(), mode_r, and open_data().
Referenced by t_continuum::t_continuum().
string MD5file | ( | const char * | fnam, |
access_scheme | scheme = AS_DATA_ONLY ) |
calculate the MD5 sum of a file
Definition at line 3425 of file thirdparty.cpp.
References DEBUG_ENTRY, MD5string(), mode_r, and open_data().
string MD5string | ( | const string & | str | ) |
calculate the MD5 sum of a string
Definition at line 3461 of file thirdparty.cpp.
References ASSERT, cpu, DEBUG_ENTRY, MD5_Transform(), MD5swap(), and state.
Referenced by MD5datafile(), and MD5file().
STATIC uint32 MD5swap | ( | uint32 | word | ) |
Definition at line 3528 of file thirdparty.cpp.
References DEBUG_ENTRY, and STATIC.
Referenced by MD5string().
|
inline |
|
static |
Definition at line 2879 of file thirdparty.cpp.
References init_genrand(), initf, M, N, nexxt, nleft, state, and TWIST().
Referenced by genrand_int31(), genrand_int32(), genrand_real1(), genrand_real2(), and genrand_real3().
|
inline |
Definition at line 2660 of file thirdparty.cpp.
References N.
Referenced by bessel_j0(), bessel_j1(), bessel_y0(), bessel_y1(), and erfce().
|
inline |
Definition at line 2638 of file thirdparty.cpp.
References N.
Referenced by bessel_j0(), bessel_j1(), bessel_y0(), bessel_y1(), ellpk(), and erfce().
|
inline |
Definition at line 3619 of file thirdparty.cpp.
|
inline |
Definition at line 2823 of file thirdparty.cpp.
References MATRIX_A, and MIXBITS().
Referenced by next_state().
|
static |
Definition at line 616 of file thirdparty.cpp.
Referenced by bessel_j0(), and bessel_y0().
|
static |
Definition at line 626 of file thirdparty.cpp.
Referenced by bessel_j0(), and bessel_y0().
|
static |
Definition at line 636 of file thirdparty.cpp.
Referenced by bessel_j0(), and bessel_y0().
|
static |
Definition at line 647 of file thirdparty.cpp.
Referenced by bessel_j0(), and bessel_y0().
|
static |
Definition at line 685 of file thirdparty.cpp.
Referenced by bessel_j0().
|
static |
Definition at line 692 of file thirdparty.cpp.
Referenced by bessel_j0().
|
static |
Definition at line 658 of file thirdparty.cpp.
Referenced by bessel_y0().
|
static |
Definition at line 669 of file thirdparty.cpp.
Referenced by bessel_y0().
|
static |
Definition at line 871 of file thirdparty.cpp.
Referenced by bessel_j1(), and bessel_y1().
|
static |
Definition at line 881 of file thirdparty.cpp.
Referenced by bessel_j1(), and bessel_y1().
|
static |
Definition at line 891 of file thirdparty.cpp.
Referenced by bessel_j1(), and bessel_y1().
|
static |
Definition at line 902 of file thirdparty.cpp.
Referenced by bessel_j1(), and bessel_y1().
|
static |
Definition at line 852 of file thirdparty.cpp.
Referenced by bessel_j1().
|
static |
Definition at line 859 of file thirdparty.cpp.
Referenced by bessel_j1().
|
static |
Definition at line 913 of file thirdparty.cpp.
Referenced by bessel_y1().
|
static |
Definition at line 922 of file thirdparty.cpp.
Referenced by bessel_y1().
|
static |
Definition at line 2118 of file thirdparty.cpp.
|
static |
Definition at line 2039 of file thirdparty.cpp.
Referenced by ellpk(), Hydcs123(), and ILAENV().
|
static |
Definition at line 681 of file thirdparty.cpp.
Referenced by bessel_j0().
|
static |
Definition at line 683 of file thirdparty.cpp.
Referenced by bessel_j0().
|
static |
Definition at line 2009 of file thirdparty.cpp.
Referenced by ellpk().
|
static |
Definition at line 2024 of file thirdparty.cpp.
Referenced by ellpk().
|
static |
Definition at line 2354 of file thirdparty.cpp.
Referenced by erfce().
|
static |
Definition at line 2365 of file thirdparty.cpp.
Referenced by erfce().
|
static |
Definition at line 2376 of file thirdparty.cpp.
Referenced by erfce().
|
static |
Definition at line 2384 of file thirdparty.cpp.
Referenced by erfce().
|
static |
Definition at line 1657 of file thirdparty.cpp.
Referenced by bessel_i0(), and bessel_i0_scaled().
|
static |
Definition at line 1697 of file thirdparty.cpp.
Referenced by bessel_i0(), and bessel_i0_scaled().
|
static |
Definition at line 1840 of file thirdparty.cpp.
Referenced by bessel_i1(), and bessel_i1_scaled().
|
static |
Definition at line 1879 of file thirdparty.cpp.
Referenced by bessel_i1(), and bessel_i1_scaled().
|
static |
Definition at line 2830 of file thirdparty.cpp.
Referenced by init_by_array(), init_genrand(), and next_state().
|
static |
Definition at line 1311 of file thirdparty.cpp.
Referenced by bessel_k0(), and bessel_k0_scaled().
|
static |
Definition at line 1331 of file thirdparty.cpp.
Referenced by bessel_k0(), and bessel_k0_scaled().
|
static |
Definition at line 1485 of file thirdparty.cpp.
Referenced by bessel_k1(), and bessel_k1_scaled().
|
static |
Definition at line 1506 of file thirdparty.cpp.
Referenced by bessel_k1(), and bessel_k1_scaled().
|
static |
Definition at line 2818 of file thirdparty.cpp.
Referenced by MIXBITS().
|
static |
Definition at line 2815 of file thirdparty.cpp.
Referenced by DGEMM(), DGER(), DGETF2(), DGETRF(), DTRSM(), getrf_wrapper(), iso_state_lifetime(), next_state(), pah2_fun(), and pah3_fun().
|
static |
Definition at line 2816 of file thirdparty.cpp.
Referenced by TWIST().
|
static |
Definition at line 2117 of file thirdparty.cpp.
Referenced by expn().
|
static |
Definition at line 2814 of file thirdparty.cpp.
Referenced by Badnell_rec_init(), DGEMM(), DGER(), DGETF2(), DGETRF(), DGETRS(), DLASWP(), DTRSM(), getrf_wrapper(), getrs_wrapper(), HyperfineCreate(), init_by_array(), init_genrand(), next_state(), p1evl(), polevl(), and read_SH98_He1_cross_sections().
const int N_DAWSON = 100 |
Definition at line 3002 of file thirdparty.cpp.
Referenced by dawson().
|
static |
Definition at line 2831 of file thirdparty.cpp.
Referenced by genrand_int31(), genrand_int32(), genrand_real1(), genrand_real2(), genrand_real3(), and next_state().
|
static |
Definition at line 2829 of file thirdparty.cpp.
Referenced by genrand_int31(), genrand_int32(), genrand_real1(), genrand_real2(), genrand_real3(), init_by_array(), init_genrand(), next_state(), and partx().
|
static |
Definition at line 706 of file thirdparty.cpp.
Referenced by bessel_j0(), and bessel_y0().
|
static |
Definition at line 181 of file thirdparty.cpp.
Referenced by factorial().
|
static |
Definition at line 705 of file thirdparty.cpp.
Referenced by bessel_j0(), bessel_j1(), bessel_y0(), and bessel_y1().
|
static |
Definition at line 2828 of file thirdparty.cpp.
|
static |
Definition at line 3006 of file thirdparty.cpp.
Referenced by dawson().
|
static |
Definition at line 937 of file thirdparty.cpp.
Referenced by bessel_j1(), and bessel_y1().
|
static |
Definition at line 704 of file thirdparty.cpp.
Referenced by bessel_y0(), and bessel_y1().
|
static |
Definition at line 2817 of file thirdparty.cpp.
Referenced by MIXBITS().
|
static |
Definition at line 934 of file thirdparty.cpp.
Referenced by bessel_j1().
|
static |
Definition at line 935 of file thirdparty.cpp.
Referenced by bessel_j1().