Revision 43f2aace61566eeff81041b14e407035a9c27b4c authored by Dmitri Naumov on 26 May 2021, 16:00:02 UTC, committed by Dmitri Naumov on 28 May 2021, 15:20:45 UTC
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%.
1 parent dbcb15f
File | Mode | Size |
---|---|---|
Common | ||
PhreeqcIOData | ||
PhreeqcKernelData | ||
CMakeLists.txt | -rw-r--r-- | 557 bytes |
ChemicalSolverInterface.h | -rw-r--r-- | 2.3 KB |
ChemicalSolverType.h | -rw-r--r-- | 409 bytes |
CreateChemicalSolverInterface.cpp | -rw-r--r-- | 6.2 KB |
CreateChemicalSolverInterface.h | -rw-r--r-- | 797 bytes |
PhreeqcIO.cpp | -rw-r--r-- | 26.1 KB |
PhreeqcIO.h | -rw-r--r-- | 3.6 KB |
PhreeqcKernel.cpp | -rw-r--r-- | 11.0 KB |
PhreeqcKernel.h | -rw-r--r-- | 2.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...