PLaSK library
Loading...
Searching...
No Matches
diffusion.cpp File Reference

Sample Python wrapper for your solver. More...

#include <cmath>
#include <plask/common/fem/python.hpp>
#include <plask/python.hpp>
#include "../diffusion2d.hpp"
#include "../diffusion3d.hpp"
Include dependency graph for diffusion.cpp:

Go to the source code of this file.

Classes

struct  ExportedDiffusion2DSolverDefaultDefs< GeometryT >
 
struct  plask::python::detail::ExportedSolverDefaultDefs< Diffusion2DSolver< Geometry2DCylindrical >, void, void >
 
struct  plask::python::detail::ExportedSolverDefaultDefs< Diffusion2DSolver< Geometry2DCartesian >, void, void >
 

Namespaces

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

Functions

 BOOST_PYTHON_MODULE (diffusion)
 Initialization of your solver class to Python.
 

Detailed Description

Sample Python wrapper for your solver.

Definition in file diffusion.cpp.

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( diffusion  )

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 119 of file diffusion.cpp.