** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phm2sdf.c,v 1.1 2000/04/28 13:02:44 kevin Exp $
+** $Id: phm2sdf.c,v 1.5 2000/04/30 19:17:54 kevin Exp $
** $Log: phm2sdf.c,v $
-** Revision 1.1 2000/04/28 13:02:44 kevin
-** Initial revision
+** Revision 1.5 2000/04/30 19:17:54 kevin
+** *** empty log message ***
+**
+** Revision 1.4 2000/04/30 04:06:13 kevin
+** Update Raysum i/o routines
+** Fix MPI bug in ctrec (scatter_raysum) that referenced rs_global
+**
+** Revision 1.3 2000/04/28 18:19:01 kevin
+** removed unused files
+**
+** Revision 1.2 2000/04/28 13:50:45 kevin
+** Removed Makefile Makefile.in that are automatically generated by autoconf
+**
+** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
+** Initial CVS import for first public release
+**
**
**
** This program is free software; you can redistribute it and/or modify
int opt_picnum = -1;
int opt_filter = -1;
int opt_filter_domain = D_SPATIAL;
- char *opt_outfile;
+ char *opt_outfile = NULL;
int opt_debug = 0;
char str[256];
char opt_desc[256], opt_picfilename[256];
char *endstr, *endptr;
- double opt_filter_param;
+ double opt_filter_param = 1;
double opt_filter_bw = 1.;
int opt_trace = TRACE_NONE;
int opt_verbose = 0;
- double time_start, time_end;
+ double time_start=0, time_end=0;
#ifdef MPI_CT
IMAGE *im_local = NULL;
int mpi_argc = argc;
if (opt_trace >= TRACE_PIC)
{
- crt_set_mode (GM_TEXT, TRUE);
crt_set_cpos (1, 1);
}
scanf ("%d %d", &nx, &ny);
printf ("Enter minimum and maximum densities (min, max): ");
scanf ("%lf %lf", &dmin, &dmax);
- crt_set_mode (GM_HIGHRES, TRUE);
- image_paint (CRTDEV, im_global, 0, 0, nx, ny, dmin, dmax, 0);
+ // image_paint (CRTDEV, im_global, 0, 0, nx, ny, dmin, dmax, 0);
WAITKEY();
- crt_set_mode (GM_TEXT, TRUE);
- crt_set_palette (0, crt_calc_color (0., 0., 2.));
crt_put_stra ("Finished", 8 + C_WHITE);
crt_set_cpos (1, 2);
}