GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
LensPlaneTree Class Reference

A LensPlane with a TreeQuad on it to calculate the deflection caused by field lenses. More...

#include <planes.h>

Inheritance diagram for LensPlaneTree:
Collaboration diagram for LensPlaneTree:

Public Member Functions

 LensPlaneTree (float z, LensHalo **my_halos, IndexType Nhalos, PosType my_sigma_background, PosType my_inv_screening_scale=0)
 
 LensPlaneTree (const LensPlaneTree &p)
 
 LensPlaneTree (LensPlaneTree &&p)
 
LensPlaneTreeoperator= (const LensPlaneTree &p)
 
LensPlaneTreeoperator= (LensPlaneTree &&p)
 
void force (PosType *alpha, KappaType *kappa, KappaType *gamma, KappaType *phi, PosType *xx)
 
void addHalo (LensHalo *halo)
 
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
 Get the halos on this plane that are wthin rmax of ray[].
 
- Public Member Functions inherited from LensPlane
 LensPlane (float redshift)
 

Additional Inherited Members

- Public Attributes inherited from LensPlane
float z
 

Detailed Description

A LensPlane with a TreeQuad on it to calculate the deflection caused by field lenses.

Member Function Documentation

◆ addHalo()

void LensPlaneTree::addHalo ( LensHalo * halo)
virtual

Implements LensPlane.

◆ force()

void LensPlaneTree::force ( PosType * alpha,
KappaType * kappa,
KappaType * gamma,
KappaType * phi,
PosType * xx )
virtual

Implements LensPlane.

◆ getHalos() [1/2]

std::vector< LensHalo * > LensPlaneTree::getHalos ( )
virtual

Implements LensPlane.

◆ getHalos() [2/2]

std::vector< const LensHalo * > LensPlaneTree::getHalos ( ) const
virtual

Implements LensPlane.

◆ getNeighborHalos()

void LensPlaneTree::getNeighborHalos ( PosType ray[],
PosType rmax,
std::vector< LensHalo * > & neighbors ) const
virtual

Get the halos on this plane that are wthin rmax of ray[].

Reimplemented from LensPlane.

◆ removeHalo()

void LensPlaneTree::removeHalo ( LensHalo * halo)
virtual

Implements LensPlane.


The documentation for this class was generated from the following files: