Awesome, I'll make a PR for it.
On Wednesday, February 16, 2022 at 11:33:58 p.m. UTC-5 Wolfgang Bangerth wrote: > On 2/16/22 20:16, [email protected] 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: [email protected] > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/3579eddb-ca46-4ecc-9efb-8525884f29a7n%40googlegroups.com.
