[cig-commits] [commit] rajesh-petsc-schur: Corrected the signature of project_vector (312536e)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Nov 5 19:10:37 PST 2014
Repository : https://github.com/geodynamics/citcoms
On branch : rajesh-petsc-schur
Link : https://github.com/geodynamics/citcoms/compare/464e1b32299b15819f93efd98d969cddb84dfe51...f97ae655a50bdbd6dac1923a3471ee4dae178fbd
>---------------------------------------------------------------
commit 312536e6c42348d91e20e71a3bc9cdac3a9770e6
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date: Fri Sep 19 09:44:24 2014 -0700
Corrected the signature of project_vector
>---------------------------------------------------------------
312536e6c42348d91e20e71a3bc9cdac3a9770e6
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 68dfe99..eff88d7 100644
--- a/lib/Solver_multigrid.c
+++ b/lib/Solver_multigrid.c
@@ -436,7 +436,7 @@ void project_vector(E,start_lev,AU,AD,ic)
struct All_variables *E;
int start_lev,ic;
- double **AU,**AD; /* data on upper/lower mesh */
+ double *AU,*AD; /* data on upper/lower mesh */
{
int i,j,m;
int el,node1,node,e1;
diff --git a/lib/prototypes.h b/lib/prototypes.h
index 4557b54..3871873 100644
--- a/lib/prototypes.h
+++ b/lib/prototypes.h
@@ -472,7 +472,7 @@ 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 **);
void project_scalar(struct All_variables *, int, float **, float **);
-void project_vector(struct All_variables *, int, double **, double **, int);
+void project_vector(struct All_variables *, int, double *, double *, int);
void from_xyz_to_rtf(struct All_variables *, int, double **, double **);
void from_rtf_to_xyz(struct All_variables *, int, double **, double **);
void fill_in_gaps(struct All_variables *, double **, int);
More information about the CIG-COMMITS
mailing list