Dear Dumux users,
with commit 51f2c5, all flux variables in Dumux are now
default-constructible. The non-trivial constructors are deprecated and
throw exceptions if they are used. In order to come up with a solution
that admits to use CRTP properly, we decided to break
backwards-compatibility here.
This affects you if you develop your own flux variables that
- inherit from flux variables from dumux-stable, such as the
ImplicitDaryFluxVariables,
- and/or are used in a local residual from dumux-stable.
In that case, you have to:
- Make your flux variables default-constructible. This usually just
means that you have to replace the old constructor by a routine "update"
with the same parameter list. You also have to remove/replace any member
variables that are references in order to make that work.
- Replace any occurrence of "this->fvGeometry_" (or similar) by calls to
"this->fvGeometry_()", if you want to access the corresponding
FVElementGeometry from the base class.
- Replace object constructions in your local residuals like
FluxVariables fluxVars(parameterlist);
by
FluxVariables fluxVars;
fluxVars.update(parameterlist);
Please let us know if we can help you with the transition.
Kind regards
Bernd
--
_______________________________________________________________
Bernd Flemisch phone: +49 711 685 69162
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: [email protected]
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux