[cig-commits] [commit] rajesh-petsc-schur: Corrected the signature of interp_vector (8b86cd4)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri Sep 19 15:45:54 PDT 2014


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

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/bf06b875e7dc84c29b7a035ba968f94db116d1db...c8e5eda008ae8e9252def10e7cadbc5883f6e175

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

commit 8b86cd4089b06725727c55bbe07c1a8b8060b1c8
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Fri Sep 19 09:51:19 2014 -0700

    Corrected the signature of interp_vector


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

8b86cd4089b06725727c55bbe07c1a8b8060b1c8
 lib/Solver_multigrid.c | 2 +-
 lib/prototypes.h       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Solver_multigrid.c b/lib/Solver_multigrid.c
index 8af0912..1b87bc3 100644
--- a/lib/Solver_multigrid.c
+++ b/lib/Solver_multigrid.c
@@ -174,7 +174,7 @@ void interp_vector(E,start_lev,AD,AU)
 
     struct All_variables *E;
      int start_lev;
-     double **AD,**AU;  /* data on upper/lower mesh  */
+     double *AD,*AU;  /* data on upper/lower mesh  */
 {
     void un_inject_vector();
     void fill_in_gaps();
diff --git a/lib/prototypes.h b/lib/prototypes.h
index 48911d9..15b6cf4 100644
--- a/lib/prototypes.h
+++ b/lib/prototypes.h
@@ -467,7 +467,7 @@ void mg_allocate_vars(struct All_variables *);
 void inject_scalar(struct All_variables *, int, float **, float **);
 void inject_vector(struct All_variables *, int, double **, double **);
 void un_inject_vector(struct All_variables *, int, double **, double **);
-void interp_vector(struct All_variables *, int, double **, double **);
+void interp_vector(struct All_variables *, int, double *, double *);
 void project_viscosity(struct All_variables *);
 void inject_scalar_e(struct All_variables *, int, float **, float **);
 void project_scalar_e(struct All_variables *, int, float **, float **);



More information about the CIG-COMMITS mailing list