COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
SutraLGS Class Reference

this class provides the lgs features to COMPASS More...

#include <sutra_lgs.h>

Collaboration diagram for SutraLGS:

Public Member Functions

 SutraLGS (CarmaContext *context, CarmaObj< float > *d_lgskern, CarmaObj< cuFloatComplex > *d_ftlgskern, map< vector< int >, cufftHandle * > ftlgskern_plans, long nvalid, long npix, long nmaxhr)
 
 ~SutraLGS ()
 
int lgs_init (int nprof, float hg, float h0, float deltah, float pixsie, float *doffaxis, float *prof1d, float *profcum, float *beam, cuFloatComplex *ftbeam, float *azimuth)
 
int load_prof (float *prof1d, float *profcum, float hg, float h0, float deltah)
 
int lgs_update (CarmaDevice *device)
 
int lgs_makespot (CarmaDevice *device, int nin)
 
int load_kernels (float *h_lgskern, CarmaDevice *device)
 

Public Attributes

int device
 
long nvalid
 
long npix
 
long nmaxhr
 
float hg
 
float h0
 
float deltah
 
float pixsize
 
long nprof
 
cufftHandle * ftlgskern_plan
 
CarmaObj< float > * d_doffaxis
 
CarmaObj< float > * d_azimuth
 
CarmaObj< float > * d_prof1d
 
CarmaObj< float > * d_profcum
 
CarmaObj< cuFloatComplex > * d_prof2d
 
CarmaObj< float > * d_beam
 
CarmaObj< cuFloatComplex > * d_ftbeam
 
CarmaObj< float > * d_lgskern
 
CarmaObj< cuFloatComplex > * d_ftlgskern
 
CarmaContextcurrent_context
 

Detailed Description

this class provides the lgs features to COMPASS

Author
COMPASS Team https://github.com/ANR-COMPASS
Version
5.0.0
Date
2011/01/28

Definition at line 53 of file sutra_lgs.h.

Constructor & Destructor Documentation

◆ SutraLGS()

SutraLGS::SutraLGS ( CarmaContext context,
CarmaObj< float > *  d_lgskern,
CarmaObj< cuFloatComplex > *  d_ftlgskern,
map< vector< int >, cufftHandle * >  ftlgskern_plans,
long  nvalid,
long  npix,
long  nmaxhr 
)

◆ ~SutraLGS()

SutraLGS::~SutraLGS ( )

Member Function Documentation

◆ lgs_init()

int SutraLGS::lgs_init ( int  nprof,
float  hg,
float  h0,
float  deltah,
float  pixsie,
float *  doffaxis,
float *  prof1d,
float *  profcum,
float *  beam,
cuFloatComplex *  ftbeam,
float *  azimuth 
)

◆ lgs_makespot()

int SutraLGS::lgs_makespot ( CarmaDevice device,
int  nin 
)

◆ lgs_update()

int SutraLGS::lgs_update ( CarmaDevice device)

◆ load_kernels()

int SutraLGS::load_kernels ( float *  h_lgskern,
CarmaDevice device 
)

◆ load_prof()

int SutraLGS::load_prof ( float *  prof1d,
float *  profcum,
float  hg,
float  h0,
float  deltah 
)

Member Data Documentation

◆ current_context

CarmaContext* SutraLGS::current_context

Definition at line 76 of file sutra_lgs.h.

◆ d_azimuth

CarmaObj<float>* SutraLGS::d_azimuth

Definition at line 67 of file sutra_lgs.h.

◆ d_beam

CarmaObj<float>* SutraLGS::d_beam

Definition at line 71 of file sutra_lgs.h.

◆ d_doffaxis

CarmaObj<float>* SutraLGS::d_doffaxis

Definition at line 66 of file sutra_lgs.h.

◆ d_ftbeam

CarmaObj<cuFloatComplex>* SutraLGS::d_ftbeam

Definition at line 72 of file sutra_lgs.h.

◆ d_ftlgskern

CarmaObj<cuFloatComplex>* SutraLGS::d_ftlgskern

Definition at line 74 of file sutra_lgs.h.

◆ d_lgskern

CarmaObj<float>* SutraLGS::d_lgskern

Definition at line 73 of file sutra_lgs.h.

◆ d_prof1d

CarmaObj<float>* SutraLGS::d_prof1d

Definition at line 68 of file sutra_lgs.h.

◆ d_prof2d

CarmaObj<cuFloatComplex>* SutraLGS::d_prof2d

Definition at line 70 of file sutra_lgs.h.

◆ d_profcum

CarmaObj<float>* SutraLGS::d_profcum

Definition at line 69 of file sutra_lgs.h.

◆ deltah

float SutraLGS::deltah

Definition at line 61 of file sutra_lgs.h.

◆ device

int SutraLGS::device

Definition at line 55 of file sutra_lgs.h.

◆ ftlgskern_plan

cufftHandle* SutraLGS::ftlgskern_plan

Definition at line 65 of file sutra_lgs.h.

◆ h0

float SutraLGS::h0

Definition at line 60 of file sutra_lgs.h.

◆ hg

float SutraLGS::hg

Definition at line 59 of file sutra_lgs.h.

◆ nmaxhr

long SutraLGS::nmaxhr

Definition at line 58 of file sutra_lgs.h.

◆ npix

long SutraLGS::npix

Definition at line 57 of file sutra_lgs.h.

◆ nprof

long SutraLGS::nprof

Definition at line 63 of file sutra_lgs.h.

◆ nvalid

long SutraLGS::nvalid

Definition at line 56 of file sutra_lgs.h.

◆ pixsize

float SutraLGS::pixsize

Definition at line 62 of file sutra_lgs.h.


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