[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:55:48 UTC 2009
The following commit has been merged in the upstream branch:
commit 6aa425e43a469c4b2d259828aaadc06a4d371cb0
Author: Stephane Popinet <popinet at users.sf.net>
Date: Tue Oct 21 11:12:06 2008 +1100
Increased significant digits of text export
darcs-hash:20081021001206-d4795-805d2b831b1b6e1c7cbe5e6d7745438a4e56739c.gz
diff --git a/src/output.c b/src/output.c
index b0b949a..0f40aff 100644
--- a/src/output.c
+++ b/src/output.c
@@ -1199,7 +1199,7 @@ static void write_text (FttCell * cell, GfsOutputSimulation * output)
gfs_cell_cm (cell, &p);
gfs_simulation_map_inverse (gfs_object_simulation (output), &p);
- fprintf (fp, "%g %g %g", p.x, p.y, p.z);
+ fprintf (fp, "%.6f %.6f %.6f", p.x, p.y, p.z);
while (i) {
if (GFS_VARIABLE1 (i->data)->name)
fprintf (fp, " %g", GFS_VARIABLE (cell, GFS_VARIABLE1 (i->data)->i));
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list