Skip to content

Commit

Permalink
Append QoI value to output file
Browse files Browse the repository at this point in the history
  • Loading branch information
tradowsk committed Jan 17, 2018
1 parent 641b0f1 commit 408632d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/qoi/src/qoi_output.C
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace GRINS
if( comm.rank() == 0 )
{
std::ofstream output;
output.open( _file_prefix+".dat" );
output.open( _file_prefix+".dat",std::ofstream::app );

qois.output_qoi(output);

Expand Down
2 changes: 1 addition & 1 deletion src/solver/src/steady_mesh_adaptive_solver.C
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ namespace GRINS
{
// print the QoI before AMR
if( context.qoi_output->output_qoi_set() )
this->print_qoi(context,context.output_every_amr);
this->print_qoi(context);

this->perform_amr(context, error);
}
Expand Down
2 changes: 0 additions & 2 deletions src/visualization/src/visualization.C
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ namespace GRINS
filename+="."+suffix.str();

this->dump_visualization( equation_system, filename, 0.0 );

return;
}

void Visualization::output_residual( std::shared_ptr<libMesh::EquationSystems> equation_system,
Expand Down

0 comments on commit 408632d

Please sign in to comment.