Skip to content
Snippets Groups Projects
Commit cbdde7f5 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'karapiperis/added_max_divB_error_to_stats_file' into 'MHD_canvas'

Karapiperis/added max div b error to stats file

See merge request !2137
parents b56fa5ba 111ffd76
No related branches found
No related tags found
2 merge requests!2137Karapiperis/added max div b error to stats file,!1530Draft: Blank functions for MHD support
......@@ -103,7 +103,7 @@ void stats_add(struct statistics *a, const struct statistics *b) {
a->gas_He_mass += b->gas_He_mass;
a->E_mag += b->E_mag;
a->divB_error += b->divB_error;
a->divB_error_max += b->divB_error_max;
a->divB_error_max = fmaxf(a->divB_error_max, b->divB_error_max);
a->H_cross += b->H_cross;
a->H_mag += b->H_mag;
a->Brms += b->Brms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment