Grating2D: get and set parameters


get and set parameters

double Grating2D::getSizeX (void)
void Grating2D::setSizeX (double)
double Grating2D::getSizeY (void)
void Grating2D::setSizeY (double)
int Grating2D::getnLayers (void)
 get the number of layers
void Grating2D::setnLayers (int)
 change the number of layers
double Grating2D::getLambda (void)
 incident wavelength in vacuum [my m]
void Grating2D::setLambda (double)
double Grating2D::getTheta (void)
 angle to z-axis (incident angle) [degree]
void Grating2D::setTheta (double)
double Grating2D::getPhi (void)
 angle to x-axis [degree]
void Grating2D::setPhi (double)
complex< double > Grating2D::getN1 (void)
 refractive index of region 1 (incident region)
void Grating2D::setN1 (complex< double >)
complex< double > Grating2D::getN3 (void)
 refractive index of region 3 (transmission region)
void Grating2D::setN3 (complex< double >)
int Grating2D::getnOrds (void)
 number of Fourier orders (for x and y)
void Grating2D::setnOrds (int)
 set number of Fourier orders (for x and y)
complex< double > Grating2D::getR (int, int)
 the (i,j) coefficient of the reflection matrix
complex< double > Grating2D::getT (int, int)
 the (i,j) coefficient of the transmission matrix
complex< double > Grating2D::getAlphaT (int)
 the spatial frequency in x for the halfspace of the transmitted field
complex< double > Grating2D::getBetaT (int)
 the spatial frequency in y for the halfspace of the transmitted field
complex< double > Grating2D::getAlphaR (int)
 the spatial frequency in x for the halfspace of the incident and reflected field
complex< double > Grating2D::getBetaR (int)
 the spatial frequency in y for the halfspace of the incident and reflected field

Function Documentation

complex< double > Grating2D::getAlphaR ( int  n  )  [inherited]

the spatial frequency in x for the halfspace of the incident and reflected field

Returns:
alpha[n]: the n_th spatial frequency in x

Definition at line 341 of file Grating2D.cpp.

References Grating2D::alpha_1.

complex< double > Grating2D::getAlphaT ( int  n  )  [inherited]

the spatial frequency in x for the halfspace of the transmitted field

Returns:
alpha[n]: the n_th spatial frequency in x

Definition at line 333 of file Grating2D.cpp.

References Grating2D::alpha_3.

complex< double > Grating2D::getBetaR ( int  n  )  [inherited]

the spatial frequency in y for the halfspace of the incident and reflected field

Returns:
beta[n]: the n_th spatial frequency in y

Definition at line 345 of file Grating2D.cpp.

References Grating2D::beta_1.

complex< double > Grating2D::getBetaT ( int  n  )  [inherited]

the spatial frequency in y for the halfspace of the transmitted field

Returns:
beta[n]: the n_th spatial frequency in y

Definition at line 337 of file Grating2D.cpp.

References Grating2D::beta_3.

double Grating2D::getLambda ( void   )  [inherited]

incident wavelength in vacuum [my m]

set lambda for the grating and all layers; k1 and k3 are recalculated

Returns:
the incident wavelength [LU]

Definition at line 221 of file Grating2D.cpp.

References Grating2D::lambda.

Referenced by Grating2D::operator=().

complex< double > Grating2D::getN1 ( void   )  [inherited]

refractive index of region 1 (incident region)

Definition at line 242 of file Grating2D.cpp.

References Grating2D::n1.

Referenced by Grating2D::operator=().

complex< double > Grating2D::getN3 ( void   )  [inherited]

refractive index of region 3 (transmission region)

Definition at line 249 of file Grating2D.cpp.

References Grating2D::n3.

Referenced by Grating2D::operator=().

int Grating2D::getnLayers ( void   )  [inherited]

get the number of layers

Definition at line 201 of file Grating2D.cpp.

References Grating2D::nLayers.

Referenced by Grating2D::operator=().

int Grating2D::getnOrds ( void   )  [inherited]

number of Fourier orders (for x and y)

Definition at line 256 of file Grating2D.cpp.

References Grating2D::nOrds.

Referenced by Grating2D::operator=().

double Grating2D::getPhi ( void   )  [inherited]

angle to x-axis [degree]

Definition at line 236 of file Grating2D.cpp.

References Grating2D::phi.

Referenced by Grating2D::operator=().

complex< double > Grating2D::getR ( int  a,
int  b 
) [inherited]

the (i,j) coefficient of the reflection matrix

The scattering matrix for the reflected field to calculate the reflection for any incident light distribution. The reflection is calculated with ref=R*incid

Parameters:
a row of the matrix
b column of the matrix
Returns:
R[a][b]

Definition at line 320 of file Grating2D.cpp.

References Grating2D::R.

double Grating2D::getSizeX ( void   )  [inherited]

Definition at line 188 of file Grating2D.cpp.

References Grating2D::periodX.

Referenced by Grating2D::operator=().

double Grating2D::getSizeY ( void   )  [inherited]

Definition at line 194 of file Grating2D.cpp.

References Grating2D::periodY.

Referenced by Grating2D::operator=().

complex< double > Grating2D::getT ( int  a,
int  b 
) [inherited]

the (i,j) coefficient of the transmission matrix

The scattering matrix for the transmitted field to calculate the transmission for any incident light distribution. The reflection is calculated with trans=T*incid

Parameters:
a row of the matrix
b column of the matrix
Returns:
T[a][b]

Definition at line 328 of file Grating2D.cpp.

References Grating2D::T.

double Grating2D::getTheta ( void   )  [inherited]

angle to z-axis (incident angle) [degree]

Definition at line 229 of file Grating2D.cpp.

References Grating2D::theta.

Referenced by Grating2D::operator=().

void Grating2D::setLambda ( double  d  )  [inherited]

void Grating2D::setN1 ( complex< double >  c  )  [inherited]

void Grating2D::setN3 ( complex< double >  c  )  [inherited]

Definition at line 250 of file Grating2D.cpp.

References Grating2D::k3, Grating2D::lambda, Grating2D::n3, and real().

Referenced by Grating2D::operator=(), and Grating2D::setParameters().

void Grating2D::setnLayers ( int  l  )  [inherited]

change the number of layers

The number of layers is changed. If the number of layers increases, the first layers are assigned with the layers of the old structure, all excess layers are not initialised. When the number of layers decreases, the first layers of the old grating are taken

Parameters:
l the new number of layers

Definition at line 207 of file Grating2D.cpp.

References Grating2D::layer, and Grating2D::nLayers.

Referenced by Grating2D::operator=().

void Grating2D::setnOrds ( int  ords  )  [inherited]

set number of Fourier orders (for x and y)

Definition at line 257 of file Grating2D.cpp.

References Grating2D::layer, Grating2D::nOrds, and Grating2D::nOrdsSq.

Referenced by Grating2D::operator=(), and Grating2D::setParameters().

void Grating2D::setPhi ( double  d  )  [inherited]

Definition at line 237 of file Grating2D.cpp.

References Grating2D::layer, and Grating2D::phi.

Referenced by Grating2D::operator=(), and Grating2D::setParameters().

void Grating2D::setSizeX ( double  d  )  [inherited]

void Grating2D::setSizeY ( double  d  )  [inherited]

void Grating2D::setTheta ( double  d  )  [inherited]

Definition at line 230 of file Grating2D.cpp.

References Grating2D::layer, and Grating2D::theta.

Referenced by Grating2D::operator=(), and Grating2D::setParameters().


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