MAOS
Multithreaded Adaptive Optics Simulator
Loading...
Searching...
No Matches
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_geom * grid
int nfit
int idealtomo
cugridcell acmap
curcell dmcache
curcell xcache
curcell opdfit
curcell opdfit2
curmat opdfitv
curmat opdfit2v
curmat fitwt
curmat fitNW
curmat dotNW
culoc_t floc
dir_t * dir
cusp actslave
map2map hxp
map2map hxp0
map2map hxp1
map2map ha
map2map ha0
map2map ha1

Additional Inherited Members

Data Fields inherited from cusolve_cg
cusolve_cgpre * precond

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

◆ R()

void cufit_grid::R ( curcell & out,
Real beta,
curcell & xin,
Real alpha,
stream_t & stream )
virtual

Implements cusolve_r.

◆ L()

void cufit_grid::L ( curcell & out,
Real beta,
const curcell & xin,
Real alpha,
stream_t & stream )
virtual

Implements cusolve_cg.

◆ Rt()

void cufit_grid::Rt ( curcell & out,
Real beta,
const curcell & xin,
Real alpha,
stream_t & stream )
virtual

Implements cusolve_r.

Field Documentation

◆ idealtomo

int cufit_grid::idealtomo
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:
  • cuda/recon/fit.h
  • cuda/recon/fit.cu