[cig-commits] [commit] rajesh-petsc-schur: Changed the shape of the cc member of the All_variables struct as part of caps_per_proc removal (f35af4c)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:10:28 PST 2014


Repository : https://github.com/geodynamics/citcoms

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/464e1b32299b15819f93efd98d969cddb84dfe51...f97ae655a50bdbd6dac1923a3471ee4dae178fbd

>---------------------------------------------------------------

commit f35af4cbe8bfb496a891329afe221e846431c4a7
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Thu Sep 18 14:11:12 2014 -0700

    Changed the shape of the cc member of the All_variables struct as part of caps_per_proc removal


>---------------------------------------------------------------

f35af4cbe8bfb496a891329afe221e846431c4a7
 lib/Instructions.c | 2 +-
 lib/global_defs.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Instructions.c b/lib/Instructions.c
index 2a0c8b7..70cb524 100644
--- a/lib/Instructions.c
+++ b/lib/Instructions.c
@@ -1357,7 +1357,7 @@ void set_up_nonmg_aliases(struct All_variables *E)
   E->Vi[CPPR] = E->VI[E->mesh.levmax][CPPR];
   E->EVi[CPPR] = E->EVI[E->mesh.levmax][CPPR];
   E->node[CPPR] = E->NODE[E->mesh.levmax][CPPR];
-  E->cc[CPPR] = E->CC[E->mesh.levmax][CPPR];
+  E->cc = E->CC[E->mesh.levmax][CPPR];
   E->ccx[CPPR] = E->CCX[E->mesh.levmax][CPPR];
   E->Mass[CPPR] = E->MASS[E->mesh.levmax][CPPR];
   E->gDA[CPPR] = E->GDA[E->mesh.levmax][CPPR];
diff --git a/lib/global_defs.h b/lib/global_defs.h
index 95ee288..c3146b2 100644
--- a/lib/global_defs.h
+++ b/lib/global_defs.h
@@ -808,7 +808,7 @@ struct All_variables {
     struct EG *elt_del[MAX_LEVELS][NCS];
     struct EC *elt_c[MAX_LEVELS][NCS];
     struct EK *elt_k[MAX_LEVELS][NCS];
-    struct CC *cc[NCS];
+    struct CC *cc;
     struct CCX *ccx[NCS];
     struct CC *CC[MAX_LEVELS][NCS];
     struct CCX *CCX[MAX_LEVELS][NCS];



More information about the CIG-COMMITS mailing list