muMECH
1.0
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include "legendreIntegrals.h"
#include "gelib.h"
#include "macros.h"
Go to the source code of this file.
Namespaces | |
mumech | |
Macros | |
#define | RF_ERRTOL 0.0025 |
#define | RF_TINY ( DBL_MIN * 5. ) |
#define | RF_BIG ( DBL_MAX / 5. ) |
#define | RF_THIRD ( 1.0/3.0 ) |
#define | RF_C1 ( 1.0/24.0 ) |
#define | RF_C2 0.1 |
#define | RF_C3 ( 3.0/44.0 ) |
#define | RF_C4 ( 1.0/14.0 ) |
#define | RD_ERRTOL 0.0015 |
#define | RD_TINY ( 2. * pow( DBL_MAX, (-2./3.) ) ) |
#define | RD_BIG ( 0.1 * RD_ERRTOL * pow( DBL_MIN, (-2./3.) ) ) |
#define | RD_C1 ( 3.0/14.0 ) |
#define | RD_C2 ( 1.0/6.0 ) |
#define | RD_C3 ( 9.0/22.0 ) |
#define | RD_C4 ( 3.0/26.0 ) |
#define | RD_C5 ( 0.25 * RD_C3 ) |
#define | RD_C6 ( 1.5 * RD_C4 ) |
#define | RJ_ERRTOL 0.0015 |
#define | RJ_TINY ( 2. * pow( DBL_MIN, ( 1./3. ) ) ) |
#define | RJ_BIG ( pow( DBL_MAX, ( 1./3. ) ) / 5. ) |
#define | RJ_C1 ( 3.0/14.0 ) |
#define | RJ_C2 ( 1.0/3.0 ) |
#define | RJ_C3 ( 3.0/22.0 ) |
#define | RJ_C4 ( 3.0/26.0 ) |
#define | RJ_C5 ( 0.75 * RJ_C3 ) |
#define | RJ_C6 ( 1.5 * RJ_C4 ) |
#define | RJ_C7 ( 0.5 * RJ_C2 ) |
#define | RJ_C8 ( RJ_C3 + RJ_C3 ) |
#define | RC_ERRTOL 0.0012 |
#define | RC_TINY ( DBL_MIN * 5. ) |
#define | RC_SQRTNY ( sqrt( RC_TINY ) ) |
#define | RC_BIG ( DBL_MAX / 5. ) |
#define | RC_TNBG ( RC_TINY * RC_BIG ) |
#define | RC_COMP1 ( 2.236/RC_SQRTNY ) |
#define | RC_COMP2 ( RC_TNBG * RC_TNBG/25.0 ) |
#define | RC_THIRD ( 1.0/3.0) |
#define | RC_C1 0.3 |
#define | RC_C2 ( 1.0/7.0 ) |
#define | RC_C3 0.375 |
#define | RC_C4 ( 9.0/22.0 ) |
#define RC_BIG ( DBL_MAX / 5. ) |
Definition at line 334 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_C1 0.3 |
Definition at line 339 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_C2 ( 1.0/7.0 ) |
Definition at line 340 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_C3 0.375 |
Definition at line 341 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_C4 ( 9.0/22.0 ) |
Definition at line 342 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_COMP1 ( 2.236/RC_SQRTNY ) |
Definition at line 336 of file legendreIntegrals.cpp.
Definition at line 337 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_ERRTOL 0.0012 |
Definition at line 328 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_SQRTNY ( sqrt( RC_TINY ) ) |
Definition at line 333 of file legendreIntegrals.cpp.
#define RC_THIRD ( 1.0/3.0) |
Definition at line 338 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
#define RC_TINY ( DBL_MIN * 5. ) |
Definition at line 332 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rc().
Definition at line 335 of file legendreIntegrals.cpp.
#define RD_BIG ( 0.1 * RD_ERRTOL * pow( DBL_MIN, (-2./3.) ) ) |
Definition at line 165 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_C1 ( 3.0/14.0 ) |
Definition at line 166 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_C2 ( 1.0/6.0 ) |
Definition at line 167 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_C3 ( 9.0/22.0 ) |
Definition at line 168 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_C4 ( 3.0/26.0 ) |
Definition at line 169 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_C5 ( 0.25 * RD_C3 ) |
Definition at line 170 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_C6 ( 1.5 * RD_C4 ) |
Definition at line 171 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_ERRTOL 0.0015 |
Definition at line 161 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RD_TINY ( 2. * pow( DBL_MAX, (-2./3.) ) ) |
Definition at line 164 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rd().
#define RF_BIG ( DBL_MAX / 5. ) |
Definition at line 110 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RF_C1 ( 1.0/24.0 ) |
Definition at line 112 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RF_C2 0.1 |
Definition at line 113 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RF_C3 ( 3.0/44.0 ) |
Definition at line 114 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RF_C4 ( 1.0/14.0 ) |
Definition at line 115 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RF_ERRTOL 0.0025 |
Definition at line 106 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RF_THIRD ( 1.0/3.0 ) |
Definition at line 111 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RF_TINY ( DBL_MIN * 5. ) |
Definition at line 109 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rf().
#define RJ_BIG ( pow( DBL_MAX, ( 1./3. ) ) / 5. ) |
Definition at line 228 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_C1 ( 3.0/14.0 ) |
Definition at line 229 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_C2 ( 1.0/3.0 ) |
Definition at line 230 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_C3 ( 3.0/22.0 ) |
Definition at line 231 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_C4 ( 3.0/26.0 ) |
Definition at line 232 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_C5 ( 0.75 * RJ_C3 ) |
Definition at line 233 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_C6 ( 1.5 * RJ_C4 ) |
Definition at line 234 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_C7 ( 0.5 * RJ_C2 ) |
Definition at line 235 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
Definition at line 236 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_ERRTOL 0.0015 |
Definition at line 224 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().
#define RJ_TINY ( 2. * pow( DBL_MIN, ( 1./3. ) ) ) |
Definition at line 227 of file legendreIntegrals.cpp.
Referenced by mumech::legendreIntegrals::rj().