simulation.cc autoformatting
This commit is contained in:
@@ -29,11 +29,11 @@
|
||||
#include "config_loader.h"
|
||||
#include "core/errchk.h"
|
||||
#include "core/math_utils.h"
|
||||
#include "model/host_forcing.h"
|
||||
#include "model/host_memory.h"
|
||||
#include "model/host_timestep.h"
|
||||
#include "model/model_reduce.h"
|
||||
#include "model/model_rk3.h"
|
||||
#include "model/host_forcing.h"
|
||||
#include "timer_hires.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
|
||||
// that we have the data specifi information in the thing, even though in
|
||||
// principle these things are in the astaroth.conf.
|
||||
@@ -268,7 +267,8 @@ run_simulation(void)
|
||||
AcReal3 e_force;
|
||||
if ((k_force.y == 0.0) && (k_force.z == 0.0)) {
|
||||
e_force = (AcReal3){0.0, 1.0, 0.0};
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
e_force = (AcReal3){1.0, 0.0, 0.0};
|
||||
}
|
||||
helical_forcing_e_generator(&e_force, k_force);
|
||||
|
||||
Reference in New Issue
Block a user