tPut newline around function definition in correct place - cngf-pf - continuum … | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b33b0ac09f471045f4ba8258cab941a158bf0756 | |
parent e29ffbfa4c1df312f3c1e3f59011e4c0efa4e68f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 28 Jun 2019 12:04:00 +0200 | |
Put newline around function definition in correct place | |
Diffstat: | |
M fluid.c | 32 ++++++++++++++++-------------… | |
1 file changed, 16 insertions(+), 16 deletions(-) | |
--- | |
diff --git a/fluid.c b/fluid.c | |
t@@ -48,26 +48,26 @@ set_largest_fluid_timestep(struct simulation* sim, const d… | |
sim->dt = sim->file_dt*0.5; | |
} | |
-static | |
-double sine_wave(const double time, | |
- const double amplitude, | |
- const double frequency, | |
- const double phase, | |
- const double base_value) | |
+static double | |
+sine_wave(const double time, | |
+ const double amplitude, | |
+ const double frequency, | |
+ const double phase, | |
+ const double base_value) | |
{ | |
return amplitude*sin(2.0*PI*frequency*time + phase) + base_value; | |
} | |
-static | |
-double darcy_pressure_change_1d(const int i, | |
- const int nz, | |
- const double* p_f_ghost_in, | |
- const double* phi, | |
- const double* k, | |
- const double dz, | |
- const double dt, | |
- const double beta_f, | |
- const double mu_f) | |
+static double | |
+darcy_pressure_change_1d(const int i, | |
+ const int nz, | |
+ const double* p_f_ghost_in, | |
+ const double* phi, | |
+ const double* k, | |
+ const double dz, | |
+ const double dt, | |
+ const double beta_f, | |
+ const double mu_f) | |
{ | |
double p, p_zn, p_zp, k_, div_k_grad_p; | |
double k_zn, k_zp; |