MAOS
Multithreaded Adaptive Optics Simulator
cufit_grid Class Reference
+ Inheritance diagram for cufit_grid:
+ Collaboration diagram for cufit_grid:

Public Member Functions

 cufit_grid (const parms_t *parms=0, const recon_t *recon=0, const curecon_geom *_grid=0)
 
virtual void R (curcell &out, Real beta, curcell &xin, Real alpha, stream_t &stream)
 
virtual void L (curcell &out, Real beta, const curcell &xin, Real alpha, stream_t &stream)
 
virtual void Rt (curcell &out, Real beta, const curcell &xin, Real alpha, stream_t &stream)
 
- Public Member Functions inherited from cusolve_cg
 cusolve_cg (int _maxit=0, int _cgwarm=0)
 
void operator() (curcell &xout, Real beta, const curcell &xin, Real alpha, stream_t &stream)
 
virtual Real solve (curcell &xout, const curcell &xin, stream_t &stream)
 
void Pre (curcell &xout, const curcell &xin, stream_t &stream)
 

Protected Member Functions

void do_hxp (const curcell &xin, stream_t &stream)
 
void do_hxpt (const curcell &xout, Real alpha, stream_t &stream)
 
void do_ha (const curcell &xin, stream_t &stream)
 
void do_hat (curcell &xout, Real alpha, stream_t &stream)
 

Protected Attributes

const curecon_geomgrid
 
int nfit
 
int idealfit
 
cugridcell acmap
 
curcell dmcache
 
curcell xcache
 
curcell opdfit
 
curcell opdfit2
 
curmat opdfitv
 
curmat opdfit2v
 
curmat fitwt
 
curmat fitNW
 
curmat dotNW
 
culoc_t floc
 
dir_tdir
 
cusp actslave
 
map2map hxp
 
map2map hxp0
 
map2map hxp1
 
map2map ha
 
map2map ha0
 
map2map ha1
 
- Protected Attributes inherited from cusolve_cg
cusolve_cgpreprecond
 

Member Function Documentation

◆ do_hxp()

void cufit_grid::do_hxp ( const curcell &  xin,
stream_t stream 
)
protected

do HXp operation, opdfit+=Hxp*xin

◆ do_hxpt()

void cufit_grid::do_hxpt ( const curcell &  xout,
Real  alpha,
stream_t stream 
)
protected

do HXp' operation, xout+=alpha*Hxp'*opdfit2

◆ do_ha()

void cufit_grid::do_ha ( const curcell &  xin,
stream_t stream 
)
protected

opdfit+=Ha*xin;

◆ do_hat()

void cufit_grid::do_hat ( curcell &  xout,
Real  alpha,
stream_t stream 
)
protected

xout+=alpha*HA'*opdfit2

Field Documentation

◆ idealfit

int cufit_grid::idealfit
protected

Use input from real turbulence instead of tomography output

◆ opdfit

curcell cufit_grid::opdfit
protected

OPDs defined on ploc for fitting.

◆ opdfit2

curcell cufit_grid::opdfit2
protected

OPDs defined on ploc for fitting.

◆ opdfitv

curmat cufit_grid::opdfitv
protected

Concatenated version of opdfit. 1 column for each direction

◆ opdfit2v

curmat cufit_grid::opdfit2v
protected

Concatenated version of opdfit2. 1 column for each direction


The documentation for this class was generated from the following files: