Nektar++
Classes | Functions
Python/UnsteadySystem.cpp File Reference
#include <LibUtilities/Python/BasicUtils/NekFactory.hpp>
#include <LibUtilities/Python/NekPyConfig.hpp>
#include <SolverUtils/UnsteadySystem.h>
#include <SolverUtils/Python/EquationSystem.h>

Go to the source code of this file.

Classes

struct  PublicUS
 

Functions

void export_UnsteadySystem (py::module &m)
 

Function Documentation

◆ export_UnsteadySystem()

void export_UnsteadySystem ( py::module &  m)

Definition at line 50 of file Python/UnsteadySystem.cpp.

51{
53
54 py::classh<UnsteadySystem, EquationSystem, USWrap>(m, "UnsteadySystem")
55
58
59 // Add properties for time integration
60 .def_readonly("ode", &PublicUS::m_ode,
61 py::return_value_policy::reference)
62 .def_property_readonly("int_scheme",
63 &UnsteadySystem::GetTimeIntegrationScheme,
64 py::return_value_policy::reference_internal);
65}
LibUtilities::TimeIntegrationSchemeOperators m_ode
The time integration scheme operators to use.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< MeshGraph > MeshGraphSharedPtr
Definition: MeshGraph.h:174
EquationSystem wrapper to handle virtual function calls in EquationSystem and its subclasses.

References Nektar::SolverUtils::UnsteadySystem::m_ode.

Referenced by PYBIND11_MODULE().