 |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Go to the documentation of this file.
42 #ifndef _SUTRA_TSCREEN_H_
43 #define _SUTRA_TSCREEN_H_
88 int init_screen(
float *h_A,
float *h_B,
unsigned int *h_istencilx,
89 unsigned int *h_istencily,
int seed);
102 int nalias,
int nx,
int ny,
int block_size);
106 #endif // _SUTRA_TSCREEN_H_
CarmaObj< float > * d_ytmp
int set_deltax(float deltax)
int gene_vonkarman(cuFloatComplex *d_odata, float *d_idata, float k0, int nalias, int nx, int ny, int block_size)
int init_vk(int seed, int pupd)
int init_screen(float *h_A, float *h_B, unsigned int *h_istencilx, unsigned int *h_istencily, int seed)
cudaChannelFormatDesc channel_desc
int norm_pscreen(float *d_odata, float *d_idata, int nx, int ny, float norm_fact, CarmaDevice *device)
CarmaObj< cuFloatComplex > * d_tscreen_c
CarmaObj< float > * d_tscreen_o
int set_istencilx(unsigned int *istencil)
this class provides the turbulent screen features to COMPASS
CarmaObj< unsigned int > * d_istencilx
int generate_vk(float l0, int nalias)
SutraTurbuScreen(CarmaContext *context, long size, long size2, float amplitude, float altitude, float windspeed, float winddir, float deltax, float deltay, int device)
CarmaObj< float > * d_noise
this class provides the context in which CarmaObj are created
int set_deltay(float deltay)
CarmaObj< float > * d_mat_b
CarmaContext * current_context
int set_istencily(unsigned int *istencil)
CarmaObj< float > * d_mat_a
CarmaObj< unsigned int > * d_istencily
this class provides the phase features to COMPASS