Skip to content

Deriving from Integrator class in Python #1560

Answered by merlinND
mkloczko-tango asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @mkloczko-tango,

As far as I know, you can only inherit from the classes for which trampoline classes have been bound, i.e. SamplingIntegrator and AdjointIntegrator:

MI_PY_TRAMPOLINE_CLASS(PySamplingIntegrator, SamplingIntegrator, Integrator)

MI_PY_TRAMPOLINE_CLASS(PyAdjointIntegrator, AdjointIntegrator, Integrator)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mkloczko-tango
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants