[cig-commits] [commit] rajesh-petsc-schur: Eliminated the 2nd argument of set_up_nonmg_aliases, which was set to the caps_per_proc loop variable (3bbdae5)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Nov 5 19:09:23 PST 2014
Repository : https://github.com/geodynamics/citcoms
On branch : rajesh-petsc-schur
Link : https://github.com/geodynamics/citcoms/compare/464e1b32299b15819f93efd98d969cddb84dfe51...f97ae655a50bdbd6dac1923a3471ee4dae178fbd
>---------------------------------------------------------------
commit 3bbdae5d53ef6e1e0fdad596ccddae2acd2a2354
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date: Thu Sep 18 11:08:05 2014 -0700
Eliminated the 2nd argument of set_up_nonmg_aliases, which was set to the caps_per_proc loop variable
>---------------------------------------------------------------
3bbdae5d53ef6e1e0fdad596ccddae2acd2a2354
lib/Instructions.c | 11 +++--------
lib/prototypes.h | 2 +-
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/lib/Instructions.c b/lib/Instructions.c
index 90844bb..0f75aff 100644
--- a/lib/Instructions.c
+++ b/lib/Instructions.c
@@ -1146,14 +1146,12 @@ void allocate_common_vars(E)
mat_prop_allocate(E);
phase_change_allocate(E);
- set_up_nonmg_aliases(E,CPPR);
+ set_up_nonmg_aliases(E);
if (strcmp(E->output.format, "hdf5") == 0)
h5output_allocate_memory(E);
-
- return;
- }
+}
/* ========================================================= */
@@ -1348,10 +1346,7 @@ void check_bc_consistency(E)
} /* end for j and lev */
}
-void set_up_nonmg_aliases(E,j)
- struct All_variables *E;
- int j;
-
+void set_up_nonmg_aliases(struct All_variables *E)
{ /* Aliases for functions only interested in the highest mg level */
int i;
diff --git a/lib/prototypes.h b/lib/prototypes.h
index 6c0d339..233e7f6 100644
--- a/lib/prototypes.h
+++ b/lib/prototypes.h
@@ -235,7 +235,7 @@ void allocate_common_vars(struct All_variables *);
void allocate_velocity_vars(struct All_variables *);
void global_default_values(struct All_variables *);
void check_bc_consistency(struct All_variables *);
-void set_up_nonmg_aliases(struct All_variables *, int);
+void set_up_nonmg_aliases(struct All_variables *);
void report(struct All_variables *, char *);
void record(struct All_variables *, char *);
void common_initial_fields(struct All_variables *);
More information about the CIG-COMMITS
mailing list