Viscosity Models
In practical applications complicated viscosity models come into play. We require functionality to change the model or at least constants in the model within the HyTeG application, without having to regenerate the form and recompile.
An Idea to resolve this could be:
- implement an object similar to the tabulation that is created in the form, registers symbols or calculations (the viscosity model or constants like
\eta^\star_{\text{const}}
here) and is passed to the code generation machinery. E.g. a "CoefficientModel" class, maybe with more general naming - the code generation creates required members (std::functions/doubles) and corresponding getters/setters during C++ printing from the CoefficientModel returned by the form