Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
caryfaulkner committed Jun 12, 2020
1 parent bdf1bee commit ac79bd8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Buildings/Resources/src/FastFluidDynamics/ffd.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,18 @@ int ffd(int cosimulation) {
#endif

if (para.solv->cosimulation != 1) {
if (para.outp->result_file == VTK) {
if (write_vtk_data(&para, var, "result") != 0) {
ffd_log("FFD_solver(): Could not write the result file.", FFD_ERROR);
return 1;
}
}
else if (para.outp->result_file == PLT) {
if (write_tecplot_data(&para, var, "result") != 0) {
ffd_log("FFD_solver(): Could not write the result file.", FFD_ERROR);
return 1;
}
}
if (para.outp->result_file == VTK) {
if (write_vtk_data(&para, var, "result") != 0) {
ffd_log("FFD_solver(): Could not write the result file.", FFD_ERROR);
return 1;
}
}
else if (para.outp->result_file == PLT) {
if (write_tecplot_data(&para, var, "result") != 0) {
ffd_log("FFD_solver(): Could not write the result file.", FFD_ERROR);
return 1;
}
}
}

/* Free the memory */
Expand Down

0 comments on commit ac79bd8

Please sign in to comment.