Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
module.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/stringutility.hh>
#include <dune/grid/common/gridfactory.hh>
#include <dune/fufem/python/reference.hh>

Go to the source code of this file.

Classes

class  Python::Module
 Wrapper class for python modules. More...
 
class  Python::Module::AutoRunCodeStream
 A stream that executed all python code it is fed with on destruction. More...
 

Namespaces

namespace  Python
 

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.
 
void Python::run (const std::string &code)
 Run python code given as string.