![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
callable.hh File Reference
#include <Python.h>#include <string>#include <sstream>#include <vector>#include <map>#include <dune/common/exceptions.hh>#include <dune/common/shared_ptr.hh>#include <dune/common/fvector.hh>#include <dune/common/parametertree.hh>#include <dune/common/typetraits.hh>#include <dune/common/indices.hh>#include <dune/grid/common/gridfactory.hh>#include <dune/fufem/python/reference.hh>Go to the source code of this file.
Classes | |
| class | Python::Callable |
| Wrapper class for callable python objects. More... | |
Namespaces | |
| namespace | Python |
| namespace | Python::Literals |
Functions | |
| void | Python::handlePythonError (const std::string &origin, const std::string &message) |
| If a python error occurred throw an exception and clear python error indicator. | |
| Reference | Python::dict () |
| Create an empty Python tuple. | |
| template<class Key , class Value > | |
| auto | Python::arg (Key key, Value &&value) |
| Create a keyword argument. | |
| Imp::KeyWord< char > | Python::Literals::operator""_a (const char *keyword, std::size_t) |
| User defined literal for defining string-based keyword arguments. | |
| template<class ResultType > | |
| auto | Python::make_function (Callable pyCallable) |
| Convert Python::Callable to C-function object. | |
