Integrator method factory. More...
Namespaces | |
namespace | amr1d |
The Adaptive Mesh Refinement code. | |
namespace | io |
Binary data file reading/writing, bdata import/export. | |
namespace | math |
Mathematics classes. | |
namespace | metric |
Classes for spherically symmetric metric. | |
namespace | multipole |
Multipole expansion classes and methods. | |
namespace | odesolver |
Ordinary differential equation solvers. | |
namespace | phys |
Implementation of physical PDE classes and initial conditions. | |
namespace | util |
Utility classes. | |
Classes | |
class | Exception |
Java-like exception class. More... | |
class | IllegalArgumentException |
Java-like illegal argument exception class. More... | |
class | IntArray |
Java-like int array. More... | |
class | StreamTokenizer |
Reads tokens from a stream. More... | |
class | Main |
ODE solver application. More... | |
class | Parameters |
Set of common parameters for initial conditions and PDEs. More... | |
Typedefs | |
typedef GREAL | GReal_t |
Real number type. | |
typedef std::complex< GReal_t > | GComplex_t |
Functions | |
void | copy (const tvalarray< IntArray > &source, tvalarray< IntArray > &dest) |
Copy (also realloc if necessary). | |
void | resize (tvalarray< IntArray > &arr, unsigned _n, IntArray value=IntArray()) |
Resize hyper-array and initialize all elements. | |
const GComplex_t | GI (0.0, 1.0) |
GReal_t | square (GReal_t x) |
Square function. | |
GComplex_t | square (GComplex_t x) |
Square function. | |
GReal_t | normsquare (GReal_t x) |
Normsquare function. | |
GReal_t | normsquare (GComplex_t x) |
Normsquare function. | |
Variables | |
const GReal_t | GNaN = NAN |
Mathematical constants partly taken from cmath GNU long double extension. | |
const GReal_t | GE = 2.7182818284590452353602874713526625L |
const GReal_t | GLog2E = 1.4426950408889634073599246810018921L |
const GReal_t | GLlog10E = 0.4342944819032518276511289189166051L |
const GReal_t | GLn2 = 0.6931471805599453094172321214581766L |
const GReal_t | GLn10 = 2.3025850929940456840179914546843642L |
const GReal_t | GPi = 3.1415926535897932384626433832795029L |
const GReal_t | GSqrtPi = 1.7724538509055160272981674833411452L |
const GReal_t | GPi_2 = 1.5707963267948966192313216916397514L |
const GReal_t | GPi_4 = 0.7853981633974483096156608458198757L |
const GReal_t | G1_Pi = 0.3183098861837906715377675267450287L |
const GReal_t | G2_Pi = 0.6366197723675813430755350534900574L |
const GReal_t | G2_SqrtPi = 1.1283791670955125738961589031215452L |
const GReal_t | GSqrt2 = 1.4142135623730950488016887242096981L |
const GReal_t | GSqrt1_2 = 0.7071067811865475244008443621048490L |
const GReal_t | G2Pi = 6.2831853071795864769252867665590058L |
const GReal_t | G1_2Pi = 0.1591549430918953357688837633725144L |
const GReal_t | GSqrt2Pi = 2.5066282746310005024157652848110452L |
const GReal_t | G1_Sqrt2Pi = 0.3989422804014326779399460599343819L |
const GReal_t | G4Pi = 12.5663706143591729538505735331180116L |
const GReal_t | G1_4Pi = 0.0795774715459476678844418816862572L |
const GReal_t | GSqrt4Pi = 3.5449077018110320545963349666822903L |
const GReal_t | G1_Sqrt4Pi = 0.2820947917738781434740397257803863L |
const GReal_t | GReal_EPSILON |
Smallest real number for which 1+epsilon != 1. |
Integrator method factory.
PDE/ODE factory.
Basic classes and data types.
typedef double gridripper::GReal_t |
Real number type.
It can be float, double or long double.
void gridripper::copy | ( | const tvalarray< IntArray > & | source, | |
tvalarray< IntArray > & | dest | |||
) | [inline] |
Copy (also realloc if necessary).
The instance for T==tvalarray<>.
GReal_t gridripper::normsquare | ( | GReal_t | x | ) | [inline] |
Normsquare function.
GReal_t gridripper::normsquare | ( | GComplex_t | x | ) | [inline] |
Normsquare function.
void gridripper::resize | ( | tvalarray< IntArray > & | arr, | |
unsigned | _n, | |||
IntArray | value = IntArray() | |||
) | [inline] |
Resize hyper-array and initialize all elements.
This is a hack by Andras Laszlo to make it work for tvalarray< IntArray >.
GComplex_t gridripper::square | ( | GComplex_t | x | ) | [inline] |
Square function.
GReal_t gridripper::square | ( | GReal_t | x | ) | [inline] |
Square function.
const GReal_t gridripper::GNaN = NAN |
Mathematical constants partly taken from cmath GNU long double extension.
sizeof(GReal_t) == 4? FLT_EPSILON : sizeof(GReal_t) == 8? DBL_EPSILON : LDBL_EPSILON
Smallest real number for which 1+epsilon != 1.