Skip to content

Commit

Permalink
Next tirific
Browse files Browse the repository at this point in the history
  • Loading branch information
gigjozsa committed Aug 26, 2019
1 parent 69ef7dc commit 6c09b8e
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 5 deletions.
Binary file added gft/gft.o
Binary file not shown.
Binary file added gft/golden.o
Binary file not shown.
Binary file added gft/pswarm.o
Binary file not shown.
Binary file added src/cubarithm.o
Binary file not shown.
Binary file added src/engalmod.o
Binary file not shown.
Binary file added src/fourat.o
Binary file not shown.
Binary file added src/ftstab.o
Binary file not shown.
Binary file added src/maths.o
Binary file not shown.
Binary file added src/pgp.o
Binary file not shown.
Binary file added src/simparse.o
Binary file not shown.
17 changes: 12 additions & 5 deletions src/tirific.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ This was commented hdu stuff
/*
tirific.dc1

Program: TIRIFIC (Version 2.3.9)
Program: TIRIFIC (Version 2.3.11)

Purpose: Fit a tilted-ring model to a datacube

Expand Down Expand Up @@ -6302,7 +6302,7 @@ int main(int argc, char *argv[])

printf("\n");
printf("#####################\n");
printf("# TiRiFiC v. 2.3.10 #\n");
printf("# TiRiFiC v. 2.3.11 #\n");
printf("#####################\n");
printf("\n");

Expand Down Expand Up @@ -6436,7 +6436,7 @@ int main(int argc, char *argv[])

/* finis_c(); */

fprintf(stderr,"Got here: end\n");
/* fprintf(stderr,"Got here: end\n");*/

return 1;

Expand Down Expand Up @@ -19248,7 +19248,7 @@ static int graphout(startinf *startinfv, loginf *log, hdrinf *hdr, ringparms *rp
char *varyhstr = NULL;
char *strbef = NULL;

int i, j, k, dev, def, nel, inword, nrplts;
int i, j, k, dev, def, nel, inword, nrplts, dummy;
char mes[200];
char *pgdevice = NULL;

Expand Down Expand Up @@ -19944,7 +19944,7 @@ static int graphout(startinf *startinfv, loginf *log, hdrinf *hdr, ringparms *rp
/***/
/***/
/***/
fprintf(stderr,"Got here");
/* fprintf(stderr,"Got here"); */
/***/
sprintf(inqstr, "GR_INTERPAD_%i_%i=", i, k+1);
sprintf(mes, "Interpolation between additional points plot %i (%i), 0: linear, 1: cubic spline, 2: Akima [0]", i, k+1);
Expand Down Expand Up @@ -20093,7 +20093,10 @@ static int graphout(startinf *startinfv, loginf *log, hdrinf *hdr, ringparms *rp
vhlxs[0] = (xmin+xmax)/2.0-1000000.0*(xmax-xmin);
vhlxs[1] = (xmin+xmax)/2.0+1000000.0*(xmax-xmin);
}
dummy = gdsc -> interptype_lines;
gdsc -> interptype_lines = PGP_I_LINEAR;
pgp_lines(gdsc, 2, vhlxs, vhlys, horcarray[j]);
gdsc -> interptype_lines = dummy;
}
free(horarray);
free(horcarray);
Expand All @@ -20111,7 +20114,11 @@ static int graphout(startinf *startinfv, loginf *log, hdrinf *hdr, ringparms *rp
vhlys[0] = (ymin+ymax)/2.0-1000000.0*(ymax-ymin);
vhlys[1] = (ymin+ymax)/2.0+1000000.0*(ymax-ymin);
}
/* Switch off interpolation scheme before plotting and reinstate */
dummy = gdsc -> interptype_lines;
gdsc -> interptype_lines = PGP_I_LINEAR;
pgp_lines(gdsc, 2, vhlxs, vhlys, vertcarray[j]);
gdsc -> interptype_lines = dummy;
}
free(vertarray);
free(vertcarray);
Expand Down
Binary file added src/tirific.o
Binary file not shown.
Binary file added src/tirific_defaults.o
Binary file not shown.

0 comments on commit 6c09b8e

Please sign in to comment.