GLAMERDOC++
Gravitational Lensing Code Library
Macros | Typedefs | Enumerations
standard.h File Reference
#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>
Include dependency graph for standard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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()   std::cout << "ERROR: file: " << __FILE__ << " line: " << __LINE__ << std::endl;
 
#define line_message
 
#define PRINT_LINE()   std::cout << "file: " << __FILE__ << " line: " << __LINE__ << std::endl;
 
#define boo_declare
 
#define lensquant_declare
 
#define PosType_declare
 
#define IndexType_declare
 
#define swap_declare
 
#define SWAP(a, b)   temp=(a);(a)=(b);(b)=temp;
 
#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)
 

Typedefs

typedef double PosType
 
typedef size_t IndexType
 
typedef double KappaType
 

Enumerations

enum  Boo { NO, YES, MAYBE }
 
enum  LensingVariable {
  LensingVariable::DELAYT, LensingVariable::ALPHA, LensingVariable::ALPHA1, LensingVariable::ALPHA2,
  LensingVariable::KAPPA, LensingVariable::GAMMA, LensingVariable::GAMMA1, LensingVariable::GAMMA2,
  LensingVariable::GAMMA3, LensingVariable::INVMAG, LensingVariable::PHI, LensingVariable::SurfBrightness
}
 output lensing variables More...
 

Enumeration Type Documentation

◆ LensingVariable

enum LensingVariable
strong

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.