COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
sutra_gamora.h File Reference
#include <carma.h>
#include <carma_host_obj.h>
#include <carma_obj.h>
#include <carma_sparse_obj.h>
#include <map>
#include <vector>
Include dependency graph for sutra_gamora.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SutraGamora
 this class provides the gamora features to COMPASS More...
 

Functions

int fill_amplipup (cuFloatComplex *amplipup, float *phase, int *wherephase, float scale, int Npts, int nx, int Nx, int puponly, CarmaDevice *device)
 
int cumulpsf (float *d_odata, cuFloatComplex *d_idata, int N, CarmaDevice *device)
 
int abs2complex (cuFloatComplex *d_odata, cuFloatComplex *d_idata, int N, CarmaDevice *device)
 
int real (float *d_odata, cuFloatComplex *d_idata, int N, CarmaDevice *device)
 
int fill_mask (float *d_odata, float *d_idata, int N, int norm, CarmaDevice *device)
 
int modulus2 (float *d_odata, cuFloatComplex *d_idata, int N, CarmaDevice *device)
 
int pow2 (cuFloatComplex *d_odata, cuFloatComplex *d_idata, int N, CarmaDevice *device)
 
int fill_term1 (float *d_odata, cuFloatComplex *d_idata, cuFloatComplex *d_pupfft, int N, CarmaDevice *device)
 
int add2Dphi (cuFloatComplex *d_odata, float *d_term1, float *d_term2, float e, int N, CarmaDevice *device)
 
int computeOTFvii (float *d_otfVii, cuFloatComplex *d_Dphi, float *d_otftel, float *d_mask, float scale, int N, CarmaDevice *device)
 
int ifftscale (cuFloatComplex *d_odata, float scale, int N, CarmaDevice *device)
 

Function Documentation

◆ abs2complex()

int abs2complex ( cuFloatComplex *  d_odata,
cuFloatComplex *  d_idata,
int  N,
CarmaDevice device 
)

◆ add2Dphi()

int add2Dphi ( cuFloatComplex *  d_odata,
float *  d_term1,
float *  d_term2,
float  e,
int  N,
CarmaDevice device 
)

◆ computeOTFvii()

int computeOTFvii ( float *  d_otfVii,
cuFloatComplex *  d_Dphi,
float *  d_otftel,
float *  d_mask,
float  scale,
int  N,
CarmaDevice device 
)

◆ cumulpsf()

int cumulpsf ( float *  d_odata,
cuFloatComplex *  d_idata,
int  N,
CarmaDevice device 
)

◆ fill_amplipup()

int fill_amplipup ( cuFloatComplex *  amplipup,
float *  phase,
int *  wherephase,
float  scale,
int  Npts,
int  nx,
int  Nx,
int  puponly,
CarmaDevice device 
)

◆ fill_mask()

int fill_mask ( float *  d_odata,
float *  d_idata,
int  N,
int  norm,
CarmaDevice device 
)
Here is the caller graph for this function:

◆ fill_term1()

int fill_term1 ( float *  d_odata,
cuFloatComplex *  d_idata,
cuFloatComplex *  d_pupfft,
int  N,
CarmaDevice device 
)

◆ ifftscale()

int ifftscale ( cuFloatComplex *  d_odata,
float  scale,
int  N,
CarmaDevice device 
)

◆ modulus2()

int modulus2 ( float *  d_odata,
cuFloatComplex *  d_idata,
int  N,
CarmaDevice device 
)

◆ pow2()

int pow2 ( cuFloatComplex *  d_odata,
cuFloatComplex *  d_idata,
int  N,
CarmaDevice device 
)

◆ real()

int real ( float *  d_odata,
cuFloatComplex *  d_idata,
int  N,
CarmaDevice device 
)