 |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Go to the documentation of this file.
42 #ifndef _SUTRA_GROOT_H_
43 #define _SUTRA_GROOT_H_
91 float gsangle,
float *vdt,
float *Htheta,
float *L0,
92 float *winddir,
float *
scale,
float *pzt2tt,
float *TTPfilter,
93 float *Nact,
float *xpos,
float *ypos,
float fc);
96 float scale,
float *xpos,
float *ypos,
float fc,
float d,
106 template <
class T_data>
108 T_data *tab_int_y, T_data *xpos, T_data *ypos,
109 T_data vdt, T_data Htheta, T_data L0, T_data fc,
110 T_data winddir, T_data gsangle, T_data scale,
int Ntab,
112 template <
class T_data>
113 int compute_Ca(T_data *CaXX, T_data *CaYY,
int nssp, T_data *tab_int_x,
114 T_data *tab_int_y, T_data *xpos, T_data *ypos, T_data offset,
115 T_data d, T_data fc, T_data scale, T_data weight,
int Ntab,
117 template <
class T_data>
120 template <
class T_data>
121 void cumsum(T_data *odata, T_data *idata,
int N);
122 template <
class T_data>
SutraGroot(CarmaContext *context, int device, int nssp, float *weights, float scale, float *xpos, float *ypos, float fc, float d, int npts)
CarmaHostObj< float > * h_vdt
int compute_Ca(T_data *CaXX, T_data *CaYY, int nssp, T_data *tab_int_x, T_data *tab_int_y, T_data *xpos, T_data *ypos, T_data offset, T_data d, T_data fc, T_data scale, T_data weight, int Ntab, CarmaDevice *device)
void cumsum(T_data *odata, T_data *idata, int N)
CarmaHostObj< float > * h_Htheta
this file provides the cublas features to CarmaObj
CarmaHostObj< float > * h_winddir
CarmaContext * current_context
CarmaObj< float > * d_ypos
CarmaObj< float > * d_xpos
cublasHandle_t cublas_handle()
CarmaHostObj< float > * h_L0
CarmaObj< float > * d_tab_int_y
CarmaObj< float > * d_Cerr
void init_common(CarmaContext *context, int device, float *xpos, float *ypos, int N, float fc)
CarmaObj< float > * d_pzt2tt
this class provides the context in which CarmaObj are created
cublasHandle_t get_cublas_handle()
CarmaObj< float > * d_tab_int_x
CarmaHostObj< float > * h_weights
this class provides the groot features to COMPASS
SutraGroot(CarmaContext *context, int device, int nactus, int nlayers, float gsangle, float *vdt, float *Htheta, float *L0, float *winddir, float *scale, float *pzt2tt, float *TTPfilter, float *Nact, float *xpos, float *ypos, float fc)
int compute_Cerr_layer(T_data *Cerr, int N, T_data *tab_int_x, T_data *tab_int_y, T_data *xpos, T_data *ypos, T_data vdt, T_data Htheta, T_data L0, T_data fc, T_data winddir, T_data gsangle, T_data scale, int Ntab, CarmaDevice *device)
CarmaObj< float > * d_CaXX
int add_transpose(T_data *Cerr, int N, CarmaDevice *device)
CarmaObj< float > * d_TTPfilter
CarmaObj< float > * d_Nact
int tab_u831J0(T_data *tab_int_x, T_data *tab_int_y, int N, CarmaDevice *device)
CarmaObj< float > * d_CaYY
CarmaHostObj< float > * h_scale