On 2/16/22 20:16, blais...@gmail.com wrote:
It seems MuParser does not, by default, allow for the use of the error
function (erf). We are solving a Stefan problem right now and I'd like to be
able to compare the solution to the analytical one to make a unit test out of
it. Regrettably, the analytical solution is an ugly beast containing an error
function (e.g. erf (x) )
It seems that muparser does not allow for the usage of erf. Would any of you
have an idea how i could circumvent this issue? Everything works super well,
but i'd like to be able to monitor the convergence and, right now, this is not
exactly possibly because of this erf function.
Strangely, we support erfc but not erf. But it should be easy enough to
implement if you're willing to extend deal.II. Take a look here:
https://github.com/dealii/dealii/blob/master/source/base/function_parser.cc#L190-L192
and
https://github.com/dealii/dealii/blob/master/source/base/mu_parser_internal.cc#L114-L118
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/7884288f-5840-b174-0756-327cb04835a4%40colostate.edu.