coffee
Coronagraph Optimization For Fast Exoplanet Exploration
PIAACMCsimul_achromFPMsol_eval.c File Reference

PIAA-type coronagraph design, run. More...

Functions

double PIAACMCsimul_achromFPMsol_eval (double *restrict fpmresp_array, double *restrict zonez_array, double *restrict dphadz_array, double *restrict outtmp_array, long vsize, long nbz, long nbl)
 

Variables

OPTSYSToptsyst
 optical system description More...
 
PIAACMCsimul_varType piaacmcsimul_var
 

Detailed Description

PIAA-type coronagraph design, run.

Can design both APLCMC and PIAACMC coronagraphs

Author
O. Guyon
Date
2017-12-23
Bug:
No known bugs.

Function Documentation

double PIAACMCsimul_achromFPMsol_eval ( double *restrict  fpmresp_array,
double *restrict  zonez_array,
double *restrict  dphadz_array,
double *restrict  outtmp_array,
long  vsize,
long  nbz,
long  nbl 
)

solves for focal plane mask solution using pre-computed zone responses

written to be fast, no checking of array sizes all arrays pre-allocated outside this function

Parameters
zonez_array
[in]fpmresp_arrayMask zones responses, double array
dphadz_array
[in]zonez_arrayZone thicknesses, double array
outtmp_array
[in]dphadz_arrayFor each lambda, pha = thickness x dphadt_array[lambdaindex]
vsize
[out]outtmp_arrayOutput temp array

Variable Documentation

OPTSYST* optsyst

optical system description

PIAACMCsimul_varType piaacmcsimul_var