MAOS
Multithreaded Adaptive Optics Simulator
fdpcg.h File Reference

Functions

fdpcg_tfdpcg_prepare (const parms_t *parms, const recon_t *recon, const powfs_t *powfs, mapcell *atm)
 
void fdpcg_precond (dcell **xout, const void *A, const dcell *xin)
 
void fdpcg_free (fdpcg_t *fdpcg)
 

Detailed Description

Fourier Domain Preconditioner for Tomography step.

Function Documentation

◆ fdpcg_prepare()

fdpcg_t* fdpcg_prepare ( const parms_t parms,
const recon_t recon,
const powfs_t powfs,
mapcell atm 
)

Prepare data for Tomography Fourier Domain Preconditioner. atm is used to provide wind velocity information.

◆ fdpcg_precond()

void fdpcg_precond ( dcell **  xout,
const void *  A,
const dcell xin 
)

Apply the Fourier domain preconditioner. Preconditioner solves xout=M^-1*xin where M is the preconditioner matrix. Here M^-1 is applied in Fourier Domain via xout=IFFT(M*FFT(xin));

◆ fdpcg_free()

void fdpcg_free ( fdpcg_t fdpcg)

Free fdpcg related data structs.