#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <cfloat>
#include <stdexcept>
#include <list>
#include <math.h>
#include <assert.h>
#include <time.h>
#include <limits>
#include <cstring>
#include <string>
#include <sstream>
#include <vector>
#include <valarray>
#include <nr.h>
#include <nrD.h>
#include <cosmo.h>
#include <halo.h>
Go to the source code of this file.
|
|
#define | PI M_PI |
| |
|
#define | Grav 4.7788e-20 |
| |
|
#define | arcminTOradians 0.0002908882086657216 |
| |
|
#define | arcsecTOradians 0.000004848136811 |
| |
|
#define | degreesTOradians 0.01745329251994 |
| |
|
#define | hplanck 6.626068e-27 |
| |
|
#define | inv_hplanck 1.50919e26 |
| |
|
#define | kmpersecTOmpcperday 2.80003e-15 |
| |
|
#define | error_message |
| |
| #define | ERROR_MESSAGE() |
| |
|
#define | line_message |
| |
| #define | PRINT_LINE() |
| |
|
#define | boo_declare |
| |
|
#define | lensquant_declare |
| |
|
#define | PosType_declare |
| |
|
#define | IndexType_declare |
| |
|
#define | swap_declare |
| |
| #define | SWAP(a, b) |
| |
|
#define | treeNBdim 2 |
| |
|
#define | GLAMER_TEST_USES(t) |
| |
|
#define | GLAMER_TEST_FRIEND(t) |
| |
|
#define | MpcToSeconds (3.085677e22 / 2.99792458e8) |
| |
|
#define | SecondToDays (1. / 86400.) |
| |
|
#define | SecondToYears (1. / 86400. / 365.25) |
| |
|
|
typedef size_t | IndexType |
| |
|
typedef double | KappaType |
| |
|
| enum | Boo { NO
, YES
, MAYBE
} |
| |
| enum class | LensingVariable {
DELAYT
, ALPHA
, ALPHA1
, ALPHA2
,
KAPPA
, GAMMA
, GAMMA1
, GAMMA2
,
GAMMA3
, INVMAG
, PHI
, SurfBrightness
} |
| | output lensing variables More...
|
| |
◆ ERROR_MESSAGE
| #define ERROR_MESSAGE |
( |
| ) |
|
Value:std::cout << "ERROR: file: " << __FILE__ << " line: " << __LINE__ << std::endl;
◆ PRINT_LINE
Value:std::cout << "file: " << __FILE__ << " line: " << __LINE__ << std::endl;
◆ SWAP
Value:temp=(a);(a)=(b);(b)=temp;
◆ LensingVariable
output lensing variables
| Enumerator |
|---|
| DELAYT | time delay
|
| ALPHA | magnitude of deflection in radians
|
| ALPHA1 | x component of deflection
|
| ALPHA2 | y component of deflection
|
| KAPPA | convergence
|
| GAMMA | magnitude of shear
|
| GAMMA1 | first component of shear
|
| GAMMA2 | second component of shear
|
| GAMMA3 | third component of shear
|
| INVMAG | inverse of magnification
|
| PHI | lensing potential
|
| SurfBrightness | Surface brightness.
|