![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
this class provides the dm features to COMPASS More...
#include <sutra_dm.h>
Public Member Functions | |
| cublasHandle_t | cublas_handle () |
| cusparseHandle_t | cusparse_handle () |
| SutraDm (CarmaContext *context, const char *type, float altitude, long dim, long nactus, long influsize, long ninflupos, long n_npoints, float push4imat, long nord, float dx, float dy, float thetaML, float G, int device) | |
| ~SutraDm () | |
| int | nact () |
| int | pzt_loadarrays (float *influ, int *influpos, int *npoints, int *istart, int *xoff, int *yoff) |
| int | kl_loadarrays (float *rabas, float *azbas, int *ord, float *cr, float *cp) |
| int | tt_loadarrays (float *influ) |
| int | reset_shape () |
| int | comp_shape () |
| int | comp_shape (uint16_t *comm) |
| int | comp_shape (float *comm) |
| int | comp_oneactu (int nactu, float ampli) |
| int | kl_floloadarrays (float *covmat, float *filter, float *evals, float *bas) |
| template<class T > | |
| int | get_IF (T *IF, int *indx_pup, long nb_pts, float ampli) |
| template<class T > | |
| int | get_IF_sparse (CarmaSparseObj< T > *&d_IFsparse, int *indx_pup, long nb_pts, float ampli, int puponly) |
| int | do_geomat (float *d_geocov, float *d_IF, long n_pts) |
| template<class T > | |
| int | do_geomat_from_sparse (T *d_geocov, CarmaSparseObj< T > *d_IFsparse) |
| int | DDiago (CarmaObj< float > *d_statcov, CarmaObj< float > *d_geocov) |
| int | compute_KLbasis (float *xpos, float *ypos, int *indx, long dim, float norm, float ampli) |
| int | piston_filt (CarmaObj< float > *d_statcov) |
| int | set_registration (float dx, float dy, float thetaML, float G) |
Public Attributes | |
| int | device |
| string | type |
| float | altitude |
| long | nactus |
| long | influsize |
| long | dim |
| float | push4imat |
| float | volt_min |
| float | volt_max |
| float | dx |
| float | dy |
| float | thetaML |
| float | G |
| uint16_t | val_max |
| SutraPhase * | d_shape |
| CarmaObj< float > * | d_com |
| CarmaObj< float > * | d_influ |
| CarmaObj< int > * | d_istart |
| CarmaObj< int > * | d_npoints |
| CarmaObj< int > * | d_influpos |
| CarmaObj< int > * | d_xoff |
| CarmaObj< int > * | d_yoff |
| CarmaObj< float > * | d_KLbasis |
| SutraKL * | d_kl |
| CarmaContext * | current_context |
this class provides the dm features to COMPASS
Definition at line 73 of file sutra_dm.h.
| SutraDm::SutraDm | ( | CarmaContext * | context, |
| const char * | type, | ||
| float | altitude, | ||
| long | dim, | ||
| long | nactus, | ||
| long | influsize, | ||
| long | ninflupos, | ||
| long | n_npoints, | ||
| float | push4imat, | ||
| long | nord, | ||
| float | dx, | ||
| float | dy, | ||
| float | thetaML, | ||
| float | G, | ||
| int | device | ||
| ) |
| SutraDm::~SutraDm | ( | ) |
| int SutraDm::comp_oneactu | ( | int | nactu, |
| float | ampli | ||
| ) |
| int SutraDm::comp_shape | ( | ) |
| int SutraDm::comp_shape | ( | float * | comm | ) |
| int SutraDm::comp_shape | ( | uint16_t * | comm | ) |
| int SutraDm::compute_KLbasis | ( | float * | xpos, |
| float * | ypos, | ||
| int * | indx, | ||
| long | dim, | ||
| float | norm, | ||
| float | ampli | ||
| ) |
| cublasHandle_t SutraDm::cublas_handle | ( | ) |
| cusparseHandle_t SutraDm::cusparse_handle | ( | ) |
| int SutraDm::do_geomat | ( | float * | d_geocov, |
| float * | d_IF, | ||
| long | n_pts | ||
| ) |
| int SutraDm::do_geomat_from_sparse | ( | T * | d_geocov, |
| CarmaSparseObj< T > * | d_IFsparse | ||
| ) |
| int SutraDm::get_IF | ( | T * | IF, |
| int * | indx_pup, | ||
| long | nb_pts, | ||
| float | ampli | ||
| ) |
| int SutraDm::get_IF_sparse | ( | CarmaSparseObj< T > *& | d_IFsparse, |
| int * | indx_pup, | ||
| long | nb_pts, | ||
| float | ampli, | ||
| int | puponly | ||
| ) |
| int SutraDm::kl_floloadarrays | ( | float * | covmat, |
| float * | filter, | ||
| float * | evals, | ||
| float * | bas | ||
| ) |
| int SutraDm::kl_loadarrays | ( | float * | rabas, |
| float * | azbas, | ||
| int * | ord, | ||
| float * | cr, | ||
| float * | cp | ||
| ) |
| int SutraDm::nact | ( | ) |
| int SutraDm::piston_filt | ( | CarmaObj< float > * | d_statcov | ) |
| int SutraDm::pzt_loadarrays | ( | float * | influ, |
| int * | influpos, | ||
| int * | npoints, | ||
| int * | istart, | ||
| int * | xoff, | ||
| int * | yoff | ||
| ) |
| int SutraDm::reset_shape | ( | ) |
| int SutraDm::set_registration | ( | float | dx, |
| float | dy, | ||
| float | thetaML, | ||
| float | G | ||
| ) |
| int SutraDm::tt_loadarrays | ( | float * | influ | ) |
| float SutraDm::altitude |
Definition at line 77 of file sutra_dm.h.
| CarmaContext* SutraDm::current_context |
Definition at line 112 of file sutra_dm.h.
| CarmaObj<float>* SutraDm::d_com |
Definition at line 93 of file sutra_dm.h.
| CarmaObj<float>* SutraDm::d_influ |
Definition at line 95 of file sutra_dm.h.
| CarmaObj<int>* SutraDm::d_influpos |
Definition at line 100 of file sutra_dm.h.
| CarmaObj<int>* SutraDm::d_istart |
Definition at line 97 of file sutra_dm.h.
| SutraKL* SutraDm::d_kl |
Definition at line 110 of file sutra_dm.h.
| CarmaObj<float>* SutraDm::d_KLbasis |
Definition at line 105 of file sutra_dm.h.
| CarmaObj<int>* SutraDm::d_npoints |
Definition at line 98 of file sutra_dm.h.
| SutraPhase* SutraDm::d_shape |
Definition at line 91 of file sutra_dm.h.
| CarmaObj<int>* SutraDm::d_xoff |
Definition at line 103 of file sutra_dm.h.
| CarmaObj<int>* SutraDm::d_yoff |
Definition at line 104 of file sutra_dm.h.
| int SutraDm::device |
Definition at line 75 of file sutra_dm.h.
| long SutraDm::dim |
Definition at line 80 of file sutra_dm.h.
| float SutraDm::dx |
Definition at line 84 of file sutra_dm.h.
| float SutraDm::dy |
Definition at line 85 of file sutra_dm.h.
| float SutraDm::G |
Definition at line 87 of file sutra_dm.h.
| long SutraDm::influsize |
Definition at line 79 of file sutra_dm.h.
| long SutraDm::nactus |
Definition at line 78 of file sutra_dm.h.
| float SutraDm::push4imat |
Definition at line 81 of file sutra_dm.h.
| float SutraDm::thetaML |
Definition at line 86 of file sutra_dm.h.
| string SutraDm::type |
Definition at line 76 of file sutra_dm.h.
| uint16_t SutraDm::val_max |
Definition at line 89 of file sutra_dm.h.
| float SutraDm::volt_max |
Definition at line 83 of file sutra_dm.h.
| float SutraDm::volt_min |
Definition at line 82 of file sutra_dm.h.