Nektar++
|
#include <boost/python.hpp>
#include <map>
#include <vector>
Go to the source code of this file.
Functions | |
template<typename KeyT , typename ValT > | |
py::dict | MapToPyDict (const std::map< KeyT, ValT > &input) |
Converts a std::map to a Python dict. More... | |
template<typename T > | |
py::list | VectorToPyList (const std::vector< T > &input) |
Converts a std::vector to a Python list. More... | |
|
inline |
Converts a std::map to a Python dict.
input | a std::map |
Definition at line 51 of file NekPyConvertors.hpp.
Referenced by SessionReader_GetParameters().
|
inline |
Converts a std::vector to a Python list.
input | a std::vector |
Definition at line 68 of file NekPyConvertors.hpp.
Referenced by SessionReader_GetVariables().