[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet popinet at users.sf.net
Fri May 15 02:53:33 UTC 2009


The following commit has been merged in the upstream branch:
commit 3fd5f4218359eeacc3b36abd282c6568479f0552
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Wed Feb 1 22:16:06 2006 +1100

    Stability constraint for surface tension was too restrictive
    
    darcs-hash:20060201111606-d4795-40018039df54c331e9cfbcb0368b7f2fcbcabf1f.gz

diff --git a/src/tension.c b/src/tension.c
index 5c541f5..953f1cb 100644
--- a/src/tension.c
+++ b/src/tension.c
@@ -233,7 +233,7 @@ static gdouble gfs_source_tension_stability (GfsSourceGeneric * s,
   p.c = t->c;
   gfs_domain_cell_traverse (GFS_DOMAIN (sim), FTT_PRE_ORDER, FTT_TRAVERSE_LEAFS, -1,
 			    (FttCellTraverseFunc) min_max_alpha, &p);
-  h = ftt_level_size (p.depth);
+  h = 2.*ftt_level_size (p.depth);
   if (p.alpha) {
     gdouble rhom = (1./p.amin + 1./p.amax)/2.;
     gdouble rhod = p.amin < p.amax ? p.amin/p.amax : p.amax/p.amin;

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list