simulation.cc autoformatting

This commit is contained in:
jpekkila
2019-07-03 16:57:57 +03:00
parent 25d4b9a0cd
commit 59ac264743

View File

@@ -29,11 +29,11 @@
#include "config_loader.h" #include "config_loader.h"
#include "core/errchk.h" #include "core/errchk.h"
#include "core/math_utils.h" #include "core/math_utils.h"
#include "model/host_forcing.h"
#include "model/host_memory.h" #include "model/host_memory.h"
#include "model/host_timestep.h" #include "model/host_timestep.h"
#include "model/model_reduce.h" #include "model/model_reduce.h"
#include "model/model_rk3.h" #include "model/model_rk3.h"
#include "model/host_forcing.h"
#include "timer_hires.h" #include "timer_hires.h"
#include <string.h> #include <string.h>
@@ -61,7 +61,6 @@ print_diagnostics(const AcMesh& mesh, const int& step, const AcReal& dt)
} }
*/ */
// Write all setting info into a separate ascii file. This is done to guarantee // Write all setting info into a separate ascii file. This is done to guarantee
// that we have the data specifi information in the thing, even though in // that we have the data specifi information in the thing, even though in
// principle these things are in the astaroth.conf. // principle these things are in the astaroth.conf.
@@ -268,7 +267,8 @@ run_simulation(void)
AcReal3 e_force; AcReal3 e_force;
if ((k_force.y == 0.0) && (k_force.z == 0.0)) { if ((k_force.y == 0.0) && (k_force.z == 0.0)) {
e_force = (AcReal3){0.0, 1.0, 0.0}; e_force = (AcReal3){0.0, 1.0, 0.0};
} else { }
else {
e_force = (AcReal3){1.0, 0.0, 0.0}; e_force = (AcReal3){1.0, 0.0, 0.0};
} }
helical_forcing_e_generator(&e_force, k_force); helical_forcing_e_generator(&e_force, k_force);