GOAT (Geometrical optics application tool) 0.1
Loading...
Searching...
No Matches
gridentry.h
Go to the documentation of this file.
1#pragma once
2#include<vector>
3#include"vector.h"
4#include <iostream>
5namespace GOAT
6{
7 namespace raytracing
8 {
14 typedef struct
15 {
16 double l;
18 } stepEntry;
19
26 std::ostream & operator << (std::ostream &os, const stepEntry &se);
27
28
36 typedef struct
37 {
38 std::vector<stepEntry> step;
40 } gridEntry;
41
42 std::ostream & operator << (std::ostream &os, const gridEntry &ge);
43 }
44}
Template class for threedimensional vectors.
Definition vector.h:57
Raytracer used for ultrashort pulse calculation with raytracing only.
Definition asphericLens.h:6
std::ostream & operator<<(std::ostream &os, Box B)
output operator for the Box class
This class is used for the iray class. This class is intended for internal use only....
Definition fresnel.h:7
Structure which holds all steps from the light source to the grid point In this structure every step ...
Definition gridentry.h:37
maths::Vector< std::complex< double > > E
electric field (without phase advance along the path)
Definition gridentry.h:39
std::vector< stepEntry > step
holds info for one step
Definition gridentry.h:38
Structure to store the information about one raytracing step In this structure, the information about...
Definition gridentry.h:15
int matIndex
material index, stores which object (=object number) is hidden. -1 if ray moves in the surroundings
Definition gridentry.h:17
double l
step size
Definition gridentry.h:16
This file contains the Vector template class and some useful functions around this class.