Nektar++
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
Python/TimeIntegration/TimeIntegrationScheme.cpp File Reference
#include <LibUtilities/Python/NekPyConfig.hpp>
#include <LibUtilities/TimeIntegration/TimeIntegrationScheme.h>

Go to the source code of this file.

Classes

class  TIS_Deletable
 This is required since TimeIntegrationScheme has a protected destructror: actually not quite sure why this is the case! More...
 

Functions

void export_TimeIntegrationScheme (py::module &m)
 

Function Documentation

◆ export_TimeIntegrationScheme()

void export_TimeIntegrationScheme ( py::module &  m)

Definition at line 50 of file Python/TimeIntegration/TimeIntegrationScheme.cpp.

51{
52 // Very lightweight class around the time-integration scheme. Mostly this is
53 // here for debugging purposes rather than to provide a full wrapper around
54 // this class.
55 py::class_<TIS_Deletable, std::shared_ptr<TIS_Deletable>>(
56 m, "TimeIntegrationScheme")
57 .def("GetFullName", &TimeIntegrationScheme::GetFullName)
58 .def("GetName", &TimeIntegrationScheme::GetName)
59 .def("GetVariant", &TimeIntegrationScheme::GetVariant)
60 .def("GetOrder", &TimeIntegrationScheme::GetOrder)
61
62 .def("GetTimeStability", &TimeIntegrationScheme::GetTimeStability)
63 .def("GetNumIntegrationPhases",
64 &TimeIntegrationScheme::GetNumIntegrationPhases);
65}

Referenced by PYBIND11_MODULE().