We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c8640b commit 501c711Copy full SHA for 501c711
amr-wind/utilities/sampling/FieldNorms.H
@@ -78,7 +78,7 @@ private:
78
int m_width{18};
79
80
//! precision in ASCII output
81
- int m_precision{12};
+ int m_precision{10};
82
83
//! Type of norm
84
int m_norm_type{2};
amr-wind/utilities/sampling/FieldNorms.cpp
@@ -248,7 +248,7 @@ void FieldNorms::write_ascii()
248
249
if (amrex::ParallelDescriptor::IOProcessor()) {
250
std::ofstream f(m_out_fname.c_str(), std::ios_base::app);
251
- f << m_sim.time().time_index() << std::fixed
+ f << m_sim.time().time_index() << std::scientific
252
<< std::setprecision(m_precision) << std::setw(m_width)
253
<< m_sim.time().new_time();
254
for (double m_fnorm : m_fnorms) {
0 commit comments