Skip to content
Snippets Groups Projects
Commit 43f2aace authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MPL] Function-type Property using exprtk.

A generalized property type for (almost) arbitrary functions. Based on
the exprtk library also used in the Function-type parameters.

In this initial implementation all *scalar* variables from the variable
array passed for the value and derivative evaluation can be used. Return
values are either scalar, 2- or 3-vectors, and 2x2- or 3x3 matrices.

The evaluation is somewhat slower than the dedicated implementation; in
the case of component transport process a bilinear property was replaced
by exactly the same function-type property and the total run-time for
the ctest has increased by around 6%.
parent dbcb15f8
No related branches found
No related tags found
Loading
Showing
with 376 additions and 1 deletion
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment