[cig-commits] [commit] rajesh-petsc-schur: Changed the shape of E->Vi as part of caps_per_proc removal; should we get rid of E->Vi? (cdd569f)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:11:30 PST 2014


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

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

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

commit cdd569f5ab22e4de5842794eb92ba372c8b2fbd0
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Tue Sep 23 13:44:00 2014 -0700

    Changed the shape of E->Vi as part of caps_per_proc removal; should we get rid of E->Vi?


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

cdd569f5ab22e4de5842794eb92ba372c8b2fbd0
 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 a04b9ef..7483d90 100644
--- a/lib/Instructions.c
+++ b/lib/Instructions.c
@@ -1354,7 +1354,7 @@ void set_up_nonmg_aliases(struct All_variables *E)
   E->eco = E->ECO[E->mesh.levmax][CPPR];
   E->ien = E->IEN[E->mesh.levmax][CPPR];
   E->id = E->ID[E->mesh.levmax][CPPR];
-  E->Vi[CPPR] = E->VI[E->mesh.levmax];
+  E->Vi = E->VI[E->mesh.levmax];
   E->EVi[CPPR] = E->EVI[E->mesh.levmax];
   E->node[CPPR] = E->NODE[E->mesh.levmax][CPPR];
   E->cc = E->CC[E->mesh.levmax][CPPR];
diff --git a/lib/global_defs.h b/lib/global_defs.h
index efe9f58..924ac15 100644
--- a/lib/global_defs.h
+++ b/lib/global_defs.h
@@ -846,7 +846,7 @@ struct All_variables {
     float *Fas670[NCS],*Fas410[NCS],*Fas670_b[NCS],*Fas410_b[NCS];
     float *Fascmb[NCS],*Fascmb_b[NCS];
 
-    float *Vi[NCS],*EVi[NCS];
+    float *Vi,*EVi[NCS];
     float *VI[MAX_LEVELS],*EVI[MAX_LEVELS];
 
 #ifdef CITCOM_ALLOW_ANISOTROPIC_VISC



More information about the CIG-COMMITS mailing list