GratingLayer1D: get and set parameters


Obtain and change parameters

void GratingLayer1D::setPolMode (string polarization)
 set polarisation mode - TE or TM
string GratingLayer1D::getPolMode (void)
 get the polarisation mode
void GratingLayer1D::setThickness (double)
 set the thickness of the layer
double GratingLayer1D::getThickness (void)
 get the thickness of the layer
void GratingLayer1D::setLambda (double)
double GratingLayer1D::getLambda (void)
void GratingLayer1D::setN0 (complex< double >)
 set the refractive index of the halfspace on the side of the incident light
complex< double > GratingLayer1D::getN0 (void)
 get the refractive index of the halfspace on the side of the incident light
void GratingLayer1D::setPeriod (double)
 set the size of the grating
double GratingLayer1D::getPeriod (void)
 get the size of the grating
void GratingLayer1D::setnPermSegs (int)
 set number of pixels per layer
int GratingLayer1D::getnPermSegs (void)
 get number of pixels per layer
void GratingLayer1D::setTransPt (Vector< double >)
 set the transition point between each pixel (might be necessary if pixelsize are not uniform)
double GratingLayer1D::getTransPt (int)
 get the transition points between the pixels
void GratingLayer1D::setAngle (double)
 set the angle of incidence
double GratingLayer1D::getAngle (void)
 set the angle of incidence
void GratingLayer1D::setRefInd (Vector< complex< double > >)
 set the refractive indices of the pixels
complex< double > GratingLayer1D::getRefInd (int)
 get the refractive index of the nth pixel
int GratingLayer1D::getnOrds (void)
 get the number of spatial Fourier coefficients to calculate the permitivity and the field
complex< double > GratingLayer1D::getPermCoeff (int)
 get the Fourier coefficient of the permitivity (order = (nOrds-1)/2+n; input parameter n)
complex< double > GratingLayer1D::getAlpha (int)
 get the square root of the n_th eigenvalue
complex< double > GratingLayer1D::getEigVal (int)
 get the n_th eigenvalue
complex< double > GratingLayer1D::getEigMat (int, int)
 get one element of the eigenvalue matrix
complex< double > GratingLayer1D::getGamma (int)
 returns the n_th order of gamma = n0*k*sin(theta)+2*Pi*n/d (Ben Layet, eq 2.18)
complex< double > GratingLayer1D::getEigVecE (int vec, int comp)
 the eigenvector of the electric/magnetic field
complex< double > GratingLayer1D::getEigVecH (int vec, int comp)
complex< double > GratingLayer1D::getInvEigVecE (int vec, int comp)
complex< double > GratingLayer1D::getInvEigVecH (int vec, int comp)

Function Documentation

complex< double > GratingLayer1D::getAlpha ( int  order  )  [inherited]

get the square root of the n_th eigenvalue

Definition at line 105 of file GratingLayer1D.cpp.

References GratingLayer1D::alpha.

double GratingLayer1D::getAngle ( void   )  [inherited]

set the angle of incidence

complex< double > GratingLayer1D::getEigMat ( int  row,
int  column 
) [inherited]

get one element of the eigenvalue matrix

Definition at line 107 of file GratingLayer1D.cpp.

References GratingLayer1D::eigMat.

complex< double > GratingLayer1D::getEigVal ( int  order  )  [inherited]

get the n_th eigenvalue

Definition at line 106 of file GratingLayer1D.cpp.

References GratingLayer1D::eigVal.

complex< double > GratingLayer1D::getEigVecE ( int  vec,
int  comp 
) [inherited]

the eigenvector of the electric/magnetic field

Definition at line 110 of file GratingLayer1D.cpp.

References GratingLayer1D::eigVecE.

complex< double > GratingLayer1D::getEigVecH ( int  vec,
int  comp 
) [inherited]

Definition at line 111 of file GratingLayer1D.cpp.

References GratingLayer1D::eigVecH.

complex< double > GratingLayer1D::getGamma ( int  order  )  [inherited]

returns the n_th order of gamma = n0*k*sin(theta)+2*Pi*n/d (Ben Layet, eq 2.18)

gamma[n] = n0*k*sin(theta)+2*Pi*n/d (Ben Layet, eq 2.18)

Definition at line 109 of file GratingLayer1D.cpp.

References GratingLayer1D::gamma.

complex< double > GratingLayer1D::getInvEigVecE ( int  vec,
int  comp 
) [inherited]

Definition at line 112 of file GratingLayer1D.cpp.

References GratingLayer1D::invEigVecE.

complex< double > GratingLayer1D::getInvEigVecH ( int  vec,
int  comp 
) [inherited]

Definition at line 113 of file GratingLayer1D.cpp.

References GratingLayer1D::invEigVecH.

double GratingLayer1D::getLambda ( void   )  [inherited]

Returns:
the wavelength [LU]

Definition at line 66 of file GratingLayer1D.cpp.

References GratingLayer1D::lambda.

complex< double > GratingLayer1D::getN0 ( void   )  [inherited]

get the refractive index of the halfspace on the side of the incident light

Returns:
the refractive index of the halfspace of the incident light

Definition at line 71 of file GratingLayer1D.cpp.

References GratingLayer1D::n0.

int GratingLayer1D::getnOrds ( void   )  [inherited]

get the number of spatial Fourier coefficients to calculate the permitivity and the field

Returns:
the number of Fourier orders used in the calculations

Definition at line 77 of file GratingLayer1D.cpp.

References GratingLayer1D::nOrds.

int GratingLayer1D::getnPermSegs ( void   )  [inherited]

get number of pixels per layer

Returns:
the number of pixels in the layer

Definition at line 89 of file GratingLayer1D.cpp.

References GratingLayer1D::nPermSegs.

double GratingLayer1D::getPeriod ( void   )  [inherited]

get the size of the grating

Returns:
The period of the grating

Definition at line 75 of file GratingLayer1D.cpp.

References GratingLayer1D::period.

complex< double > GratingLayer1D::getPermCoeff ( int  order  )  [inherited]

get the Fourier coefficient of the permitivity (order = (nOrds-1)/2+n; input parameter n)

Definition at line 104 of file GratingLayer1D.cpp.

References GratingLayer1D::maxPermCoeff, and GratingLayer1D::permCoeff.

Referenced by GratingLayer1D::writeIndex().

string GratingLayer1D::getPolMode ( void   )  [inherited]

get the polarisation mode

Returns:
the polarisation mode

Definition at line 57 of file GratingLayer1D.cpp.

References GratingLayer1D::polMode.

complex< double > GratingLayer1D::getRefInd ( int  comp  )  [inherited]

get the refractive index of the nth pixel

Definition at line 102 of file GratingLayer1D.cpp.

References GratingLayer1D::refInd.

double GratingLayer1D::getThickness ( void   )  [inherited]

get the thickness of the layer

Returns:
the thickness of the layer

Definition at line 62 of file GratingLayer1D.cpp.

References GratingLayer1D::thickness.

double GratingLayer1D::getTransPt ( int  comp  )  [inherited]

get the transition points between the pixels

Parameters:
comp the number of the transition point
Returns:
the transition point

Definition at line 96 of file GratingLayer1D.cpp.

References GratingLayer1D::transPt.

void GratingLayer1D::setAngle ( double  angle  )  [inherited]

set the angle of incidence

Parameters:
angle the angle of incidence in degree

Definition at line 99 of file GratingLayer1D.cpp.

References GratingLayer1D::theta.

Referenced by GratingLayer1D::setParameters().

void GratingLayer1D::setLambda ( double  wavelength  )  [inherited]

Parameters:
wavelength the wavelength of the incident light [LU]

Definition at line 64 of file GratingLayer1D.cpp.

References GratingLayer1D::lambda.

Referenced by GratingLayer1D::setParameters().

void GratingLayer1D::setN0 ( complex< double >  n  )  [inherited]

set the refractive index of the halfspace on the side of the incident light

Parameters:
n the refractive index of the halfspace of the incident light

Definition at line 69 of file GratingLayer1D.cpp.

References GratingLayer1D::n0.

Referenced by GratingLayer1D::setParameters().

void GratingLayer1D::setnPermSegs ( int  segments  )  [inherited]

set number of pixels per layer

ATTENTION: setnPermSegs deletes the old index distribution

Parameters:
segments the new number of pixels in this layer

Definition at line 82 of file GratingLayer1D.cpp.

References GratingLayer1D::nPermSegs, GratingLayer1D::refInd, and GratingLayer1D::transPt.

void GratingLayer1D::setPeriod ( double  per  )  [inherited]

set the size of the grating

Parameters:
per The period of the grating

Definition at line 73 of file GratingLayer1D.cpp.

References GratingLayer1D::period.

Referenced by GratingLayer1D::setParameters().

void GratingLayer1D::setPolMode ( string  polarisation  )  [inherited]

set polarisation mode - TE or TM

Parameters:
polarisation the polarisation mode of the light ("TE" or "TM")

Definition at line 55 of file GratingLayer1D.cpp.

References GratingLayer1D::polMode.

Referenced by GratingLayer1D::setParameters().

void GratingLayer1D::setRefInd ( Vector< complex< double > >  index  )  [inherited]

set the refractive indices of the pixels

Definition at line 101 of file GratingLayer1D.cpp.

References GratingLayer1D::nPermSegs, and GratingLayer1D::refInd.

Referenced by GratingLayer1D::setParameters().

void GratingLayer1D::setThickness ( double  layerThickness  )  [inherited]

set the thickness of the layer

Parameters:
layerThickness the layer thickness [LU]

Definition at line 60 of file GratingLayer1D.cpp.

References GratingLayer1D::thickness.

Referenced by GratingLayer1D::setParameters().

void GratingLayer1D::setTransPt ( Vector< double >  point  )  [inherited]

set the transition point between each pixel (might be necessary if pixelsize are not uniform)

Parameters:
point the transition points between the pixels in fraction of the period

Definition at line 91 of file GratingLayer1D.cpp.

References GratingLayer1D::nPermSegs, and GratingLayer1D::transPt.

Referenced by GratingLayer1D::setParameters().


Generated on Thu May 7 16:28:03 2009 for FMM by  doxygen 1.5.5