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

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

#include <sutra_groot.h>

Collaboration diagram for SutraGroot:

Public Member Functions

 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)
 
 SutraGroot (CarmaContext *context, int device, int nssp, float *weights, float scale, float *xpos, float *ypos, float fc, float d, int npts)
 
 ~SutraGroot ()
 
cublasHandle_t cublas_handle ()
 
void init_common (CarmaContext *context, int device, float *xpos, float *ypos, int N, float fc)
 
int compute_Cerr ()
 
int compute_Calias ()
 

Public Attributes

CarmaContextcurrent_context
 
int device
 
int nactus
 
int nssp
 
int nlayers
 
int npts
 
float gsangle
 
float fc
 
float scale
 
float d
 
CarmaHostObj< float > * h_vdt
 
CarmaHostObj< float > * h_Htheta
 
CarmaHostObj< float > * h_L0
 
CarmaHostObj< float > * h_winddir
 
CarmaHostObj< float > * h_scale
 
CarmaHostObj< float > * h_weights
 
CarmaObj< float > * d_Cerr
 
CarmaObj< float > * d_TT
 
CarmaObj< float > * d_CaXX
 
CarmaObj< float > * d_CaYY
 
CarmaObj< float > * d_TTPfilter
 
CarmaObj< float > * d_pzt2tt
 
CarmaObj< float > * d_Nact
 
CarmaObj< float > * d_xpos
 
CarmaObj< float > * d_ypos
 
CarmaObj< float > * d_tab_int_x
 
CarmaObj< float > * d_tab_int_y
 

Detailed Description

this class provides the groot features to COMPASS

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

Definition at line 51 of file sutra_groot.h.

Constructor & Destructor Documentation

◆ SutraGroot() [1/2]

SutraGroot::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 
)

◆ SutraGroot() [2/2]

SutraGroot::SutraGroot ( CarmaContext context,
int  device,
int  nssp,
float *  weights,
float  scale,
float *  xpos,
float *  ypos,
float  fc,
float  d,
int  npts 
)

◆ ~SutraGroot()

SutraGroot::~SutraGroot ( )

Member Function Documentation

◆ compute_Calias()

int SutraGroot::compute_Calias ( )

◆ compute_Cerr()

int SutraGroot::compute_Cerr ( )

◆ cublas_handle()

cublasHandle_t SutraGroot::cublas_handle ( )

Definition at line 100 of file sutra_groot.h.

100 { return current_context->get_cublas_handle(); }
Here is the call graph for this function:

◆ init_common()

void SutraGroot::init_common ( CarmaContext context,
int  device,
float *  xpos,
float *  ypos,
int  N,
float  fc 
)

Member Data Documentation

◆ current_context

CarmaContext* SutraGroot::current_context

Definition at line 53 of file sutra_groot.h.

◆ d

float SutraGroot::d

Definition at line 63 of file sutra_groot.h.

◆ d_CaXX

CarmaObj<float>* SutraGroot::d_CaXX

Definition at line 75 of file sutra_groot.h.

◆ d_CaYY

CarmaObj<float>* SutraGroot::d_CaYY

Definition at line 76 of file sutra_groot.h.

◆ d_Cerr

CarmaObj<float>* SutraGroot::d_Cerr

Definition at line 72 of file sutra_groot.h.

◆ d_Nact

CarmaObj<float>* SutraGroot::d_Nact

Definition at line 81 of file sutra_groot.h.

◆ d_pzt2tt

CarmaObj<float>* SutraGroot::d_pzt2tt

Definition at line 80 of file sutra_groot.h.

◆ d_tab_int_x

CarmaObj<float>* SutraGroot::d_tab_int_x

Definition at line 86 of file sutra_groot.h.

◆ d_tab_int_y

CarmaObj<float>* SutraGroot::d_tab_int_y

Definition at line 87 of file sutra_groot.h.

◆ d_TT

CarmaObj<float>* SutraGroot::d_TT

Definition at line 74 of file sutra_groot.h.

◆ d_TTPfilter

CarmaObj<float>* SutraGroot::d_TTPfilter

Definition at line 79 of file sutra_groot.h.

◆ d_xpos

CarmaObj<float>* SutraGroot::d_xpos

Definition at line 82 of file sutra_groot.h.

◆ d_ypos

CarmaObj<float>* SutraGroot::d_ypos

Definition at line 83 of file sutra_groot.h.

◆ device

int SutraGroot::device

Definition at line 54 of file sutra_groot.h.

◆ fc

float SutraGroot::fc

Definition at line 61 of file sutra_groot.h.

◆ gsangle

float SutraGroot::gsangle

Definition at line 60 of file sutra_groot.h.

◆ h_Htheta

CarmaHostObj<float>* SutraGroot::h_Htheta

Definition at line 66 of file sutra_groot.h.

◆ h_L0

CarmaHostObj<float>* SutraGroot::h_L0

Definition at line 67 of file sutra_groot.h.

◆ h_scale

CarmaHostObj<float>* SutraGroot::h_scale

Definition at line 69 of file sutra_groot.h.

◆ h_vdt

CarmaHostObj<float>* SutraGroot::h_vdt

Definition at line 65 of file sutra_groot.h.

◆ h_weights

CarmaHostObj<float>* SutraGroot::h_weights

Definition at line 70 of file sutra_groot.h.

◆ h_winddir

CarmaHostObj<float>* SutraGroot::h_winddir

Definition at line 68 of file sutra_groot.h.

◆ nactus

int SutraGroot::nactus

Definition at line 56 of file sutra_groot.h.

◆ nlayers

int SutraGroot::nlayers

Definition at line 58 of file sutra_groot.h.

◆ npts

int SutraGroot::npts

Definition at line 59 of file sutra_groot.h.

◆ nssp

int SutraGroot::nssp

Definition at line 57 of file sutra_groot.h.

◆ scale

float SutraGroot::scale

Definition at line 62 of file sutra_groot.h.


The documentation for this class was generated from the following file:
SutraGroot::current_context
CarmaContext * current_context
Definition: sutra_groot.h:53
CarmaContext::get_cublas_handle
cublasHandle_t get_cublas_handle()
Definition: carma_context.h:168