PLaSK library
Loading...
Searching...
No Matches
plask::optical::modal::python::Eigenmodes< SolverT > Struct Template Reference

Proxy class for accessing layer eigenmodes. More...

#include <solvers/optical/modal/python/modal-python.hpp>

Collaboration diagram for plask::optical::modal::python::Eigenmodes< SolverT >:
[legend]

Classes

struct  Eigenmode
 

Public Member Functions

 Eigenmodes (SolverT &solver, size_t layer)
 
size_t size () const
 
py::object array (const dcomplex *data, size_t N) const
 
LazyData< doublegetLightMagnitude (std::size_t n, shared_ptr< const MeshD< SolverT::SpaceType::DIM > > dst_mesh, InterpolationMethod method)
 
LazyData< Vec< 3, dcomplex > > getLightE (std::size_t n, shared_ptr< const MeshD< SolverT::SpaceType::DIM > > dst_mesh, InterpolationMethod method)
 
LazyData< Vec< 3, dcomplex > > getLightH (std::size_t n, shared_ptr< const MeshD< SolverT::SpaceType::DIM > > dst_mesh, InterpolationMethod method)
 
Eigenmode __getitem__ (int n)
 
py::object array (const dcomplex *data, size_t N) const
 
py::object array (const dcomplex *data, size_t N) const
 
py::object array (const dcomplex *data, size_t N) const
 

Static Public Member Functions

static shared_ptr< Eigenmodes< SolverT > > fromZ (SolverT &solver, double z)
 
static void registerClass (const char *solver, const char *suffix)
 

Public Attributes

cdiagonal gamma
 
cmatrix TE
 
cmatrix TH
 
SolverTsolver
 
size_t layer
 
ProviderFor< ModeLightMagnitude, typenameSolverT::SpaceType >::Delegate outLightMagnitude
 
ProviderFor< ModeLightE, typenameSolverT::SpaceType >::Delegate outLightE
 
ProviderFor< ModeLightH, typenameSolverT::SpaceType >::Delegate outLightH
 

Detailed Description

template<typename SolverT>
struct plask::optical::modal::python::Eigenmodes< SolverT >

Proxy class for accessing layer eigenmodes.

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

Constructor & Destructor Documentation

◆ Eigenmodes()

template<typename SolverT >
plask::optical::modal::python::Eigenmodes< SolverT >::Eigenmodes ( SolverT solver,
size_t  layer 
)
inline

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

Member Function Documentation

◆ __getitem__()

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

◆ array() [1/4]

py::object plask::optical::modal::python::Eigenmodes< BesselSolverCyl >::array ( const dcomplex *  data,
size_t  N 
) const

Definition at line 34 of file besselcyl-python.cpp.

◆ array() [2/4]

py::object plask::optical::modal::python::Eigenmodes< FourierSolver2D >::array ( const dcomplex *  data,
size_t  N 
) const

Definition at line 31 of file fourier2d-python.cpp.

◆ array() [3/4]

py::object plask::optical::modal::python::Eigenmodes< FourierSolver3D >::array ( const dcomplex *  data,
size_t  N 
) const

Definition at line 44 of file fourier3d-python.cpp.

◆ array() [4/4]

template<typename SolverT >
py::object plask::optical::modal::python::Eigenmodes< SolverT >::array ( const dcomplex *  data,
size_t  N 
) const

◆ fromZ()

template<typename SolverT >
static shared_ptr< Eigenmodes< SolverT > > plask::optical::modal::python::Eigenmodes< SolverT >::fromZ ( SolverT solver,
double  z 
)
inlinestatic

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

◆ getLightE()

template<typename SolverT >
LazyData< Vec< 3, dcomplex > > plask::optical::modal::python::Eigenmodes< SolverT >::getLightE ( std::size_t  n,
shared_ptr< const MeshD< SolverT::SpaceType::DIM > >  dst_mesh,
InterpolationMethod  method 
)
inline

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

◆ getLightH()

template<typename SolverT >
LazyData< Vec< 3, dcomplex > > plask::optical::modal::python::Eigenmodes< SolverT >::getLightH ( std::size_t  n,
shared_ptr< const MeshD< SolverT::SpaceType::DIM > >  dst_mesh,
InterpolationMethod  method 
)
inline

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

◆ getLightMagnitude()

template<typename SolverT >
LazyData< double > plask::optical::modal::python::Eigenmodes< SolverT >::getLightMagnitude ( std::size_t  n,
shared_ptr< const MeshD< SolverT::SpaceType::DIM > >  dst_mesh,
InterpolationMethod  method 
)
inline

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

◆ registerClass()

template<typename SolverT >
static void plask::optical::modal::python::Eigenmodes< SolverT >::registerClass ( const char solver,
const char suffix 
)
inlinestatic

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

◆ size()

template<typename SolverT >
size_t plask::optical::modal::python::Eigenmodes< SolverT >::size ( ) const
inline

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

Member Data Documentation

◆ gamma

◆ layer

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

◆ outLightE

template<typename SolverT >
ProviderFor<ModeLightE,typenameSolverT::SpaceType>::Delegate plask::optical::modal::python::Eigenmodes< SolverT >::outLightE

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

◆ outLightH

template<typename SolverT >
ProviderFor<ModeLightH,typenameSolverT::SpaceType>::Delegate plask::optical::modal::python::Eigenmodes< SolverT >::outLightH

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

◆ outLightMagnitude

template<typename SolverT >
ProviderFor<ModeLightMagnitude,typenameSolverT::SpaceType>::Delegate plask::optical::modal::python::Eigenmodes< SolverT >::outLightMagnitude

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

◆ solver

◆ TE

◆ TH


The documentation for this struct was generated from the following file: