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

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


The following commit has been merged in the upstream branch:
commit 2a1722fb05d2a00fa322ba3f3f38012f980cd412
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Sat Jan 28 04:46:55 2006 +1100

    Bug fix for GfsSourceDiffusionExplicit
    
    darcs-hash:20060127174655-d4795-c574084ee914ad1e34568b6835bc54f2d5128bb4.gz

diff --git a/src/source.c b/src/source.c
index b440d87..3195e0f 100644
--- a/src/source.c
+++ b/src/source.c
@@ -655,7 +655,7 @@ gdouble gfs_source_diffusion_cell (GfsSourceDiffusion * d, FttCell * cell)
 static void explicit_diffusion (FttCell * cell, GfsSourceGeneric * s)
 {
   GFS_VARIABLE (cell, GFS_SOURCE_DIFFUSION_EXPLICIT (s)->s->i) = 
-    source_diffusion_value (s, cell, s->v);
+    source_diffusion_value (s, cell, GFS_SOURCE_SCALAR (s)->v);
 }
 
 static gboolean gfs_source_diffusion_explicit_event (GfsEvent * event, GfsSimulation * sim)

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list