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
5 stars 3 forks source link

Missing Python Bindings: ResultFunction #198

Closed henrij22 closed 9 months ago

henrij22 commented 9 months ago

Python Bindings are missing for the ResultEvaluator and the ResultFunction

henrij22 commented 9 months 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]
    )