Commit 23e84ecf authored by Christoph Grueninger's avatar Christoph Grueninger
Browse files

[clenup,multidomain] Get rid of emtpy constructors.

(reviewed by fetzer)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15044 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 701d2f12
......@@ -44,9 +44,6 @@ class IterativePrecondSolverBackend
{
public:
IterativePrecondSolverBackend()
{}
template<class Preconditioner, class Solver, class Matrix, class Vector>
bool solve(const Matrix& A, Vector& x, const Vector& b)
{
......@@ -379,9 +376,6 @@ class ILU0SolverBackend
{
public:
ILU0SolverBackend()
{}
template<class Preconditioner, class Solver, class Matrix, class Vector>
bool solve(const Matrix& A, Vector& x, const Vector& b)
{
......
......@@ -27,8 +27,6 @@
#define DUMUX_MULTIDOMAIN_PROPERTIES_HH
#include <dumux/implicit/common/implicitproperties.hh>
#include <dumux/nonlinear/newtonmethod.hh>
#include <dumux/linear/linearsolverproperties.hh>
namespace Dumux
{
......@@ -42,7 +40,7 @@ namespace Properties
//////////////////////////////////////////////////////////////////
//! The type tag for problems which utilize the coupling approach
NEW_TYPE_TAG(MultiDomain, INHERITS_FROM(NewtonMethod, LinearSolverTypeTag, ImplicitBase));
NEW_TYPE_TAG(MultiDomain, INHERITS_FROM(ImplicitBase));
//////////////////////////////////////////////////////////////////
// Property tags
......
......@@ -190,17 +190,19 @@ public:
typedef Dune::BlockVector<Dune::FieldVector<Scalar, numEq> > type;
};
//! use the plain newton method for the coupled problems by default
// use the plain newton method for the coupled problems by default
SET_TYPE_PROP(MultiDomain, NewtonMethod, NewtonMethod<TypeTag>);
//! use the plain newton controller for coupled problems by default
// use the plain newton controller for coupled problems by default
SET_TYPE_PROP(MultiDomain, NewtonController, MultiDomainNewtonController<TypeTag>);
//! Set the default type of the time manager for coupled models
// Set the default type of the time manager for coupled models
SET_TYPE_PROP(MultiDomain, TimeManager, TimeManager<TypeTag>);
// needed to define size of ImplicitBase's PrimaryVariables
SET_PROP(MultiDomain, NumEq)
{ private:
{
private:
typedef typename GET_PROP_TYPE(TypeTag, SubDomain1TypeTag) TypeTag1;
typedef typename GET_PROP_TYPE(TypeTag, SubDomain2TypeTag) TypeTag2;
......@@ -209,7 +211,7 @@ SET_PROP(MultiDomain, NumEq)
numEq2 = GET_PROP_VALUE(TypeTag2, NumEq)
};
public:
static const int value = numEq1; //TODO: why??
static const int value = numEq1;
};
SET_PROP(MultiDomain, NumEq1)
......
......@@ -120,12 +120,6 @@ public:
params_.setVgn(GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, Scalar, SpatialParams, VgN));
}
/*!
* \brief The destructor
*/
~TwoCNIStokesTwoPTwoCNISpatialParams()
{ }
/*!
* \brief Returns the intrinsic permeability tensor \f$[m^2]\f$
*
......
......@@ -121,12 +121,6 @@ public:
params_.setVgn(GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, Scalar, SpatialParams, VgN));
}
/*!
* \brief The destructor
*/
~TwoCStokesTwoPTwoCSpatialParams()
{}
/*!
* \brief Returns the intrinsic permeability tensor \f$[m^2]\f$
*
......
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