Skip to content
Snippets Groups Projects
Commit e36e1696 authored by Robert K's avatar Robert K
Browse files

[bugfix] also print operator calls at the end of simulation.

parent 8a0a069a
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ namespace Fem
void writeFemEoc ( const Monitor &monitor, const double runTime, std::stringstream &out )
{
Fem::FemEoc::write( *monitor.gridWidth, *monitor.elements, runTime, *monitor.timeSteps,
monitor.doubleValues(), monitor.intValues(), out );
monitor.doubleValues(), monitor.intValues(), out );
}
......
......@@ -79,7 +79,7 @@ namespace Fem
void finalize( const double gridWidth, const double gridSize, const LinearSolverMonitorImp& solver )
{
*solverMonitor_.gridWidth = gridWidth;
*solverMonitor_.elements = gridSize;
*solverMonitor_.elements = gridSize;
//*solverMonitor_.ils_iterations = invDgOperator_->iterations();
//*solverMonitor_.totalNewtonIterations_ = solver.iterations();
......
......@@ -95,6 +95,7 @@ namespace Fem
values.push_back( IntPairType("ILS", total_ils_iterations_[ monitorNumber_ ] ) );
values.push_back( IntPairType("max{Newton/linS}", max_newton_iterations_[ monitorNumber_ ] ) );
values.push_back( IntPairType("max{ILS/linS}", max_ils_iterations_[ monitorNumber_ ] ) );
values.push_back( IntPairType("OCs:", total_operator_calls_[ monitorNumber_ ] ) );
return std::move( values );
}
......
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