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

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


The following commit has been merged in the upstream branch:
commit ea1ec8b0760e39822736e4336ca2c1d31f3a9391
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Thu Jun 30 19:48:14 2005 +1000

    Allows for "tracers" only governed by source terms
    
    darcs-hash:20050630094814-d4795-dff2966a7ba4099d40b04594bcd5b91bb265e766.gz

diff --git a/src/simulation.c b/src/simulation.c
index 3c3eb02..d47a465 100644
--- a/src/simulation.c
+++ b/src/simulation.c
@@ -558,12 +558,12 @@ static void simulation_run (GfsSimulation * sim)
 
 	t->advection.dt = sim->advection_params.dt;
 	switch (t->advection.scheme) {
-	case GFS_GODUNOV:
+	case GFS_GODUNOV: case GFS_NONE:
 	  gfs_tracer_advection_diffusion (domain, &t->advection, &t->diffusion, NULL);
 	  break;
 	case GFS_VOF:
 	  gfs_tracer_vof_advection (domain, &t->advection, NULL);
-	  gfs_domain_variable_centered_sources (domain, i->data, i->data, t->advection.dt);
+	  gfs_domain_variable_centered_sources (domain, v, v, t->advection.dt);
 	  break;
 	case GFS_NONE:
 	  break;

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list