BSCOUPLER

Relevant source files

bscoupler.h, bscoupler.c

Class overview

BSCoupler
BSlabModeArray bma
ModeArray sma
Polarization bspol
double g

double x0, x1
double z0, z1
int Nx
int Nz
Interval X
Interval Z
double hx
double hz

bool set_amp_flag
Cmatrix amp
Cmatrix p_amp
Cmatrix T
Cmatrix Tz
Cmatrix S
Cmatrix Sz
bool inspect_flag

Cvector IBSAmp
Cmatrix Oi, Oo

BSCoupler( BSCoupler &bsc_)
BSCoupler()
BSCoupler(BSlabModeArray bma_, ModeArray sma_, double g_, double x0_, double x1_, int Nx_, double z0_, double z1_, int Nz_)
BSCoupler( BSlabModeArray bma_, ModeArray sma_, double g_, double z0_, double z1_, int Nz_)

BSCoupler& operator=(const BSCoupler& bsc_)

double theta(double z)

Complex coverlap( Complex *field_1, Complex *field_2, Complex *field_1_mp, Complex *field_2_mp )
Complex coverlap_eps( double *eps, double *eps_mp, Complex *field_1, Complex *field_2, Complex *field_1_mp, Complex *field_2_mp )

Cmatrix f_TE(double z, int message)
Cmatrix f_TM(double z, int message )
Cmatrix get_transfer_matrix(Cvector initial_Amp, int info)
Cmatrix get_scattering_matrix(int info)
Cmatrix reduced_S(void)
void correction_matrix(double z, Cmatrix &O)
void correction_matrix_field_match(double z, Cmatrix &O)

void set_amp(Cvector iIBSAmp)
Cvector get_amp(double z)

bool inspect(void)

Complex field(Fcomp cp, double x, double z)
double field(Fcomp cp, Afo foa, double x, double z)
Complex mirror_field(Fcomp cp, double x, double z)
Dmatrix field(Fcomp cp, Afo foa, Interval dwx, int npx, Interval dwz, int npz)

void fwrite( char *filename, int spec)
void mfile(Fcomp cp, Afo foa, Interval disp, double z, int np, char ext0, char ext1, char pltype)
void mfile(Fcomp cp, Afo foa, double x0, double x1, int Nx, double z0, double z1, int Nz, char ext0, char ext1, char pltype)
void plot(Fcomp cp, Afo foa, double xbeg, double xend, double zbeg, double zend, int npx, int npz, char ext0, char ext1)

Description of class members