Skip to content

Commit

Permalink
Change header files outside of solver script for C99 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Deuzeman committed Feb 14, 2012
1 parent 3043b22 commit 6b5dc43
Show file tree
Hide file tree
Showing 4 changed files with 230 additions and 402 deletions.
4 changes: 2 additions & 2 deletions boundary.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

#include "su3.h"

extern complex ka0, ka1, ka2, ka3;
extern complex phase_0, phase_1, phase_2, phase_3;
extern _Complex double ka0, ka1, ka2, ka3;
extern _Complex double phase_0, phase_1, phase_2, phase_3;
void boundary(const double kappa);

#endif
16 changes: 8 additions & 8 deletions little_D.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
#ifndef _LITTLE_D_H
#define _LITTLE_D_H

#include "complex.h"
#include <complex.h>

extern int dfl_subspace_updated;
void little_D(complex * v, complex *w);
void little_D_sym(complex * v, complex *w);
void little_D_ee_inv(complex * v, complex *w);
void little_D_hop(int eo,complex * v, complex *w);
void little_Dhat_lhs(complex * v, complex *w, complex *u);
void little_Dhat_rhs(int eo, complex * v, double r, complex *w);
void unit_little_D(complex *v, complex *w);
void little_D(_Complex double * v, _Complex double *w);
void little_D_sym(_Complex double * v, _Complex double *w);
void little_D_ee_inv(_Complex double * v, _Complex double *w);
void little_D_hop(int eo,_Complex double * v, _Complex double *w);
void little_Dhat_lhs(_Complex double * v, _Complex double *w, _Complex double *u);
void little_Dhat_rhs(int eo, _Complex double * v, double r, _Complex double *w);
void unit_little_D(_Complex double *v, _Complex double *w);
void invert_little_D_spinor(spinor *r, spinor *s);
void invert_little_D_eo_spinor(spinor *r, spinor *s);
void apply_little_D_spinor(spinor *r, spinor *s);
Expand Down
2 changes: 1 addition & 1 deletion monomial.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ typedef struct {
double MDPolyLmin;
double MDPolyLmax;
char MDPolyRootsFile[256];
complex *MDPolyRoots;
_Complex double *MDPolyRoots;
spinor **MDPoly_chi_spinor_fields;
double MDPolyLocNormConst;
int MDPolyDetRatio;
Expand Down
Loading

0 comments on commit 6b5dc43

Please sign in to comment.