diff --git a/dune/phasefield/base_parameters.hh b/dune/phasefield/base_parameters.hh index a63a2031dba920d32030613ebfe810a640a637b9..ccb507436da01eea2552603918334483ec9f0323 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")) + { + } +};