Jed Wing
|
b4b3f80c7f
Changed many of the sets of '#define' directives to enumerated types for better compile-time error detection and avoidance.
|
16 年之前 |
Jed Wing
|
1bbeb48745
A few minor whitespace deletions.
|
16 年之前 |
Jed Wing
|
e634dd84df
Modified viz_output code to allow any number of viz_output blocks, in any number of viz_output modes.
|
16 年之前 |
Jed Wing
|
318a96fb0b
Removed obsolete function test_unimolecular, which was replaced by timeof_unimolecular in MCell 3.
|
16 年之前 |
Jed Wing
|
37ca8d76c7
Added FORMAT keyword, which is an inline form of sprintf (e.g. INCLUDE_FILE = FORMAT("parameters-%03d.mdl", idx).
|
16 年之前 |
Jed Wing
|
39eb14ee39
DENSITY and CONCENTRATION are now represented by two separate release number codes, obviating the associated -2/-3 hack formerly used to differentiate.
|
16 年之前 |
Jed Wing
|
3cdccbe819
Merged polygon_object and ordered_poly into a single data structure.
|
16 年之前 |
Jed Wing
|
6cacf1ba97
Split symbol tables by symbol type, and changed symbol tables to resize on-demand. Moved symbol types to an enumeration.
|
16 年之前 |
Jed Wing
|
603cbbd4b4
Moved all logging/errors to logging functions in logging.c, and moved all memory error checking into macros.
|
16 年之前 |
Jed Wing
|
60f19353c3
Change to array/range list handling to allow storing range values in array variables, and referencing array variables any place an array/range list is valid.
|
16 年之前 |
Jed Wing
|
936e4ab448
Eliminated unused variables and parameters and tagged legitimate unused parameters using the UNUSED(var) macro.
|
16 年之前 |
Jed Wing
|
9d337903d0
Emergency output is now handled via an atexit hook. Signal handler has been added to catch common signals (such as SIGSEGV).
|
16 年之前 |
Jed Wing
|
aa9721db35
Cleaning up code to avoid local variables whose names shadow global symbols. It's seldom a problem, but being able to compile with -Wshadow will allow us to catch certain classes of bugs.
|
16 年之前 |
Jed Wing
|
8f7756239b
Fixed version.sh to deal gracefully with the absence of flex/bison. Autoconf/automake were confounding the script...
|
16 年之前 |
Jed Wing
|
73784d8ba9
Removed unused functions nagivate_world, navigate_world_by_edge, navigate_world_by_corner. They haven't been used in a while.
|
16 年之前 |
Jed Wing
|
8d1b297216
Removed old (and inefficient) version of distance_point_line. If we ever need this function again, it would be improved by replacing the calls to 'pow' with explicit multiplications.
|
16 年之前 |
Jed Wing
|
92445691ea
Removed old implementation of refine_edge_pairs (was in an '#if 0' block).
|
16 年之前 |
Jed Wing
|
af1a95d69e
Included stdio.h before stdlib.h in all files which use stdlib.h in a token gesture towards portability. The GNU Autoconf manual hints that this is necessary on some systems.
|
16 年之前 |
Jed Wing
|
055f27ea19
Rather than keeping track of random_number_uses explicitly, it's now maintained by the RNG. We keep track of the number of buffers of variates we generate, and compute the total random number usage based on that and the buffer fill level (randcnt). This simplifies things a lot, and is presumably a little more efficient.
|
16 年之前 |
Jed Wing
|
a44ae3fc22
Minor updates to configure.in to request C99 support, and remove or replace obsolete configuration macros.
|
16 年之前 |
Jed Wing
|
f33187278e
Added quick comment for argerror function.
|
16 年之前 |
Jed Wing
|
f7ad5ec6a5
Removed irrelevant OBJECT_FILE_PREFIXES directive from ASCII VIZ output tests.
|
16 年之前 |
Jed Wing
|
419d941d3f
Removed obsolete definition of collide_mol (was inside an '#if 0' block).
|
16 年之前 |
Jed Wing
|
475dea9271
Added sample test.cfg file.
|
16 年之前 |
Jed Wing
|
67ec4d88b8
Removed no-longer-used estimate_disk function, moved exact-disk-related constants into diffuse.c, and made exact_disk and its related functions static.
|
16 年之前 |
Jed Wing
|
82394c1142
Removed the old VOXEL_IMAGE_MODE and VOXEL_VOLUME_MODE flags from the parser. According to Tom, it should be safe to remove them outright since were experimental and no longer do anything,
|
16 年之前 |
Jed Wing
|
5362aca245
Removed some obsolete constants from mcell_structs.h.
|
16 年之前 |
Jed Wing
|
57f62a997c
Removed now unused gather_walls_first function.
|
16 年之前 |
Jed Wing
|
b3025e369a
One more () -> (void) change, and a few explicit 'abs' computations ((x > 0) ? x : -x) turned into calls to fabs, which are just as fast and slightly more compact/clearer.
|
16 年之前 |
Jed Wing
|
0fb086210f
Changed function declarations from () to (void). The former is a K&R-style declaration, saying nothing about the arguments accepted, and the latter explicitly specifies no arguments.
|
16 年之前 |