GOAT (Geometrical optics application tool) 0.1
Loading...
Searching...
No Matches
pulsecalculation_rt.h
Go to the documentation of this file.
1#pragma once
2#include "superarray.h"
3#include "raytrace_usp_rt.h"
4#include <vector>
5#include "fft.h"
6
7namespace GOAT
8{
9 namespace raytracing
10 {
18 {
19 public:
25 void setCenterWavelength(double wvl);
26 void setBandwidth(double dWvl);
27 void setRepetitionRate(double rep);
28 void setSpectralRanges(int nI);
29 void setSpatialResolution(double dx);
30 void setRefractiveIndexFunctions(std::vector<std::function<std::complex<double>(double)>> nList);
32 void setPulseWidth(double dt);
33 void field(double t);
34 /*
35 * Returns the number of cells per direction, nn along each axis of the calculation space.
36 * The spatial resolution is then 2*r0/nn. This number is changed by calling #setSpatialResolution
37 */
42 double dWvl = 0.02;
43 double Domega = 0;
45 };
46 }
47}
Class defining a scene with lightsources and objects. This is a container used to inform the Raytrace...
Definition raytrace.h:28
double dWvl
spectral width of the light (default 20nm)
void field(double t)
This function calculates the fields at time. Keep in mind, that it works only if the class has the li...
void setRefractiveIndexFunctions(std::vector< std::function< std::complex< double >(double)> > nList)
double Domega
spectral width in frequencies (unit: fs^-1)
Raytracer used for ultrashort pulse calculation with raytracing only.
Definition asphericLens.h:6
constexpr int INEL_MAX_NREFLEX
long long int INDEX_TYPE
Definition superarray.h:16
This class is used for the iray class. This class is intended for internal use only....
Definition fresnel.h:7
Structure, which acts as a container for all informations needed to process the calculation.
Definition fft.h:25