PyPO User Manual
InterfaceBeam.h
Go to the documentation of this file.
1 #include "BeamInit.h"
2 #include "Structs.h"
3 
4 #ifdef _WIN32
5 # define PYPO_DLL __declspec(dllexport)
6 #else
7 # define PYPO_DLL
8 #endif
9 
10 #ifndef InterfaceBeam_h
11 #define InterfaceBeam_h
12 
13 /*! \file InterfaceBeam.h
14  \brief Header for beam initialization interface.
15 
16  Declaration of interface for initializing ray-trace frames and PO beams.
17 */
18 
19 extern "C"
20 {
21  PYPO_DLL void makeRTframe(RTDict rdict, cframe *fr);
22 
23  PYPO_DLL void makeGRTframe(GRTDict grdict, cframe *fr);
24 
25  PYPO_DLL void makeGauss(GPODict gdict, reflparams plane, c2Bundle *res_field, c2Bundle *res_current);
26 
27  PYPO_DLL void makeScalarGauss(ScalarGPODict sgdict, reflparams plane, arrC1 *res_field);
28 
29  PYPO_DLL void calcCurrents(c2Bundle *res_field, c2Bundle *res_current, reflparams rdict, int mode);
30 }
31 
32 #endif
Initialize beam objects.
PYPO_DLL void makeGauss(GPODict gdict, reflparams plane, c2Bundle *res_field, c2Bundle *res_current)
Definition: InterfaceBeam.cpp:69
PYPO_DLL void calcCurrents(c2Bundle *res_field, c2Bundle *res_current, reflparams rdict, int mode)
Definition: InterfaceBeam.cpp:118
PYPO_DLL void makeRTframe(RTDict rdict, cframe *fr)
Definition: InterfaceBeam.cpp:24
PYPO_DLL void makeScalarGauss(ScalarGPODict sgdict, reflparams plane, arrC1 *res_field)
Definition: InterfaceBeam.cpp:95
PYPO_DLL void makeGRTframe(GRTDict grdict, cframe *fr)
Definition: InterfaceBeam.cpp:44
Structs used within PyPO.
Definition: Structs.h:184
Definition: Structs.h:174
Definition: Structs.h:164
Definition: Structs.h:195
Definition: Structs.h:29
Definition: Structs.h:42
Definition: Structs.h:151
Definition: Structs.h:111