Nektar++
|
Helper class for holding a reference to a Python function to act as a wrapper for TimeIntegrationScheme::FunctorType1. More...
Public Member Functions | |
CallbackHolderT2 (py::object cb) | |
Default constructor. More... | |
void | call (TimeIntegrationSchemeOperators::InArrayType &in, TimeIntegrationSchemeOperators::OutArrayType &out, const NekDouble time, const NekDouble lambda) |
C++ callback function to invoke Python function stored in m_cb. More... | |
Private Attributes | |
py::object | m_cb |
Callback defined in Python code. More... | |
Helper class for holding a reference to a Python function to act as a wrapper for TimeIntegrationScheme::FunctorType1.
This wrapper is used for TimeIntegrationSchemeOperators::DefineImplicitSolve.
Definition at line 98 of file TimeIntegrationSchemeOperators.cpp.
|
inline |
Default constructor.
Definition at line 101 of file TimeIntegrationSchemeOperators.cpp.
|
inline |
C++ callback function to invoke Python function stored in m_cb.
Definition at line 108 of file TimeIntegrationSchemeOperators.cpp.
References m_cb.
Referenced by TimeIntegrationSchemeOperators_DefineImplicitSolve().
|
private |
Callback defined in Python code.
Definition at line 124 of file TimeIntegrationSchemeOperators.cpp.
Referenced by call().