Skip to content

Commit

Permalink
PREM header file incomplete declarations led to compile problems with…
Browse files Browse the repository at this point in the history
… -fPIC.
  • Loading branch information
thwbecker committed Feb 6, 2021
1 parent bf1eab1 commit 6a92af8
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions prem.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,16 @@ struct prem_model{
functions
*/
int prem_find_layer_x(double , double, double *,int ,int, double *);
double prem_compute_pval(double *, double *, int , double );
double prem_compute_dpval(double *, double *, int , double );
double prem_vs_voigt(double , double , double , double ,
double);
void prem_get_rhodrho(double *, double *, double , struct prem_model *);
void prem_get_rho(double *,double , struct prem_model *);
int prem_find_layer_x(double, double, double *, int, int, double *);
double prem_compute_pval(double *, double *, int, double);
double prem_compute_dpval(double *, double *, int, double);
double prem_vs_voigt(double, double, double, double, double);
void prem_get_rhodrho(double *, double *, double, struct prem_model *);
void prem_get_rho(double *, double, struct prem_model *);
void prem_get_values(double *, double *, double *, double *, double *, double *, double *, double *, double *, double *, double, struct prem_model *);
int prem_read_model(char *, struct prem_model *, unsigned short);
int prem_read_para_set(double *, int, int, FILE *);

void prem_get_values(double *, double *, double *, double *,
double *, double *, double *, double *,
double *, double *, double ,
struct prem_model *);



int prem_read_model(char *,struct prem_model *,
hc_boolean );

int prem_read_para_set(double *, int , int ,FILE *);
#define __READ_PREM_HEADER__

#endif

0 comments on commit 6a92af8

Please sign in to comment.