Commit b313153e authored by Nicolas Schwenck's avatar Nicolas Schwenck
Browse files

add pressure model return functionality in onemodelproblem

reviewed by Beatrix


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13598 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 9fccf931
......@@ -53,6 +53,7 @@ private:
typedef typename GET_PROP_TYPE(TypeTag, Variables) Variables;
typedef typename GET_PROP_TYPE(TypeTag, Model) Model;
typedef typename GET_PROP_TYPE(TypeTag, PressureModel) PressureModel;
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
......@@ -568,8 +569,17 @@ public:
*/
const Model &model() const
{ return *model_; }
// \}
/*!
* \brief Returns the pressure model used for the problem.
*/
PressureModel &pressureModel()
{ return *pressModel_; }
//! \copydoc Dumux::IMPETProblem::pressureModel()
const PressureModel &pressureModel() const
{ return *pressModel_; }
// \}
/*!
* \name Restart mechanism
......@@ -659,6 +669,7 @@ private:
Variables variables_;
Dune::shared_ptr<PressureModel> pressModel_;//!< object including the pressure model
Dune::shared_ptr<Model> model_;
Dune::shared_ptr<VtkMultiWriter> resultWriter_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment