From 9cc92bd630302936bbd7a41ac48de16678b615a3 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 7 Jul 2017 14:40:20 -0400 Subject: changes --- src/fracture.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/fracture.c b/src/fracture.c index ede7a24..6d1c768 100644 --- a/src/fracture.c +++ b/src/fracture.c @@ -161,12 +161,13 @@ int main(int argc, char *argv[]) { } char boundc; - if (use_voltage_boundaries) + if (use_voltage_boundaries) { boundc = 'v'; - else + } else { boundc = 'c'; - FILE *data_out; + +}FILE *data_out; if (save_data) { char *data_filename = (char *)malloc(filename_len * sizeof(char)); snprintf(data_filename, filename_len, "data_%c_%c_%c_%c_%u_%g_%g.txt", @@ -325,8 +326,9 @@ int main(int argc, char *argv[]) { } } - if (save_crit_stress) + if (save_crit_stress) { crit_stress[i] = data->extern_field[max_pos]; +} if (save_conductivity) { if (max_pos > 0) { -- cgit v1.2.3-70-g09d2