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

Sample Python wrapper for your solver. More...

#include <cmath>
#include <plask/python.hpp>
#include "../diffusion1d.hpp"
Include dependency graph for diffusion1d.cpp:

Go to the source code of this file.

Functions

template<typename GeometryT >
shared_ptr< RegularMesh1DDiffusionSolver_current_mesh (DiffusionFem2DSolver< GeometryT > &self)
 
 BOOST_PYTHON_MODULE (olddiffusion)
 Initialization of your solver class to Python.
 

Detailed Description

Sample Python wrapper for your solver.

Definition in file diffusion1d.cpp.

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( olddiffusion  )

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 36 of file diffusion1d.cpp.

◆ DiffusionSolver_current_mesh()

template<typename GeometryT >
shared_ptr< RegularMesh1D > DiffusionSolver_current_mesh ( DiffusionFem2DSolver< GeometryT > &  self)

Definition at line 26 of file diffusion1d.cpp.