Skip to content
Snippets Groups Projects
Commit c244813b authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Kill the iteration writer

parent f4b423a8
No related branches found
No related tags found
No related merge requests found
...@@ -340,8 +340,6 @@ int main(int argc, char *argv[]) { ...@@ -340,8 +340,6 @@ int main(int argc, char *argv[]) {
dirichletNodes); dirichletNodes);
auto multigridStep = factory.getSolver(); auto multigridStep = factory.getSolver();
std::fstream iterationWriter("iterations", std::fstream::out);
auto timeSteppingScheme = initTimeStepper( auto timeSteppingScheme = initTimeStepper(
parset.get<Config::scheme>("timeSteps.scheme"), parset.get<Config::scheme>("timeSteps.scheme"),
velocityDirichletFunction, dirichletNodes, M, A, C, u_initial, velocityDirichletFunction, dirichletNodes, M, A, C, u_initial,
...@@ -418,7 +416,6 @@ int main(int argc, char *argv[]) { ...@@ -418,7 +416,6 @@ int main(int argc, char *argv[]) {
solveVelocityProblem(velocityIterate, alpha); solveVelocityProblem(velocityIterate, alpha);
iterationWriter << iterationCounter << " ";
if (printProgress) if (printProgress)
std::cout << '.' << std::flush; std::cout << '.' << std::flush;
...@@ -445,7 +442,6 @@ int main(int argc, char *argv[]) { ...@@ -445,7 +442,6 @@ int main(int argc, char *argv[]) {
timeSteppingScheme->extractRelativeVelocity(vr); timeSteppingScheme->extractRelativeVelocity(vr);
report(ur, vr, alpha); report(ur, vr, alpha);
iterationWriter << std::endl;
{ {
BasisGridFunction<typename MyAssembler::VertexBasis, Vector> BasisGridFunction<typename MyAssembler::VertexBasis, Vector>
...@@ -463,8 +459,6 @@ int main(int argc, char *argv[]) { ...@@ -463,8 +459,6 @@ int main(int argc, char *argv[]) {
vtkWriter.write(timeStep, ur, vr, alpha, stress); vtkWriter.write(timeStep, ur, vr, alpha, stress);
} }
} }
iterationWriter.close();
Python::stop(); Python::stop();
} }
catch (Dune::Exception &e) { catch (Dune::Exception &e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment