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

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


The following commit has been merged in the upstream branch:
commit e8cf52d87d864150869bf2c19da8caacb02d8c6e
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Tue Feb 14 19:01:54 2006 +1100

    gfs_domain_norm_residual() was not computing a dimensionless divergence
    
    It now returns the error in volume conservation per timestep relative
    to the volume of the cell.
    
    darcs-hash:20060214080154-d4795-64bdbe05dbb72b104bdc4b3e45a6097d8142c40b.gz

diff --git a/src/domain.c b/src/domain.c
index fe4568a..b8aefa1 100644
--- a/src/domain.c
+++ b/src/domain.c
@@ -1544,7 +1544,8 @@ GfsNorm gfs_domain_norm_residual (GfsDomain * domain,
   domain_norm_reduce (domain, &n);
 #endif /* HAVE_MPI */
   gfs_norm_update (&n);
-  
+
+  dt *= dt;
   n.bias *= dt;
   n.first *= dt;
   n.second *= dt;

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list