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

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:52:10 UTC 2009


The following commit has been merged in the upstream branch:
commit 466a71ed9125f16b03ae785a07a81e3ca56463e6
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Mon Jul 4 13:01:40 2005 +1000

    Fix for non-advected tracers with sources
    
    darcs-hash:20050704030140-fbd8f-4dba9495f36a893f7c0d2ed0e6f79b0c646991c5.gz

diff --git a/src/simulation.c b/src/simulation.c
index d47a465..c48baf1 100644
--- a/src/simulation.c
+++ b/src/simulation.c
@@ -563,9 +563,7 @@ static void simulation_run (GfsSimulation * sim)
 	  break;
 	case GFS_VOF:
 	  gfs_tracer_vof_advection (domain, &t->advection, NULL);
-	  gfs_domain_variable_centered_sources (domain, v, v, t->advection.dt);
-	  break;
-	case GFS_NONE:
+	  gfs_domain_variable_centered_sources (domain, i->data, i->data, t->advection.dt);
 	  break;
 	}
       }

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list