2022-07-05 16:42 | fix typos | Anders Damsgaard | 1 | +1 | -1 |
2021-09-10 07:38 | Makefile: also set correct permissions for scripts | Anders Damsgaard | 1 | +1 | -1 |
2021-09-02 12:16 | some errx(3) calls should be err(3) | Anders Damsgaard | 1 | +6 | -6 |
2021-08-31 13:42 | granular2img: fix indentation | Anders Damsgaard | 1 | +6 | -5 |
2021-08-31 10:34 | Makefile: fix "dist" target | Anders Damsgaard | 1 | +2 | -2 |
2021-08-31 08:20 | pledge(2) remaining programs and unify pledge error message | Anders Damsgaard | 5 | +15 | -3 |
2021-07-14 06:08 | Makefile: simplify according to quinq feedback | Anders Damsgaard | 1 | +19 | -31 |
2021-06-15 05:37 | swap order of file pointers and simulation structs for consistency | Anders Damsgaard | 6 | +11 | -11 |
2021-05-06 08:21 | add comments to examples | Anders Damsgaard | 2 | +23 | -0 |
2021-05-06 08:15 | install examples with documentation, expand README | Anders Damsgaard | 4 | +32 | -5 |
2021-05-05 13:28 | fix and improve cross-referencing in manpages | Anders Damsgaard | 4 | +7 | -4 |
2021-05-05 13:09 | add granularenergy program and include in example | Anders Damsgaard | 10 | +115 | -0 |
2021-04-23 08:09 | add many-grain-collision | Anders Damsgaard | 3 | +34 | -18 |
2021-04-23 07:54 | add two-grain collision example | Anders Damsgaard | 1 | +18 | -0 |
2021-04-23 07:24 | reset force balance on each iteration | Anders Damsgaard | 4 | +20 | -0 |
2021-04-23 04:42 | fix contact removal | Anders Damsgaard | 2 | +3 | -5 |
2021-04-23 04:20 | grain.c: resolve issues around grain fixing and rotation lock | Anders Damsgaard | 1 | +6 | -4 |
2021-04-23 04:06 | granulargrain: add options to fix and disable rotation | Anders Damsgaard | 2 | +16 | -1 |
2021-04-22 20:10 | fix contact detection logic | Anders Damsgaard | 2 | +4 | -3 |
2021-04-22 19:54 | granular2img.1: fix mandoc(1) lint warnings | Anders Damsgaard | 1 | +1 | -4 |
2021-04-22 19:53 | granular2img.1: tweak ffmpeg(1) example options | Anders Damsgaard | 1 | +2 | -2 |
2021-04-22 19:47 | granular2img.1: elaborate and improve examples | Anders Damsgaard | 1 | +37 | -3 |
2021-04-22 19:33 | granular2img: fix color field default value | Anders Damsgaard | 1 | +1 | -1 |
2021-04-22 19:30 | granular2img: allow awk(1) syntax for grain coloring | Anders Damsgaard | 2 | +14 | -5 |
2021-04-22 19:09 | granular2img.1: shorten example | Anders Damsgaard | 1 | +1 | -1 |
2021-04-22 19:03 | fix typo in man pages | Anders Damsgaard | 3 | +3 | -3 |
2021-04-22 19:02 | rename granular2pdf to granular2img and add options | Anders Damsgaard | 8 | +94 | -49 |
2021-04-22 18:23 | granulargrain.1: fix indentation in multi-line example | Anders Damsgaard | 1 | +7 | -5 |
2021-04-22 17:21 | fix various mandoc warnings | Anders Damsgaard | 2 | +5 | -4 |
2021-04-22 17:11 | granulargrain.c: fix argument read | Anders Damsgaard | 1 | +6 | -6 |
2021-04-22 17:08 | add granulargrain program to generate a single grain with default values | Anders Damsgaard | 3 | +151 | -4 |
2021-04-22 14:13 | add acceleration as constant body force | Anders Damsgaard | 4 | +87 | -78 |
2021-04-22 12:22 | grain.c: add missing density value check | Anders Damsgaard | 1 | +1 | -0 |
2021-04-22 11:48 | set default density and add temporal functionality | Anders Damsgaard | 5 | +83 | -3 |
2021-04-22 11:47 | grains.c: fix and optimize grain-grain interaction | Anders Damsgaard | 1 | +9 | -7 |
2021-04-22 10:33 | fix error handling and use secure snprintf idiom | Anders Damsgaard | 3 | +21 | -16 |
2021-04-22 09:57 | use proper secure idiom for snprintf | Anders Damsgaard | 2 | +22 | -9 |
2021-04-22 07:52 | allow contacts to break and keep track of contact age | Anders Damsgaard | 3 | +22 | -13 |
2021-04-21 19:55 | add hertz-mendlin contact model, still untested | Anders Damsgaard | 9 | +155 | -51 |
2021-04-21 11:54 | add harmonic_mean function | Anders Damsgaard | 2 | +11 | -0 |
2021-04-21 11:52 | add dot product function | Anders Damsgaard | 2 | +13 | -0 |
2021-04-21 10:01 | add acceleration lock setting | Anders Damsgaard | 5 | +42 | -17 |
2021-04-21 08:32 | only register contacts for enabled grains | Anders Damsgaard | 1 | +18 | -3 |
2021-04-21 08:18 | grain.c: fail if number of contacts exceed MAXCONTACTS | Anders Damsgaard | 1 | +6 | -2 |
2021-04-09 18:35 | Makefile: also remove object files associated with binaries | Anders Damsgaard | 1 | +1 | -1 |
2021-04-09 11:23 | simulation.c: remove unneeded conditional | Anders Damsgaard | 1 | +4 | -6 |
2021-04-08 20:42 | add missing contact.c | Anders Damsgaard | 1 | +32 | -0 |
2021-04-08 20:36 | simulation.c: handle memory around grain reads | Anders Damsgaard | 1 | +6 | -2 |
2021-04-08 20:34 | make sim_detect_contacts non-static | Anders Damsgaard | 2 | +2 | -1 |
2021-04-08 20:31 | simulation.c: do not free input grain in sim_add_grain | Anders Damsgaard | 1 | +0 | -1 |
2021-04-08 20:31 | simulation.c: copy new grains to simulation | Anders Damsgaard | 1 | +1 | -1 |
2021-04-08 20:11 | add outline for registering new contacts | Anders Damsgaard | 4 | +47 | -16 |
2021-04-08 19:11 | add contact struct, will maybe be moved outside of grains | Anders Damsgaard | 5 | +84 | -6 |
2021-03-28 15:11 | grain.c: add temporal integration scheme (2nd order taylor expansion) | Anders Damsgaard | 2 | +33 | -0 |
2021-03-28 07:29 | granularpacking.c: remove duplicate include | Anders Damsgaard | 1 | +0 | -1 |
2021-03-28 07:22 | gather headers in granular.h, rename np to ng, split operations on grain arrays | Anders Damsgaard | 11 | +208 | -136 |
2021-03-28 07:19 | Makefile: use $OBJ for shared objects and simplify build rules | Anders Damsgaard | 1 | +14 | -13 |
2021-03-27 20:35 | include missing headers | Anders Damsgaard | 2 | +3 | -0 |
2021-03-25 21:38 | granular: support and document simulation naming | Anders Damsgaard | 2 | +14 | -0 |
2021-03-25 21:34 | granular: add man page and add some options | Anders Damsgaard | 2 | +83 | -2 |
2021-03-25 21:17 | begin handling arguments in main program | Anders Damsgaard | 2 | +20 | -1 |
2021-03-25 21:14 | clean up headers and add empty time loop | Anders Damsgaard | 5 | +14 | -2 |
2021-03-25 21:03 | move grain read from stdin to simulation.c and clean up includes | Anders Damsgaard | 5 | +26 | -53 |
2021-03-25 20:23 | granular2vtu.1: fix program name and filetype in examples | Anders Damsgaard | 1 | +2 | -2 |
2021-03-25 20:20 | simulation.c: fix memory leak when adding grains | Anders Damsgaard | 1 | +1 | -0 |
2021-03-25 20:15 | fix initialization loop | Anders Damsgaard | 1 | +2 | -1 |
2021-03-25 20:14 | also initialize sorting grid value | Anders Damsgaard | 1 | +1 | -0 |
2021-03-25 20:14 | simulation: set grid arrays to constant length | Anders Damsgaard | 2 | +11 | -11 |
2021-03-25 19:41 | granularpacking.c: add powerlaw option and fix diameter options | Anders Damsgaard | 3 | +27 | -15 |
2021-03-25 19:27 | granularpacking: fix help text for diameter options | Anders Damsgaard | 2 | +12 | -11 |
2021-03-25 19:14 | simulation.c: use VTK macro for positions as well | Anders Damsgaard | 1 | +4 | -12 |
2021-03-25 18:44 | simulation.c: set float format for VTK export in header | Anders Damsgaard | 1 | +22 | -20 |
2021-03-25 18:41 | simulation.c: condense VTK export code by macros | Anders Damsgaard | 1 | +41 | -226 |
2021-03-25 18:08 | simulation.c: add remaining fields to VTK output | Anders Damsgaard | 1 | +261 | -30 |
2021-03-25 18:01 | granular.5: fix unit for Poisson's ratio | Anders Damsgaard | 1 | +1 | -1 |
2021-03-25 17:57 | granular.5: fix units for torque | Anders Damsgaard | 1 | +3 | -3 |
2021-03-25 17:31 | README.md: add instructions on build versions | Anders Damsgaard | 1 | +11 | -0 |
2021-03-25 17:09 | use diameter instead of radius in granular(5) format | Anders Damsgaard | 4 | +18 | -11 |
2021-03-25 16:56 | granular2pdf.1: add zathura example | Anders Damsgaard | 1 | +2 | -0 |
2021-03-25 16:39 | use portable reallocarray instead of calloc when appending grains | Anders Damsgaard | 3 | +22 | -7 |
2021-03-25 15:54 | fix hierarchy of printing functions | Anders Damsgaard | 5 | +28 | -16 |
2021-03-25 15:37 | granular2vtu.c: remove extra whitespace | Anders Damsgaard | 1 | +1 | -1 |
2021-03-25 14:53 | granular2vtu.c: fix compile warning on non BSD systems | Anders Damsgaard | 1 | +3 | -0 |
2021-03-25 13:25 | granularpacking: add options for padding and grain size, fix n types | Anders Damsgaard | 2 | +29 | -7 |
2021-03-25 13:18 | add granular2pdf.1 | Anders Damsgaard | 1 | +34 | -0 |
2021-03-25 13:18 | granularpacking: add options to change offset, packing count and mode | Anders Damsgaard | 2 | +96 | -4 |
2021-03-25 12:53 | remove OpenBSD array/string functions until needed | Anders Damsgaard | 5 | +0 | -155 |
2021-03-25 12:45 | update refs in documentation and install targets | Anders Damsgaard | 2 | +1 | -1 |
2021-03-25 12:44 | add granularpacking.1 | Anders Damsgaard | 1 | +36 | -0 |
2021-03-25 12:36 | add granular2vtu.1 | Anders Damsgaard | 1 | +36 | -0 |
2021-03-25 11:57 | granular2vtk.c: add pledge(2) | Anders Damsgaard | 1 | +7 | -2 |
2021-03-25 11:51 | fix sim_add_grain, granular2vtk runs without errors | Anders Damsgaard | 3 | +13 | -4 |
2021-03-25 09:17 | add OpenBSD array handling for compatibility | Anders Damsgaard | 4 | +154 | -0 |
2021-03-25 07:38 | packing: change grain from array to pointer | Anders Damsgaard | 2 | +4 | -4 |
2021-03-21 09:47 | change some vars to int, fix i/o | Anders Damsgaard | 4 | +17 | -17 |
2021-03-21 07:12 | change naming of sim functions, and use function for new structs | Anders Damsgaard | 4 | +26 | -20 |
2021-03-19 21:28 | grain.c: fix grain_read element count | Anders Damsgaard | 1 | +1 | -1 |
2021-03-19 21:24 | rename granular2pdf and install it | Anders Damsgaard | 2 | +9 | -4 |
2021-03-19 21:14 | header file fixes | Anders Damsgaard | 3 | +4 | -2 |
2021-03-19 21:07 | add missing header, reduce example packing size | Anders Damsgaard | 2 | +3 | -1 |
2021-03-19 21:05 | fix include errors | Anders Damsgaard | 7 | +31 | -47 |
2021-03-19 20:58 | util.c: rename random function to avoid collision on BSD | Anders Damsgaard | 1 | +3 | -3 |
2021-03-19 20:56 | implement simulation initialization and dynamic grain memory allocation | Anders Damsgaard | 6 | +97 | -32 |
2021-03-19 17:37 | packing.c: fix malloc in 3d triangular packing and fix indentation | Anders Damsgaard | 1 | +18 | -18 |
2021-03-19 17:32 | granularplot: remove title from grains | Anders Damsgaard | 1 | +1 | -1 |
2021-03-19 17:32 | simulation.c: add VTK export for grains | Anders Damsgaard | 2 | +51 | -5 |
2021-03-19 17:31 | packing.c: fix positioning in third dimension for triangular packing | Anders Damsgaard | 1 | +1 | -1 |
2021-03-19 12:33 | add triangular regular packing | Anders Damsgaard | 3 | +58 | -8 |
2021-03-19 12:05 | packing.c: fix particle count | Anders Damsgaard | 1 | +3 | -5 |
2021-03-19 11:58 | add simple script to plot grain positions and diameters | Anders Damsgaard | 1 | +9 | -0 |
2021-03-18 20:01 | fix memory handling in packing algorithm | Anders Damsgaard | 9 | +77 | -28 |
2021-03-18 14:13 | packing.c: style fixes and check radii bounds | Anders Damsgaard | 1 | +12 | -3 |
2021-03-18 13:40 | arrays.c: fix remaining memory allocation | Anders Damsgaard | 1 | +8 | -2 |
2021-03-18 13:37 | arrays.c: check return from memory allocations and exit on errors | Anders Damsgaard | 1 | +13 | -6 |
2021-03-18 13:33 | add first packing algorithm | Anders Damsgaard | 2 | +57 | -0 |
2021-03-18 13:33 | fix memory handling around grain creation | Anders Damsgaard | 3 | +10 | -4 |
2021-03-18 11:48 | Makefile: include packing files | Anders Damsgaard | 1 | +3 | -2 |
2021-03-18 11:48 | grain.h: include missing libraries | Anders Damsgaard | 1 | +2 | -0 |
2021-03-18 11:47 | util.c: change default size distribution parameter for powerlaw | Anders Damsgaard | 1 | +2 | -1 |
2021-03-18 10:33 | grain.c: fix indentation | Anders Damsgaard | 1 | +26 | -26 |
2021-03-18 10:31 | grain.c: change type of exponent in pow(3) calls | Anders Damsgaard | 1 | +2 | -2 |
2021-03-18 10:17 | grain.c: add grain reading function | Anders Damsgaard | 1 | +58 | -7 |
2021-03-18 09:41 | grain.c: specify write precision in header | Anders Damsgaard | 2 | +39 | -11 |
2021-03-18 09:12 | grain.c: fix grain_print function name | Anders Damsgaard | 1 | +1 | -1 |
2021-03-18 09:07 | simulation.c: clean up simulation struct | Anders Damsgaard | 2 | +15 | -25 |
2021-03-18 09:06 | grain.c: rename functions so all start with grain_ | Anders Damsgaard | 2 | +9 | -6 |
2021-03-18 07:55 | util.c: add residual and random number functions | Anders Damsgaard | 2 | +32 | -0 |
2021-03-18 07:44 | remove residual function from arrays | Anders Damsgaard | 2 | +0 | -8 |
2021-03-18 07:16 | simulation.h: remove unneeded vars | Anders Damsgaard | 1 | +6 | -109 |
2021-03-18 07:16 | add residual function | Anders Damsgaard | 2 | +8 | -0 |
2021-03-18 07:04 | add functions for calculating kinetic grain energy | Anders Damsgaard | 2 | +48 | -0 |
2021-03-18 06:59 | add helper functions for euclidean norm operations | Anders Damsgaard | 2 | +27 | -0 |
2021-03-18 06:44 | add grain volume and mass calculations | Anders Damsgaard | 2 | +16 | -2 |
2021-03-18 06:44 | move global defines to granular.h | Anders Damsgaard | 2 | +2 | -2 |
2021-03-18 06:36 | Makefile: add granular.h | Anders Damsgaard | 1 | +1 | -0 |
2021-03-18 06:35 | fix dimensional constant usage | Anders Damsgaard | 2 | +19 | -18 |
2021-03-18 06:21 | Makefile: fix build instructions and rename local flags | Anders Damsgaard | 1 | +9 | -9 |
2021-03-18 06:20 | fix many grain inconsitencies | Anders Damsgaard | 2 | +27 | -22 |
2021-03-17 23:23 | Makefile: fix deps for granular | Anders Damsgaard | 1 | +2 | -11 |
2021-03-17 23:21 | use define for number of dimensions (ND) | Anders Damsgaard | 2 | +19 | -13 |
2021-03-17 23:18 | add preliminary granular.c | Anders Damsgaard | 1 | +50 | -0 |
2021-03-17 23:15 | add arg.h | Anders Damsgaard | 1 | +38 | -0 |
2021-03-17 23:07 | Makefile: also install granular(5) | Anders Damsgaard | 1 | +6 | -1 |
2021-03-17 23:04 | add preliminary Makefile | Anders Damsgaard | 1 | +98 | -0 |
2021-03-17 23:04 | add README.md | Anders Damsgaard | 1 | +7 | -0 |
2021-03-17 23:03 | add empty simulation.c | Anders Damsgaard | 1 | +0 | -0 |
2021-03-17 23:02 | add LICENSE | Anders Damsgaard | 1 | +15 | -0 |
2021-03-17 23:00 | add untested grain, array, and util files | Anders Damsgaard | 7 | +782 | -0 |
2021-03-17 22:39 | granular.5: granular stress -> contact stress | Anders Damsgaard | 1 | +3 | -3 |
2021-03-17 22:38 | granular.5: granular_stress is a vector | Anders Damsgaard | 1 | +5 | -1 |
2021-03-17 21:31 | add preliminary granular.5 | Anders Damsgaard | 1 | +118 | -0 |