Commit a346e828 authored by Timo Koch's avatar Timo Koch
Browse files

[cleanup] Remove old unused simulation steering functions in problem

parent 3a905bbb
......@@ -119,11 +119,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{
return false;
}
void printL2Error(const SolutionVector& curSol) const
{
if(printL2Error_)
......
......@@ -108,12 +108,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{
return false;
}
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -117,11 +117,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{
return false;
}
void printL2Error(const SolutionVector& curSol) const
{
if(printL2Error_)
......
......@@ -127,11 +127,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{
return false;
}
void printL2Error(const SolutionVector& curSol) const
{
if(printL2Error_)
......
......@@ -140,11 +140,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{
return false;
}
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -128,11 +128,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{
return false;
}
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -185,11 +185,6 @@ public:
return sandGrainRoughness_;
}
bool shouldWriteRestartFile() const
{
return false;
}
/*!
* \brief Returns the temperature [K] within the domain for the isothermal model.
*/
......
......@@ -181,12 +181,6 @@ public:
return globalPos[1] < eps_;
}
bool shouldWriteRestartFile() const
{
return false;
}
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -143,25 +143,11 @@ public:
initialMoleFraction_ = getParamFromGroup<Scalar>(this->paramGroup(), "Problem.InitialMoleFraction");
}
/*!
* \name Simulation steering
*/
// \{
/*!
* \brief Returns true if a restart file should be written to disk.
*/
bool shouldWriteRestartFile() const
{ return false; }
/*!
* \name Problem parameters
*/
// \{
bool shouldWriteOutput() const // define output
{ return true; }
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -135,9 +135,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{ return false; }
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -146,11 +146,6 @@ public:
return problemName_;
}
/*!
* \name Simulation steering
*/
// \{
template<class SolutionVector, class GridVariables>
void printWaterMass(const SolutionVector& curSol,
const GridVariables& gridVariables,
......@@ -183,20 +178,11 @@ public:
std::cout << std::setprecision(15) << "mass of water is: " << massWater << std::endl;
}
/*!
* \brief Returns true if a restart file should be written to disk.
*/
bool shouldWriteRestartFile() const
{ return false; }
/*!
* \name Problem parameters
*/
// \{
bool shouldWriteOutput() const //define output
{ return true; }
/*!
* \brief Returns the temperature within the domain in [K].
*/
......
......@@ -135,25 +135,11 @@ public:
initialMoleFractionCO2_ = getParamFromGroup<Scalar>(this->paramGroup(), "Problem.InitialMoleFractionCO2");
}
/*!
* \name Simulation steering
*/
// \{
/*!
* \brief Returns true if a restart file should be written to disk.
*/
bool shouldWriteRestartFile() const
{ return false; }
/*!
* \name Problem parameters
*/
// \{
bool shouldWriteOutput() const // define output
{ return true; }
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -120,9 +120,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{ return false; }
/*!
* \brief Returns the temperature within the domain in [K].
*
......@@ -131,13 +128,6 @@ public:
Scalar temperature() const
{ return 273.15 + 10; } // 10°C
/*!
* \brief Returns the sources within the domain.
*
* \param globalPos The global position
*/
NumEqVector sourceAtPos(const GlobalPosition &globalPos) const
{ return NumEqVector(0.0); }
// \}
/*!
......
......@@ -128,26 +128,11 @@ public:
return problemName_;
}
/*!
* \name Simulation steering
*/
// \{
/*!
* \brief Returns true if a restart file should be written to disk.
*/
bool shouldWriteRestartFile() const
{ return false; }
/*!
* \name Problem parameters
*/
// \{
bool shouldWriteOutput() const // define output
{ return true; }
/*!
* \brief Returns the temperature within the domain in [K].
*
......
......@@ -114,9 +114,6 @@ public:
*/
// \{
bool shouldWriteRestartFile() const
{ return false; }
/*!
* \brief Returns the temperature within the domain in [K].
*/
......
......@@ -198,14 +198,6 @@ public:
Scalar temperature() const
{ return temperature_; }
/*!
* \brief Write a restart file?
*/
bool shouldWriteRestartFile() const
{
return ParentType::shouldWriteRestartFile();
}
// \}
/*!
......
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