PLaSK library
|
Python wrapper for optical/effective solvers. More...
#include <cmath>
#include <plask/python.hpp>
#include "plask/python_util/ufunc.hpp"
#include "../efm.hpp"
#include "../eim.hpp"
Go to the source code of this file.
Macros | |
#define | ROOTDIGGER_ATTRS_DOC |
#define | SEARCH_ARGS_DOC |
Python wrapper for optical/effective solvers.
Definition in file effective.cpp.
#define ROOTDIGGER_ATTRS_DOC |
Definition at line 27 of file effective.cpp.
#define SEARCH_ARGS_DOC |
Definition at line 42 of file effective.cpp.
BOOST_PYTHON_MODULE | ( | effective | ) |
Initialization of your solver to Python.
The solver_name should be changed to match the name of the directory with our solver (the one where you have put CMakeLists.txt). It will be visible from user interface under this name.
Definition at line 251 of file effective.cpp.
dcomplex EffectiveFrequencyCyl_getLambda0 | ( | const EffectiveFrequencyCyl & | self | ) |
Definition at line 123 of file effective.cpp.
py::object EffectiveFrequencyCyl_getStripeR | ( | const EffectiveFrequencyCyl & | self | ) |
Definition at line 211 of file effective.cpp.
double EffectiveFrequencyCyl_Mode_ModalLoss | ( | const EffectiveFrequencyCyl::Mode & | mode | ) |
Definition at line 193 of file effective.cpp.
std::string EffectiveFrequencyCyl_Mode_repr | ( | const EffectiveFrequencyCyl::Mode & | self | ) |
Definition at line 227 of file effective.cpp.
std::string EffectiveFrequencyCyl_Mode_str | ( | const EffectiveFrequencyCyl::Mode & | self | ) |
Definition at line 224 of file effective.cpp.
void EffectiveFrequencyCyl_setLambda0 | ( | EffectiveFrequencyCyl & | self, |
dcomplex | lambda0 | ||
) |
Definition at line 125 of file effective.cpp.
void EffectiveFrequencyCyl_setStripeR | ( | EffectiveFrequencyCyl & | self, |
py::object | r | ||
) |
Definition at line 217 of file effective.cpp.
std::vector< size_t > EffectiveIndex2D_findModes | ( | EffectiveIndex2D & | self, |
dcomplex | neff1, | ||
dcomplex | neff2, | ||
py::object | symmetry, | ||
size_t | resteps, | ||
size_t | imsteps, | ||
dcomplex | eps | ||
) |
Definition at line 156 of file effective.cpp.
py::object EffectiveIndex2D_getMirrors | ( | const EffectiveIndex2D & | self | ) |
Definition at line 127 of file effective.cpp.
py::object EffectiveIndex2D_getVertDeterminant | ( | EffectiveIndex2D & | self, |
py::object | val | ||
) |
Definition at line 109 of file effective.cpp.
std::string EffectiveIndex2D_Mode_repr | ( | const EffectiveIndex2D::Mode & | self | ) |
Definition at line 179 of file effective.cpp.
std::string EffectiveIndex2D_Mode_str | ( | const EffectiveIndex2D::Mode & | self | ) |
Definition at line 170 of file effective.cpp.
void EffectiveIndex2D_setMirrors | ( | EffectiveIndex2D & | self, |
py::object | value | ||
) |
Definition at line 132 of file effective.cpp.