Header for beam initialization interface. More...
Go to the source code of this file.
Functions | |
| PYPO_DLL void | makeRTframe (RTDict rdict, cframe *fr) |
| PYPO_DLL void | makeGRTframe (GRTDict grdict, cframe *fr) |
| PYPO_DLL void | makeGauss (GPODict gdict, reflparams plane, c2Bundle *res_field, c2Bundle *res_current) |
| PYPO_DLL void | makeScalarGauss (ScalarGPODict sgdict, reflparams plane, arrC1 *res_field) |
| PYPO_DLL void | calcCurrents (c2Bundle *res_field, c2Bundle *res_current, reflparams rdict, int mode) |
Header for beam initialization interface.
Declaration of interface for initializing ray-trace frames and PO beams.
| PYPO_DLL void calcCurrents | ( | c2Bundle * | res_field, |
| c2Bundle * | res_current, | ||
| reflparams | refldict, | ||
| int | mode | ||
| ) |
Calculate currents from electromagnetic field.
Calculate the J and M vectorial currents given a vectorial E and H field. Can calculate full currents, PMC and PEC surfaces. Wrapper for calcJM.
| res_field | Pointer to c2Bundle or c2Bundlef object. |
| res_current | Pointer to c2Bundle or c2Bundlef object. |
| refldict | reflparams or reflparamsf object corresponding to surface on which to calculate currents. |
| mode | How to calculate currents. 0 is full currents, 1 is PMC and 2 is PEC. |
| PYPO_DLL void makeGauss | ( | GPODict | gdict, |
| reflparams | plane, | ||
| c2Bundle * | res_field, | ||
| c2Bundle * | res_current | ||
| ) |
Initialize Gaussian beam from GPODict or GPODictf.
Takes a GPODict or GPODictf and generates two arrC3 or arrC3f objects, which contain the field and associated currents and are allocated to passed pointer arguments. Wrapper for initGauss.
| PYPO_DLL void makeScalarGauss | ( | ScalarGPODict | sgdict, |
| reflparams | plane, | ||
| arrC1 * | res_field | ||
| ) |
Initialize Gaussian beam from GPODict or GPODictf.
Takes a GPODict or GPODictf and generates two arrC3 or arrC3f objects, which contain the field and associated currents and are allocated to passed pointer arguments. Wrapper for initGauss.