Nektar++
|
Go to the source code of this file.
Functions | |
SessionReaderSharedPtr | SessionReader_CreateInstance (py::list &ns) |
Thin wrapper around SessionReader to provide a nicer Pythonic interface. More... | |
void | export_SessionReader () |
SessionReader exports. More... | |
void export_SessionReader | ( | ) |
SessionReader exports.
Currently wrapped functions:
Definition at line 95 of file Python/BasicUtils/SessionReader.cpp.
References Nektar::LibUtilities::SessionReader::DefinesParameter(), Nektar::LibUtilities::SessionReader::Finalise(), Nektar::LibUtilities::SessionReader::GetComm(), Nektar::LibUtilities::SessionReader::GetParameter(), Nektar::LibUtilities::SessionReader::GetSessionName(), Nektar::LibUtilities::SessionReader::GetVariable(), and SessionReader_CreateInstance().
Referenced by BOOST_PYTHON_MODULE().
SessionReaderSharedPtr SessionReader_CreateInstance | ( | py::list & | ns | ) |
Thin wrapper around SessionReader to provide a nicer Pythonic interface.
This allows us to do, for example
session = SessionReader.CreateInstance(sys.argv)
which is more natural in Python.
Definition at line 50 of file Python/BasicUtils/SessionReader.cpp.
References CellMLToNektar.pycml::copy(), Nektar::LibUtilities::SessionReader::CreateInstance(), and CellMLToNektar.cellml_metadata::p.
Referenced by export_SessionReader().