ikarus-project / ikarus

Ikarus is a C++-based library that uses DUNE modules to solve partial differential equations with the finite element method and more.
https://ikarus-project.github.io/
Other
6 stars 3 forks source link

Missing Python Bindings: ResultFunction #198

Closed henrij22 closed 1 year ago

henrij22 commented 1 year ago

Python Bindings are missing for the ResultEvaluator and the ResultFunction

henrij22 commented 1 year ago

Maybe we dont need a ResultEvaluator as a python class, but a Result-GridFunction-Factory and can make a gridFunction in python like (this doens't work yet)

resultRequirements = iks.XXXXX
comp = 0

stressFunc = gridView.function(
        lambda e, x: e.calculateAt(resultRequirements, x).result[comp]
    )