30 #ifndef GRALE_PLUMMERLENS_H
32 #define GRALE_PLUMMERLENS_H
34 #include "graleconfig.h"
51 PlummerLensParams(
double mass,
double angularwidth) { lensmass = mass; angwidth = angularwidth; }
60 bool write(serut::SerializationInterface &si)
const;
61 bool read(serut::SerializationInterface &si);
63 double lensmass,angwidth;
74 double *pPotentialValue)
const;
76 bool getSuggestedScales(
double *pDeflectionScale,
double *pPotentialScale)
const;
77 bool getCLParameterCounts(
int *pNumIntParams,
int *pNumFloatParams)
const;
78 bool getCLParameters(
double deflectionScale,
double potentialScale,
int *pIntParams,
float *pFloatParams)
const;
79 std::string getCLProgram(std::string &subRoutineName)
const;
80 int getCLSubLenses()
const {
return 1; }
83 double getMassInside(
double thetaLength)
const;
84 double getProfileSurfaceMassDensity(
double thetaLength)
const;
86 double mass,angularwidth,angularwidth2;
91 #endif // GRALE_PLUMMERLENS_H