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[]) {
dirichletNodes);
auto multigridStep = factory.getSolver();
std::fstream iterationWriter("iterations", std::fstream::out);
auto timeSteppingScheme = initTimeStepper(
parset.get<Config::scheme>("timeSteps.scheme"),
velocityDirichletFunction, dirichletNodes, M, A, C, u_initial,
......@@ -418,7 +416,6 @@ int main(int argc, char *argv[]) {
solveVelocityProblem(velocityIterate, alpha);
iterationWriter << iterationCounter << " ";
if (printProgress)
std::cout << '.' << std::flush;
......@@ -445,7 +442,6 @@ int main(int argc, char *argv[]) {
timeSteppingScheme->extractRelativeVelocity(vr);
report(ur, vr, alpha);
iterationWriter << std::endl;
{
BasisGridFunction<typename MyAssembler::VertexBasis, Vector>
......@@ -463,8 +459,6 @@ int main(int argc, char *argv[]) {
vtkWriter.write(timeStep, ur, vr, alpha, stress);
}
}
iterationWriter.close();
Python::stop();
}
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