MAOS
Multithreaded Adaptive Optics Simulator
laplacian.h File Reference

Functions

void apply_laplacian_map (dmat *opdout, const dmat *opd, real dx, real r0, real weight)
 
dspmklaplacian_map (int nx, int ny, real dx, real r0, real weight)
 
dspmklaplacian_loc (loc_t *loc, real r0, real weight)
 
real laplacian_coef (real r0, real weight, real dx)
 

Detailed Description

Compute laplacian operator for turbulence covariance approximation.

Function Documentation

◆ apply_laplacian_map()

void apply_laplacian_map ( dmat opdout,
const dmat opd,
real  dx,
real  r0,
real  weight 
)

Apply L2 directly to map with periodic condition.

◆ mklaplacian_map()

dsp* mklaplacian_map ( int  nx,
int  ny,
real  dx,
real  r0,
real  weight 
)

build laplacian on square map using periodic conditions

◆ mklaplacian_loc()

dsp* mklaplacian_loc ( loc_t loc,
real  r0,
real  weight 
)

Generate laplacian on loc_t

◆ laplacian_coef()

real laplacian_coef ( real  r0,
real  weight,
real  dx 
)

compute the factor for the laplacian