From dd587787b0932c122c6459d8b4deb5ae1f733ab7 Mon Sep 17 00:00:00 2001 From: Lars von Wolff <lars.von-wolff@ians.uni-stuttgart.de> Date: Sat, 19 Feb 2022 19:50:13 +0100 Subject: [PATCH] Fixed typo in Base params --- dune/phasefield/base_parameters.hh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dune/phasefield/base_parameters.hh b/dune/phasefield/base_parameters.hh index a63a203..ccb5074 100644 --- a/dune/phasefield/base_parameters.hh +++ b/dune/phasefield/base_parameters.hh @@ -369,3 +369,22 @@ public: { } }; + + +template <typename Number, typename DW, typename Mobility, typename VelDissipation> +class Params_fs : public Params_base<Number, Mobility> +{ +public: + Number delta; + + DW dw; + VelDissipation vDis; + + Params_fs(const Dune::ParameterTree& ptree) : + Params_base<Number, Mobility>(ptree), + delta(ptree.get("Phasefield.delta",this->eps)), + dw(ptree.sub("Phasefield")), + vDis(ptree.sub("Physics")) + { + } +}; -- GitLab