PLaSK library
Loading...
Searching...
No Matches
modal-python.hpp File Reference
#include <cmath>
#include <cstring>
#include <plask/python.hpp>
#include "plask/python_numpy.hpp"
#include "plask/python_util/ufunc.hpp"
#include <boost/python/raw_function.hpp>
#include "../matrices.hpp"
#include "../expansion.hpp"
#include "../diagonalizer.hpp"
#include <plask/config.hpp>
Include dependency graph for modal-python.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  plask::optical::modal::python::PythonComponentConventer
 
struct  plask::optical::modal::python::PmlWrapper
 
struct  plask::optical::modal::python::WrappedType< T >
 
struct  plask::optical::modal::python::WrappedType< PML >
 
struct  plask::optical::modal::python::Eigenmodes< SolverT >
 Proxy class for accessing layer eigenmodes. More...
 
struct  plask::optical::modal::python::Eigenmodes< SolverT >::Eigenmode
 
struct  plask::optical::modal::python::CoeffsArray
 
struct  plask::optical::modal::python::Scattering< SolverT >
 Proxy class for accessing scatterd fields. More...
 
struct  plask::optical::modal::python::Scattering< SolverT >::Reflected
 
struct  plask::optical::modal::python::Scattering< SolverT >::Incident
 
struct  plask::optical::modal::python::Scattering< SolverT >::Transmitted
 

Namespaces

namespace  plask
 Patterson quadrature for complex function along specified line.
 
namespace  plask::optical
 
namespace  plask::optical::modal
 
namespace  plask::optical::modal::python
 

Macros

#define ROOTDIGGER_ATTRS_DOC
 
#define PML_ATTRS_DOC
 

Functions

template<typename Solver >
py::tuple plask::optical::modal::python::Solver_getMatrices (Solver &self, size_t layer)
 
template<typename Solver >
py::tuple plask::optical::modal::python::Solver_getDiagonalized (Solver &self, size_t layer)
 
template<typename SolverT >
const charplask::optical::modal::python::solver_compute_reflectivity_name ()
 
template<typename SolverT >
const charplask::optical::modal::python::solver_compute_transmittivity_name ()
 
template<typename SolverT >
py::object plask::optical::modal::python::Solver_computeReflectivity_polarization (SolverT *self, py::object wavelength, Transfer::IncidentDirection side, Expansion::Component polarization)
 
template<typename SolverT >
py::object plask::optical::modal::python::Solver_computeTransmittivity_polarization (SolverT *self, py::object wavelength, Transfer::IncidentDirection side, Expansion::Component polarization)
 
template<typename SolverT >
py::object plask::optical::modal::python::Solver_computeReflectivity_index (SolverT *self, py::object wavelength, Transfer::IncidentDirection side, size_t index)
 
template<typename SolverT >
py::object plask::optical::modal::python::Solver_computeTransmittivity_index (SolverT *self, py::object wavelength, Transfer::IncidentDirection side, size_t index)
 
template<typename SolverT >
py::object plask::optical::modal::python::Solver_computeReflectivity_array (SolverT *self, py::object wavelength, Transfer::IncidentDirection side, CoeffsArray coeffs)
 
template<typename SolverT >
py::object plask::optical::modal::python::Solver_computeTransmittivity_array (SolverT *self, py::object wavelength, Transfer::IncidentDirection side, CoeffsArray coeffs)
 
template<typename SolverT >
py::object plask::optical::modal::python::get_max_temp_diff (SolverT *self)
 
template<typename SolverT >
void plask::optical::modal::python::set_max_temp_diff (SolverT *self, py::object value)
 
template<typename Class >
void plask::optical::modal::python::export_base (Class solver)
 

Macro Definition Documentation

◆ PML_ATTRS_DOC

#define PML_ATTRS_DOC
Value:
".. rubric:: Attributes:\n\n" \
".. autosummary::\n\n" \
" ~optical.modal.PML.factor\n" \
" ~optical.modal.PML.shape\n" \
" ~optical.modal.PML.dist\n" \
" ~optical.modal.PML.size\n\n" \
":rtype: PML"

Definition at line 52 of file modal-python.hpp.

◆ ROOTDIGGER_ATTRS_DOC

#define ROOTDIGGER_ATTRS_DOC
Value:
".. rubric:: Attributes:\n\n" \
".. autosummary::\n\n" \
" ~optical.modal.RootParams.alpha\n" \
" ~optical.modal.RootParams.lambd\n" \
" ~optical.modal.RootParams.initial_range\n" \
" ~optical.modal.RootParams.maxiter\n" \
" ~optical.modal.RootParams.maxstep\n" \
" ~optical.modal.RootParams.method\n" \
" ~optical.modal.RootParams.tolf_max\n" \
" ~optical.modal.RootParams.tolf_min\n" \
" ~optical.modal.RootParams.tolx\n\n" \
":rtype: RootParams\n"

Definition at line 38 of file modal-python.hpp.