|
Nektar++
|
#include "../NekPyConvertors.hpp"#include <LibUtilities/BasicUtils/SessionReader.h>#include <LibUtilities/Python/NekPyConfig.hpp>Go to the source code of this file.
Functions | |
| SessionReaderSharedPtr | SessionReader_CreateInstance (py::list &ns) |
| void | SessionReader_SetParameterInt (SessionReaderSharedPtr session, std::string paramName, int paramValue) |
| void | SessionReader_SetParameterDouble (SessionReaderSharedPtr session, std::string paramName, double paramValue) |
| EquationSharedPtr | SessionReader_GetFunction1 (SessionReaderSharedPtr session, std::string func, int var) |
| EquationSharedPtr | SessionReader_GetFunction2 (SessionReaderSharedPtr session, std::string func, std::string var) |
| py::dict | SessionReader_GetParameters (SessionReaderSharedPtr s) |
| Function to wrap SessionReader::GetParameters. More... | |
| py::list | SessionReader_GetVariables (SessionReaderSharedPtr s) |
| Function to wrap SessionReader::GetVariables. More... | |
| void | export_SessionReader () |
| SessionReader exports. More... | |
| void export_SessionReader | ( | ) |
SessionReader exports.
Currently wrapped functions:
Definition at line 146 of file Python/BasicUtils/SessionReader.cpp.
References Gs::Finalise(), SessionReader_CreateInstance(), SessionReader_GetFunction1(), SessionReader_GetFunction2(), SessionReader_GetParameters(), SessionReader_GetVariables(), SessionReader_SetParameterDouble(), and SessionReader_SetParameterInt().
Referenced by BOOST_PYTHON_MODULE().
| SessionReaderSharedPtr SessionReader_CreateInstance | ( | py::list & | ns | ) |
Definition at line 57 of file Python/BasicUtils/SessionReader.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, tParam >::CreateInstance(), CppCommandLine::GetArgc(), CppCommandLine::GetArgv(), and Nektar::LibUtilities::GetCommFactory().
Referenced by export_SessionReader().
| EquationSharedPtr SessionReader_GetFunction1 | ( | SessionReaderSharedPtr | session, |
| std::string | func, | ||
| int | var | ||
| ) |
Definition at line 104 of file Python/BasicUtils/SessionReader.cpp.
Referenced by export_SessionReader().
| EquationSharedPtr SessionReader_GetFunction2 | ( | SessionReaderSharedPtr | session, |
| std::string | func, | ||
| std::string | var | ||
| ) |
Definition at line 110 of file Python/BasicUtils/SessionReader.cpp.
Referenced by export_SessionReader().
| py::dict SessionReader_GetParameters | ( | SessionReaderSharedPtr | s | ) |
Function to wrap SessionReader::GetParameters.
Returns a Python dict containing (parameter name)-> (parameter value) entries.
Definition at line 122 of file Python/BasicUtils/SessionReader.cpp.
References MapToPyDict().
Referenced by export_SessionReader().
| py::list SessionReader_GetVariables | ( | SessionReaderSharedPtr | s | ) |
Function to wrap SessionReader::GetVariables.
Returns a Python list containing variable names.
Definition at line 132 of file Python/BasicUtils/SessionReader.cpp.
References VectorToPyList().
Referenced by export_SessionReader().
| void SessionReader_SetParameterDouble | ( | SessionReaderSharedPtr | session, |
| std::string | paramName, | ||
| double | paramValue | ||
| ) |
Definition at line 98 of file Python/BasicUtils/SessionReader.cpp.
Referenced by export_SessionReader().
| void SessionReader_SetParameterInt | ( | SessionReaderSharedPtr | session, |
| std::string | paramName, | ||
| int | paramValue | ||
| ) |
Definition at line 92 of file Python/BasicUtils/SessionReader.cpp.
Referenced by export_SessionReader().