27 std::vector<SuperArray <maths::Vector<std::complex<double> > > >
SA;
31 std::vector<std::function<std::complex<double>(
double) > >
nList;
int iR
Number of reflections to consider.
std::vector< std::function< std::complex< double >(double) > > nList
void init()
Initialises the SuperArray grid (SA) according to the objects hold in Scene S.
std::vector< SuperArray< maths::Vector< std::complex< double > > > > SA
Raytrace_usp_rt(const Scene &S, INDEX_TYPE n)
void trace(double omega, std::complex< double > weight)
Perform the raytracing process.
void traceEnterObject()
Function internally called when ray enters an object.
void clear()
Clears the SuperArray grid (SA)
void traceLeaveObject()
Function internally called when ray leaves an object.
std::complex< double > weight
void setRefractiveIndexFunctions(std::vector< std::function< std::complex< double >(double) > > nList)
sets the list of functions, which describe the wavelength dependend refractive
Scene S
Description of the scene.
Class defining a scene with lightsources and objects. This is a container used to inform the Raytrace...
Raytracer used for ultrashort pulse calculation with raytracing only.
This class is used for the iray class. This class is intended for internal use only....