![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
this class provides the controller_geo features to COMPASS More...
#include <sutra_controller_geo.h>
Public Member Functions | |
sutra_controller_geo (CarmaContext *context, long nactu, long Nphi, float delay, SutraDms *dms, int *idx_dms, int ndm, int *idx_centro, int ncentro, bool wfs_direction) | |
sutra_controller_geo (const sutra_controller_geo &controller) | |
~sutra_controller_geo () | |
string | get_type () |
cusparseHandle_t | cusparse_handle () |
int | load_Btt (Tcomp *Btt_pzt, Tcomp *Btt_TT) |
int | load_mgain (Tcomp *mgain) |
int | comp_dphi (SutraSource *target, bool wfs_direction) |
int | comp_com () |
!!! YOU MUST set d_centroids before calling it!!!! More... | |
int | init_proj (SutraDms *dms, int *indx_dm, Tcomp *unitpervolt, int *indx_pup) |
int | init_proj_sparse (SutraDms *dms, int *indx_dm, Tcomp *unitpervolt, int *indx_pup, int *indx_mpup, bool roket) |
![]() | |
SutraController (CarmaContext *context, int nvalid, int nslope, int nactu, float delay, SutraDms *dms, int *idx_dms, int ndm, int *idx_centro, int ncentro) | |
virtual | ~SutraController () |
int | nactu () |
int | nslope () |
cublasHandle_t | cublas_handle () |
void | init_voltage () |
int | set_centroids_ref (Tcomp *centroids_ref) |
int | add_perturb_voltage (string name, float *perturb, int N) |
int | set_perturb_voltage (string name, float *perturb, int N) |
int | remove_perturb_voltage (string name) |
int | reset_perturb_voltage () |
int | enable_perturb_voltage (string name) |
int | disable_perturb_voltage (string name) |
int | set_com (float *com, int nElem) |
int | set_open_loop (int open_loop_status, bool rst=true) |
int | clip_commands () |
int | comp_voltage () |
int | comp_latency () |
int | set_delay (float delay) |
int | set_volt_min (float volt_min) |
int | set_volt_max (float volt_max) |
int | set_val_max (float val_max) |
int | set_gain (float gain) |
int | reset_coms () |
int | command_delay () |
int | add_perturb () |
Additional Inherited Members | |
![]() | |
mutex | comp_voltage_mutex |
this class provides the controller_geo features to COMPASS
Definition at line 48 of file sutra_controller_geo.h.
sutra_controller_geo< Tcomp, Tout >::sutra_controller_geo | ( | CarmaContext * | context, |
long | nactu, | ||
long | Nphi, | ||
float | delay, | ||
SutraDms * | dms, | ||
int * | idx_dms, | ||
int | ndm, | ||
int * | idx_centro, | ||
int | ncentro, | ||
bool | wfs_direction | ||
) |
sutra_controller_geo< Tcomp, Tout >::sutra_controller_geo | ( | const sutra_controller_geo< Tcomp, Tout > & | controller | ) |
sutra_controller_geo< Tcomp, Tout >::~sutra_controller_geo | ( | ) |
|
virtual |
!!! YOU MUST set d_centroids before calling it!!!!
Implements SutraController< Tcomp, Tout >.
int sutra_controller_geo< Tcomp, Tout >::comp_dphi | ( | SutraSource * | target, |
bool | wfs_direction | ||
) |
cusparseHandle_t sutra_controller_geo< Tcomp, Tout >::cusparse_handle | ( | ) |
|
virtual |
Implements SutraController< Tcomp, Tout >.
int sutra_controller_geo< Tcomp, Tout >::init_proj | ( | SutraDms * | dms, |
int * | indx_dm, | ||
Tcomp * | unitpervolt, | ||
int * | indx_pup | ||
) |
int sutra_controller_geo< Tcomp, Tout >::init_proj_sparse | ( | SutraDms * | dms, |
int * | indx_dm, | ||
Tcomp * | unitpervolt, | ||
int * | indx_pup, | ||
int * | indx_mpup, | ||
bool | roket | ||
) |
int sutra_controller_geo< Tcomp, Tout >::load_Btt | ( | Tcomp * | Btt_pzt, |
Tcomp * | Btt_TT | ||
) |
int sutra_controller_geo< Tcomp, Tout >::load_mgain | ( | Tcomp * | mgain | ) |
CarmaObj<double>* sutra_controller_geo< Tcomp, Tout >::d_compdouble |
Definition at line 61 of file sutra_controller_geo.h.
CarmaObj<float>* sutra_controller_geo< Tcomp, Tout >::d_compfloat |
Definition at line 62 of file sutra_controller_geo.h.
CarmaObj<Tcomp>* sutra_controller_geo< Tcomp, Tout >::d_gain |
Definition at line 53 of file sutra_controller_geo.h.
CarmaObj<Tcomp>* sutra_controller_geo< Tcomp, Tout >::d_geocov |
Definition at line 60 of file sutra_controller_geo.h.
CarmaObj<Tcomp>* sutra_controller_geo< Tcomp, Tout >::d_geocovTT |
Definition at line 64 of file sutra_controller_geo.h.
CarmaSparseObj<double>* sutra_controller_geo< Tcomp, Tout >::d_IFsparse |
Definition at line 59 of file sutra_controller_geo.h.
CarmaObj<int>* sutra_controller_geo< Tcomp, Tout >::d_indx_mpup |
Definition at line 58 of file sutra_controller_geo.h.
CarmaObj<int>* sutra_controller_geo< Tcomp, Tout >::d_indx_pup |
Definition at line 57 of file sutra_controller_geo.h.
CarmaObj<double>* sutra_controller_geo< Tcomp, Tout >::d_phi |
Definition at line 55 of file sutra_controller_geo.h.
CarmaObj<Tcomp>* sutra_controller_geo< Tcomp, Tout >::d_phif |
Definition at line 56 of file sutra_controller_geo.h.
CarmaObj<Tcomp>* sutra_controller_geo< Tcomp, Tout >::d_proj |
Definition at line 54 of file sutra_controller_geo.h.
CarmaObj<Tcomp>* sutra_controller_geo< Tcomp, Tout >::d_TT |
Definition at line 63 of file sutra_controller_geo.h.
long sutra_controller_geo< Tcomp, Tout >::Nphi |
Definition at line 50 of file sutra_controller_geo.h.
int sutra_controller_geo< Tcomp, Tout >::Ntt |
Definition at line 51 of file sutra_controller_geo.h.