GLAMERDOC++
Gravitational Lensing Code Library
|
A LensPlane with a list of LensHalo's in it.
More...
#include <planes.h>
Public Member Functions | |
LensPlaneSingular (float z, LensHaloHndl *my_halos, IndexType Nhalos) | |
LensPlaneSingular (const LensPlaneSingular &p) | |
LensPlaneSingular (LensPlaneSingular &&p) | |
LensPlaneSingular & | operator= (const LensPlaneSingular &p) |
LensPlaneSingular & | operator= (LensPlaneSingular &&p) |
void | force (PosType *alpha, KappaType *kappa, KappaType *gamma, KappaType *phi, PosType *xx) |
returns the lensing quantities of a ray in physical coordinates | |
void | addHalo (LensHalo *halo) |
It is assumed that the position of halo is in physical Mpc. | |
void | removeHalo (LensHalo *halo) |
std::vector< LensHalo * > | getHalos () |
std::vector< const LensHalo * > | getHalos () const |
void | getNeighborHalos (PosType ray[], PosType rmax, std::vector< LensHalo * > &neighbors) const |
![]() | |
LensPlane (float redshift) | |
Additional Inherited Members | |
![]() | |
float | z |
A LensPlane with a list of LensHalo's in it.
The deflection is calculated by direct summation which can be slow for large numbers of LensHalo's.
Main lenses are put onto these planes when they are added to the Lens.
|
virtual |
It is assumed that the position of halo is in physical Mpc.
Implements LensPlane.
|
virtual |
returns the lensing quantities of a ray in physical coordinates
Warning : Be careful, the sign of alpha is changed after the call of force_halo !
phi | in mass |
Implements LensPlane.
|
virtual |
Reimplemented from LensPlane.