Commit 3247ce2d authored by Timo Koch's avatar Timo Koch

Merge branch 'cleanup/remove-restart' into 'master'

[cleanup] Remove restart

See merge request !66
parents 0c8e99e3 e964d079
Pipeline #760 canceled with stage
......@@ -91,6 +91,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
......@@ -91,7 +91,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x(fvGridGeometry->numDofs());
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......@@ -115,7 +115,7 @@ int main(int argc, char** argv) try
vtkWriter.write(0.0);
// instantiate time loop
auto timeLoop = std::make_shared<TimeLoop<Scalar>>(restartTime, dt, tEnd);
auto timeLoop = std::make_shared<TimeLoop<Scalar>>(0.0, dt, tEnd);
timeLoop->setMaxTimeStepSize(maxDt);
// the assembler with time loop for instationary problem
......
......@@ -91,6 +91,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
......@@ -122,6 +122,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
......@@ -91,6 +91,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
......@@ -91,6 +91,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
......@@ -91,6 +91,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
......@@ -123,6 +123,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
......@@ -91,6 +91,7 @@ int main(int argc, char** argv) try
// the solution vector
using SolutionVector = GetPropType<TypeTag, Properties::SolutionVector>;
SolutionVector x;
problem->applyInitialSolution(x);
auto xOld = x;
......
Markdown is supported
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