Skip to content
Snippets Groups Projects
Commit 90639f6a authored by Benjamin Faigle's avatar Benjamin Faigle
Browse files

moved localStiffness property to 2pproperties file, as it belongs there and...

moved localStiffness property to 2pproperties file, as it belongs there and hence removed the "todo" sign

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4967 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent bd76672a
No related merge requests found
...@@ -193,7 +193,17 @@ public: ...@@ -193,7 +193,17 @@ public:
typedef Dune::BiCGSTABSolver<Vector> type; typedef Dune::BiCGSTABSolver<Vector> type;
// typedef Dune::CGSolver<Vector> type; // typedef Dune::CGSolver<Vector> type;
}; };
SET_PROP_DEFAULT(LocalStiffness)
{
private:
typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) Variables;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem;
public:
typedef MimeticGroundwaterEquationLocalStiffness<GridView,Scalar,Variables, Problem> type;
};
//SET_INT_PROP(DecoupledTwoP, PressurePreconditioner, SolverIndices::seqILU0); //SET_INT_PROP(DecoupledTwoP, PressurePreconditioner, SolverIndices::seqILU0);
//SET_INT_PROP(DecoupledTwoP, PressureSolver, SolverIndices::biCGSTAB); //SET_INT_PROP(DecoupledTwoP, PressureSolver, SolverIndices::biCGSTAB);
SET_SCALAR_PROP(DecoupledTwoP, ReductionSolver, 1E-12); SET_SCALAR_PROP(DecoupledTwoP, ReductionSolver, 1E-12);
......
...@@ -98,19 +98,6 @@ public: ...@@ -98,19 +98,6 @@ public:
//! Use the parent VariableClass //! Use the parent VariableClass
SET_TYPE_PROP(DecoupledModel, Variables, VariableClass<TypeTag>); SET_TYPE_PROP(DecoupledModel, Variables, VariableClass<TypeTag>);
//! TODO: could this be moved (with includes) to /2p/2pproperties.hh ??
SET_PROP_DEFAULT(LocalStiffness)
{
private:
typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) Variables;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem;
public:
typedef MimeticGroundwaterEquationLocalStiffness<GridView,Scalar,Variables, Problem> type;
};
/*! /*!
* \brief Specifies the types which are assoicated with a solution. * \brief Specifies the types which are assoicated with a solution.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment