[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:53:49 UTC 2009
The following commit has been merged in the upstream branch:
commit af4462770ba6572994dfbdaa661baaea041f1eac
Author: Stephane Popinet <popinet at users.sf.net>
Date: Mon Dec 11 13:22:30 2006 +1100
Added description for VariableDistance
darcs-hash:20061211022230-d4795-9f474c2de070acd0995922e513ab8ce1cfaa2bac.gz
diff --git a/src/levelset.c b/src/levelset.c
index 98097fe..674194a 100644
--- a/src/levelset.c
+++ b/src/levelset.c
@@ -41,6 +41,11 @@ static void variable_distance_read (GtsObject ** o, GtsFile * fp)
gts_file_error (fp, "unknown variable `%s'", fp->token->str);
return;
}
+ if (GFS_VARIABLE1 (*o)->description)
+ g_free (GFS_VARIABLE1 (*o)->description);
+ GFS_VARIABLE1 (*o)->description = g_strjoin (" ",
+ "Distance to the interface defined by tracer",
+ fp->token->str, NULL);
gts_file_next_token (fp);
}
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list