Commit 3e17d34f authored by Christoph Grueninger's avatar Christoph Grueninger
Browse files

[cleanup] Remove wrong semicolon after methods.

Remove empty constructors and destructors.
(reviewed by bernd)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14161 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent ff0d1521
......@@ -63,7 +63,7 @@ public:
// specified via the property system as default, and overwrite
// it by the run-time parameter from the Dune::ParameterTree
upwindWeight_ = GET_PARAM_FROM_GROUP(TypeTag, Scalar, Implicit, MassUpwindWeight);
};
}
/*!
* \brief Evaluate the rate of change of all conservation
......
......@@ -89,7 +89,7 @@ struct MultiDomainConvergenceWriter
if (!vtkMultiWriter2_)
vtkMultiWriter2_ = new VtkMultiWriter2(problem_().sdProblem2().gridView(), "convergence2");
};
}
/*!
* \brief Start and advance one iteration
......@@ -103,7 +103,7 @@ struct MultiDomainConvergenceWriter
++ iteration_;
vtkMultiWriter1_->beginWrite(timeStepIndex_ + iteration_ / 100.0);
vtkMultiWriter2_->beginWrite(timeStepIndex_ + iteration_ / 100.0);
};
}
/*!
* \brief Start and advance one iteration
......@@ -135,21 +135,21 @@ struct MultiDomainConvergenceWriter
std::cout << "\n writing convergence file of current Newton iteration \n";
ctl_.method().model().sdModel1().addConvergenceVtkFields(*vtkMultiWriter1_, uLastIter1, deltaU1);
ctl_.method().model().sdModel2().addConvergenceVtkFields(*vtkMultiWriter2_, uLastIter2, deltaU2);
};
}
//! \brief End of iteration
void endIteration()
{
vtkMultiWriter1_->endWrite();
vtkMultiWriter2_->endWrite();
};
}
//! \brief End of time step
void endTimestep()
{
++timeStepIndex_;
iteration_ = 0;
};
}
private:
const Problem &problem_() const
......
......@@ -120,7 +120,7 @@ public:
uCur_ = tmpU;
return result;
#endif
};
}
/*!
* \brief Reference to the current solution as a block vector.
......@@ -271,7 +271,7 @@ public:
// merge the two sub-vectors together
SplitAndMerge::mergeSolVectors(sdModel1().curSol(), sdModel2().curSol(), *uCur_);
SplitAndMerge::mergeSolVectors(sdModel1().prevSol(), sdModel2().prevSol(), *uPrev_);
};
}
//! \copydoc Dumux::ImplicitModel::updateFailed()
void updateFailed()
......@@ -281,7 +281,7 @@ public:
// merge the two sub-vectors together
SplitAndMerge::mergeSolVectors(sdModel1().curSol(), sdModel2().curSol(), *uCur_);
};
}
/*!
* \brief Called by the update() method if a try was
......@@ -295,7 +295,7 @@ public:
// merge the two sub-vectors together
SplitAndMerge::mergeSolVectors(sdModel1().curSol(), sdModel2().curSol(), *uCur_);
};
}
/*!
* \brief Calculate the global residual.
......
......@@ -93,14 +93,7 @@ public:
<< ", "
<< GET_PROP_VALUE(TypeTag, NewtonMaxRelativeShift)
<< std::endl;
};
/*!
* \brief Destructor
*/
~MultiDomainNewtonController()
{ };
}
//! \copydoc ParentType::newtonUpdateShift()
void newtonUpdateShift(const SolutionVector &uLastIter,
......@@ -282,8 +275,8 @@ public:
convergenceWriter_.beginIteration(sdGridView1_(), sdGridView2_());
convergenceWriter_.writeFields(uLastIter, deltaU);
convergenceWriter_.endIteration();
};
};
}
}
/*!
* \brief the subdomain gridviews
......
......@@ -78,10 +78,6 @@ class TwoPTwoCCouplingLocalResidual : public TwoPTwoCLocalResidual<TypeTag>
typedef Dune::FieldVector<Scalar, dim> DimVector;
public:
//! \brief Constructor
TwoPTwoCCouplingLocalResidual()
{ };
/*!
* \brief Implementation of the boundary evaluation
*/
......
......@@ -82,10 +82,6 @@ class TwoPTwoCNICouplingLocalResidual : public NILocalResidual<TypeTag>
typedef Dune::FieldVector<Scalar, dim> DimVector;
public:
//! \brief Constructor
TwoPTwoCNICouplingLocalResidual()
{ };
/*!
* \brief Implementation of the boundary evaluation
*/
......
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