[cig-commits] [commit] rajesh-petsc-schur: cleaned up assemble_div_u; results dont match master (1e6953f)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Sep 9 16:18:55 PDT 2014
Repository : https://github.com/geodynamics/citcoms
On branch : rajesh-petsc-schur
Link : https://github.com/geodynamics/citcoms/compare/4b74abccd7fd878fe02e254c4bcc60f3ad79afcc...7217daed18fa112656d9a8d5d7d860292f08a6de
>---------------------------------------------------------------
commit 1e6953fcd240466eb5673977cc70772f2b3052d1
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date: Tue Sep 9 13:18:16 2014 -0700
cleaned up assemble_div_u; results dont match master
>---------------------------------------------------------------
1e6953fcd240466eb5673977cc70772f2b3052d1
lib/Element_calculations.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/Element_calculations.c b/lib/Element_calculations.c
index 713e262..c577c52 100644
--- a/lib/Element_calculations.c
+++ b/lib/Element_calculations.c
@@ -713,8 +713,8 @@ void assemble_div_u(struct All_variables *E,
const int npno=E->lmesh.NPNO[level];
for(m=1;m<=E->sphere.caps_per_proc;m++)
- for(e=1;e<=npno;e++)
- divU[m][e] = 0.0;
+ for(e=0;e<npno;e++)
+ divU[m][e] = 0.0;
for(m=1;m<=E->sphere.caps_per_proc;m++)
for(a=1;a<=ends;a++) {
@@ -730,7 +730,6 @@ void assemble_div_u(struct All_variables *E,
}
}
- return;
}
More information about the CIG-COMMITS
mailing list