Is it possible to have functions in FreeFEM with multiple outputs? For example sometimes I need the function value, the gradient and the Hessian of some function defined with `func’. Is it possible to output them all, or the only option is to use global variables?
If you are talking about a FreeFEM
func, then no, it can return only one value. If you are talking about a FreeFEM plugin with in/out parameters, then yes, you can return multiple values.
Thank you for the answer. I use a FreeFEM
func, so I guess there’s no avoiding using global variables.