FS#319 [MaterialLaws] Generalize EffToAbsLaw, Regularization
Metadata
Property | Value |
---|---|
Project | dumux |
Category | Material framwork |
Reported by | Kilian Weishaupt (kilian.weishaupt@iws.uni-stuttgart.de) |
Reported at | Mar 10, 2016 16:00 |
Type | DuMuX day |
Version | Git |
Last edited by | Johannes Hommel (johannes.hommel@iws.uni-stuttgart.de) |
Last edited at | Sep 15, 2016 11:54 |
Description
It should be possible for the user to use a definition like
using MaterialLaw = VanGenuchten
The Params should have a default constructor setting the way of regularization and the conversion from absolute to relative quantities. Both procedures could be generalized.
The materiallaw gets the absolute value and calls a method to convert it to a relative one (defined in a general class). Similarly a method for regularization defined in a general class is called by the materiallaw itself.
This reduces the number of classes required and makes everything more clear.