[cig-commits] [commit] rajesh-petsc-schur: Got rid of an overlooked caps_per_proc for loop in Advection_diffusion.c (e65e458)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Sep 17 16:13:05 PDT 2014
Repository : https://github.com/geodynamics/citcoms
On branch : rajesh-petsc-schur
Link : https://github.com/geodynamics/citcoms/compare/1bfd8478d42e61b89bc8cfc1679ae9dcc94936f5...b8ceede151860da20e44adbb561266c5d0878b18
>---------------------------------------------------------------
commit e65e458c64e56cd1cda249a124f3b9c3430ed38c
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date: Wed Sep 17 15:09:35 2014 -0700
Got rid of an overlooked caps_per_proc for loop in Advection_diffusion.c
>---------------------------------------------------------------
e65e458c64e56cd1cda249a124f3b9c3430ed38c
lib/Advection_diffusion.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/Advection_diffusion.c b/lib/Advection_diffusion.c
index 1cf38dc..26710b3 100644
--- a/lib/Advection_diffusion.c
+++ b/lib/Advection_diffusion.c
@@ -296,7 +296,6 @@ static void set_diffusion_timestep(struct All_variables *E)
float global_fmin();
diff_timestep = 1.0e8;
- for(m=1;m<=E->sphere.caps_per_proc;m++)
for(el=1;el<=E->lmesh.nel;el++) {
for(d=1;d<=E->mesh.nsd;d++) {
ts = E->eco[CPPR][el].size[d] * E->eco[CPPR][el].size[d];
@@ -306,8 +305,6 @@ static void set_diffusion_timestep(struct All_variables *E)
diff_timestep = global_fmin(E,diff_timestep);
E->advection.diff_timestep = 0.5 * diff_timestep;
-
- return;
}
More information about the CIG-COMMITS
mailing list