Commit e631ff57 authored by Christoph Grueninger's avatar Christoph Grueninger
Browse files

[multidomain] Whitespace changes.

Replace tabs by spaces.


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13948 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 7b1ca751
......@@ -86,7 +86,7 @@ public:
*
*/
MultiDomainProblem(MultiDomainGrid &mdGrid,
TimeManager &timeManager)
TimeManager &timeManager)
: timeManager_(timeManager)
, newtonMethod_(asImp_())
, newtonCtl_(asImp_())
......@@ -257,8 +257,8 @@ public:
//! \copydoc Dumux::ImplicitProblem::advanceTimeLevel()
void advanceTimeLevel()
{
asImp_().sdProblem1().advanceTimeLevel();
asImp_().sdProblem2().advanceTimeLevel();
asImp_().sdProblem1().advanceTimeLevel();
asImp_().sdProblem2().advanceTimeLevel();
model_.advanceTimeLevel();
}
......@@ -451,7 +451,7 @@ private:
Model model_;
MultiDomainGrid &mdGrid_;
MultiDomainGrid &mdGrid_;
const MultiDomainGridView mdGridView_;
VertexMapper mdVertexMapper_;
......
......@@ -106,8 +106,8 @@ private:
public:
typedef Dune::PDELab::MultiDomain::SubProblem<MDGridFunctionSpace,
MDGridFunctionSpace,
LocalOperator1, MDCondition,
0> type;
LocalOperator1, MDCondition,
0> type;
};
SET_PROP(MultiDomain, MultiDomainSubProblem2)
......@@ -121,9 +121,9 @@ private:
typedef typename GET_PROP_TYPE(SubTypeTag2, GridFunctionSpace) GridFunctionSpace2;
public:
typedef Dune::PDELab::MultiDomain::SubProblem<MDGridFunctionSpace,
MDGridFunctionSpace,
LocalOperator2, MDCondition,
1> type;
MDGridFunctionSpace,
LocalOperator2, MDCondition,
1> type;
};
SET_PROP(MultiDomain, MultiDomainCoupling)
......@@ -134,8 +134,8 @@ private:
typedef typename GET_PROP_TYPE(TypeTag, MultiDomainCouplingLocalOperator) MDCouplingLocalOperator;
public:
typedef Dune::PDELab::MultiDomain::Coupling<MDSubProblem1,
MDSubProblem2,
MDCouplingLocalOperator> type;
MDSubProblem2,
MDCouplingLocalOperator> type;
};
// set trivial constraints transformation by default
......@@ -161,10 +161,10 @@ private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public:
typedef Dune::PDELab::MultiDomain::GridOperator<
MDGridFunctionSpace, MDGridFunctionSpace,
MBE, Scalar, Scalar, Scalar,
MDConstraintsTrafo, MDConstraintsTrafo,
MDSubProblem1, MDSubProblem2, MDCoupling> type;
MDGridFunctionSpace, MDGridFunctionSpace,
MBE, Scalar, Scalar, Scalar,
MDConstraintsTrafo, MDConstraintsTrafo,
MDSubProblem1, MDSubProblem2, MDCoupling> type;
};
SET_PROP(MultiDomain, JacobianMatrix)
......
......@@ -74,7 +74,7 @@ public:
for (int i = 0; i < nDofs1; ++i)
for (int j = 0; j < numEq1; j++)
{
dest.base()[i*numEq1 + j][0] = vec1[i][j];
dest.base()[i*numEq1 + j][0] = vec1[i][j];
Valgrind::CheckDefined(dest.base()[i*numEq1 + j][0]);
}
......@@ -82,7 +82,7 @@ public:
for (int i = 0; i < nDofs2; ++i)
for (int j = 0; j < numEq2; j++)
{
dest.base()[nDofs1*numEq1 + i*numEq2 + j][0] = vec2[i][j];
dest.base()[nDofs1*numEq1 + i*numEq2 + j][0] = vec2[i][j];
Valgrind::CheckDefined(dest.base()[nDofs1*numEq1 + i*numEq2 + j][0]);
}
......@@ -109,11 +109,11 @@ public:
for (int i = 0; i < nDofs1; ++i)
for (int j = 0; j < numEq1; j++)
dest1[i][j] = vec.base()[i*numEq1 + j][0];
dest1[i][j] = vec.base()[i*numEq1 + j][0];
for (int i = 0; i < nDofs2; ++i)
for (int j = 0; j < numEq2; j++)
dest2[i][j] = vec.base()[nDofs1*numEq1 + i*numEq2 + j][0];
dest2[i][j] = vec.base()[nDofs1*numEq1 + i*numEq2 + j][0];
// printvector(std::cout, dest1, "dest1", "row", 200, 1, 3);
// printvector(std::cout, dest2, "dest2", "row", 200, 1, 3);
......@@ -203,7 +203,7 @@ public:
const JacobianMatrix2 &M2,
JacobianMatrix &M)
{
DUNE_THROW(Dune::NotImplemented, "mergeMatrices in coupled common");
DUNE_THROW(Dune::NotImplemented, "mergeMatrices in coupled common");
}
/*!
......
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