NGSolve / ngsolve

Netgen/NGSolve is a high performance multiphysics finite element software. It is widely used to analyze models from solid mechanics, fluid dynamics and electromagnetics. Due to its flexible Python interface new physical equations and solution algorithms can be implemented easily.

Home Page:https://ngsolve.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix ParameterC

j-zimmermann opened this issue · comments

The line

.def ("Get", [] (spParameterCF cf) { return cf->GetValue(); },

should read:
.def ("Get", [] (spParCFC cf) { return cf->GetValue(); },

Otherwise, a real-valued and not a complex-valued CoefficientFunction is returned.