4#ifndef _STANDARD_DECLARE_
5#define _STANDARD_DECLARE_
43#define Grav 4.7788e-20
46#ifndef arcsecTOradians
47#define arcminTOradians 0.0002908882086657216
50#ifndef arcsecTOradians
51#define arcsecTOradians 0.000004848136811
54#ifndef degreesTOradians
55#define degreesTOradians 0.01745329251994
59#define hplanck 6.626068e-27
63#define inv_hplanck 1.50919e26
66#ifndef kmpersecTOmpcperday
67#define kmpersecTOmpcperday 2.80003e-15
72#define ERROR_MESSAGE() std::cout << "ERROR: file: " << __FILE__ << " line: " << __LINE__ << std::endl;
77#define PRINT_LINE() std::cout << "file: " << __FILE__ << " line: " << __LINE__ << std::endl;
82typedef enum {NO, YES, MAYBE} Boo;
85#ifndef lensquant_declare
86#define lensquant_declare
105#ifndef PosType_declare
106#define PosType_declare
107typedef double PosType;
110#ifndef IndexType_declare
111#define IndexType_declare
112typedef size_t IndexType;
117#define SWAP(a,b) temp=(a);(a)=(b);(b)=temp;
125typedef double KappaType;
133#define GLAMER_TEST_USES(t)
134#define GLAMER_TEST_FRIEND(t)
138#define MpcToSeconds (3.085677e22 / 2.99792458e8)
143#define SecondToDays (1. / 86400.)
147#define SecondToYears (1. / 86400. / 365.25)
LensingVariable
output lensing variables
Definition standard.h:89
@ ALPHA
magnitude of deflection in radians
@ GAMMA2
second component of shear
@ GAMMA3
third component of shear
@ ALPHA2
y component of deflection
@ SurfBrightness
Surface brightness.
@ GAMMA1
first component of shear
@ GAMMA
magnitude of shear
@ ALPHA1
x component of deflection
@ INVMAG
inverse of magnification