PLaSK library
Loading...
Searching...
No Matches
electr_python.cpp File Reference
#include <cmath>
#include <plask/python.hpp>
#include <plask/common/fem/python.hpp>
#include "../beta.hpp"
#include "../electr2d.hpp"
#include "../electr3d.hpp"
Include dependency graph for electr_python.cpp:

Go to the source code of this file.

Classes

struct  Shockley< GeometryT >
 
struct  PythonCondSolver< GeometryT >
 

Functions

template<typename Class >
void setCondJunc (Class &self, const py::object &value)
 
 BOOST_PYTHON_MODULE (shockley)
 Initialization of your solver class to Python.
 

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( shockley  )

Initialization of your solver class 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 289 of file electr_python.cpp.

◆ setCondJunc()

template<typename Class >
void setCondJunc ( Class &  self,
const py::object &  value 
)

Definition at line 183 of file electr_python.cpp.