Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions natgrid/Include/nnchead.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,31 @@ extern int datcnt, datcnt3, numtri, imag, numnei, iscale,

extern char tri_file[256], error_file[256], emsg[256];

extern FILE *fopen(), *filee;
extern FILE *filee;

extern void Terminate();
extern void Terminate(void);
extern void ErrorHnd(int, char *, FILE *, char *);

void FindNeigh();
void TriNeigh();
void Gradient();
void FindProp();
double Surface();
double Meld();
void TooSteep();
void TooShallow();
void TooNarrow();
struct datum *IMakeDatum();
struct simp *IMakeSimp();
struct temp *IMakeTemp();
struct neig *IMakeNeig();
int *IntVect();
void FreeVecti();
double *DoubleVect();
void FreeVectd();
int **IntMatrix();
void FreeMatrixi();
float **FloatMatrix();
void FreeMatrixf();
double **DoubleMatrix();
void FreeMatrixd();
void FindNeigh(int);
void TriNeigh(void);
void Gradient(void);
void FindProp(double, double);
double Surface(void);
double Meld(double, double, double);
void TooSteep(void);
void TooShallow(void);
void TooNarrow(void);
struct datum *IMakeDatum(void);
struct simp *IMakeSimp(void);
struct temp *IMakeTemp(void);
struct neig *IMakeNeig(void);
int *IntVect(int ncols);
void FreeVecti(int *vectptr);
double *DoubleVect(int ncols);
void FreeVectd(double *vectptr);
int **IntMatrix(int nrows, int ncols);
void FreeMatrixi(int **matptr);
float **FloatMatrix(int nrows, int ncols);
void FreeMatrixf(float **matptr);
double **DoubleMatrix(int nrows, int ncols);
void FreeMatrixd(double **matptr);
2 changes: 1 addition & 1 deletion natgrid/Include/nncheadd.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ void c_nngetsloped(int, int, double *, int *);
void c_nngetaspectd(int, int, double *, int *);
void c_nnpntinitd(int, double [], double [], double []);
extern void c_nnpntd(double, double, double *);
void c_nnpntendd();
void c_nnpntendd(void);
2 changes: 1 addition & 1 deletion natgrid/Include/nncheads.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ void c_nngetslopes(int, int, float *, int *);
void c_nngetaspects(int, int, float *, int *);
void c_nnpntinits(int, float [], float [], float []);
extern void c_nnpnts(float, float, float *);
void c_nnpntend();
void c_nnpntend(void);
6 changes: 3 additions & 3 deletions natgrid/Include/nnghead.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ extern int datcnt, datcnt3, numtri, imag, numnei, iscale,

extern char tri_file[256], error_file[256], emsg[256];

extern FILE *fopen(), *filee;
extern FILE *filee;

extern void Gradient();
extern void Gradient(void);
extern void ErrorHnd(int, char *, FILE *, char *);
extern void CircOut();
extern void CircOut(void);

extern void c_nnsetc(char *, char *);
extern void c_nngetc(char *, char *);
Expand Down
4 changes: 2 additions & 2 deletions natgrid/Include/nngheadd.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ void Initialized(int, double [], double [], int, int,
double armind(int, double *);
double armaxd(int, double *);

extern int ReadDatad();
extern int ReadDatad(int, double *, double *, double *);
extern double **MakeGridd(int, int, double *, double *);

extern void c_nnsetrd(char *, double);
extern void c_nngetrd(char *, double *);

extern void Terminate();
extern void Terminate(void);
4 changes: 2 additions & 2 deletions natgrid/Include/nngheads.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ void Initialize(int, float [], float [], int, int,
double armin(int, float *);
double armax(int, float *);

extern int ReadData();
extern int ReadData(int, float *, float *, float *);
extern float **MakeGrid(int, int, float *, float *);

extern void c_nnsetr(char *, float);
extern void c_nngetr(char *, float *);

extern void Terminate();
extern void Terminate(void);
54 changes: 27 additions & 27 deletions natgrid/Include/nnmhead.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,40 +39,40 @@ int datcnt, datcnt3, numtri, imag, numnei, iscale,
char tri_file[256] = {"nnalg.dat"}, error_file[256] = {"stderr"},
emsg[256];

FILE *fopen(), *filee = NULL;
FILE *filee = NULL;

extern void Gradient();
extern void Gradient(void);
extern void ErrorHnd(int, char *, FILE *, char *);
extern void CircOut();
extern void CircOut(void);

extern void c_nnsetc(char *, char *);
extern void c_nngetc(char *, char *);
extern void c_nnseti(char *, int);
extern void c_nngeti(char *, int *);

extern void Terminate();
extern void Terminate(void);
extern void ErrorHnd(int, char *, FILE *, char *);

void FindNeigh();
void TriNeigh();
void Gradient();
void FindProp();
double Surface();
double Meld();
void TooSteep();
void TooShallow();
void TooNarrow();
struct datum *IMakeDatum();
struct simp *IMakeSimp();
struct temp *IMakeTemp();
struct neig *IMakeNeig();
int *IntVect();
void FreeVecti();
double *DoubleVect();
void FreeVectd();
int **IntMatrix();
void FreeMatrixi();
float **FloatMatrix();
void FreeMatrixf();
double **DoubleMatrix();
void FreeMatrixd();
void FindNeigh(void);
void TriNeigh(void);
void Gradient(void);
void FindProp(void);
double Surface(void);
double Meld(void);
void TooSteep(void);
void TooShallow(void);
void TooNarrow(void);
struct datum *IMakeDatum(void);
struct simp *IMakeSimp(void);
struct temp *IMakeTemp(void);
struct neig *IMakeNeig(void);
int *IntVect(int ncols);
void FreeVecti(int *vectptr);
double *DoubleVect(int ncols);
void FreeVectd(double *vectptr);
int **IntMatrix(int nrows, int ncols);
void FreeMatrixi(int **matptr);
float **FloatMatrix(int nrows, int ncols);
void FreeMatrixf(float **matptr);
double **DoubleMatrix(int nrows, int ncols);
void FreeMatrixd(double **matptr);
4 changes: 2 additions & 2 deletions natgrid/Include/nnuheadd.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extern void c_nngetsloped(int, int, double *, int *);
extern void c_nngetaspectd(int, int, double *, int *);
extern void c_nnpntinitd(int, double *, double *, double *);
extern void c_nnpntd(double, double, double *);
extern void c_nnpntendd();
extern void c_nnpntendd(void);

/*
* Fortran function macro. This macro is used to provide the appropriate
Expand Down Expand Up @@ -40,7 +40,7 @@ void NGCALLF(nngetsloped,NNGETSLOPED) (int *, int *, double *, int *);
void NGCALLF(nngetaspectd,NNGETASPECTD) (int *, int *, double *, int *);
void NGCALLF(nnpntinitd,NNPNTINITD) (int *, double *, double *, double *);
void NGCALLF(nnpntd,NNPNTD) (double *, double *, double *);
void NGCALLF(nnpntend,NNPNTEND) ();
void NGCALLF(nnpntend,NNPNTEND) (void);

double *c_natgridd(int, double [], double [], double [],
int, int, double [], double [], int *);
4 changes: 2 additions & 2 deletions natgrid/Include/nnuheads.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extern void c_nngetslopes(int, int, float *, int *);
extern void c_nngetaspects(int, int, float *, int *);
extern void c_nnpntinits(int, float *, float *, float *);
extern void c_nnpnts(float, float, float *);
extern void c_nnpntend();
extern void c_nnpntend(void);

/*
* Fortran function macro. This macro is used to provide the appropriate
Expand Down Expand Up @@ -40,7 +40,7 @@ void NGCALLF(nngetslopes,NNGETSLOPES) (int *, int *, float *, int *);
void NGCALLF(nngetaspects,NNGETASPECTS) (int *, int *, float *, int *);
void NGCALLF(nnpntinits,NNPNTINITS) (int *, float *, float *, float *);
void NGCALLF(nnpnts,NNPNTS) (float *, float *, float *);
void NGCALLF(nnpntend,NNPNTEND) ();
void NGCALLF(nnpntend,NNPNTEND) (void);

float *c_natgrids(int, float [], float [], float [],
int, int, float [], float [], int *);