granular

granular dynamics simulation
git clone git://src.adamsgaard.dk/granular # fast
git clone https://src.adamsgaard.dk/granular.git # slow
Log | Files | Refs | README | LICENSE Back to index

DateCommit messageAuthorFiles+-
2022-07-05 16:42fix typosAnders Damsgaard1+1-1
2021-09-10 07:38Makefile: also set correct permissions for scriptsAnders Damsgaard1+1-1
2021-09-02 12:16some errx(3) calls should be err(3)Anders Damsgaard1+6-6
2021-08-31 13:42granular2img: fix indentationAnders Damsgaard1+6-5
2021-08-31 10:34Makefile: fix "dist" targetAnders Damsgaard1+2-2
2021-08-31 08:20pledge(2) remaining programs and unify pledge error messageAnders Damsgaard5+15-3
2021-07-14 06:08Makefile: simplify according to quinq feedbackAnders Damsgaard1+19-31
2021-06-15 05:37swap order of file pointers and simulation structs for consistencyAnders Damsgaard6+11-11
2021-05-06 08:21add comments to examplesAnders Damsgaard2+23-0
2021-05-06 08:15install examples with documentation, expand READMEAnders Damsgaard4+32-5
2021-05-05 13:28fix and improve cross-referencing in manpagesAnders Damsgaard4+7-4
2021-05-05 13:09add granularenergy program and include in exampleAnders Damsgaard10+115-0
2021-04-23 08:09add many-grain-collisionAnders Damsgaard3+34-18
2021-04-23 07:54add two-grain collision exampleAnders Damsgaard1+18-0
2021-04-23 07:24reset force balance on each iterationAnders Damsgaard4+20-0
2021-04-23 04:42fix contact removalAnders Damsgaard2+3-5
2021-04-23 04:20grain.c: resolve issues around grain fixing and rotation lockAnders Damsgaard1+6-4
2021-04-23 04:06granulargrain: add options to fix and disable rotationAnders Damsgaard2+16-1
2021-04-22 20:10fix contact detection logicAnders Damsgaard2+4-3
2021-04-22 19:54granular2img.1: fix mandoc(1) lint warningsAnders Damsgaard1+1-4
2021-04-22 19:53granular2img.1: tweak ffmpeg(1) example optionsAnders Damsgaard1+2-2
2021-04-22 19:47granular2img.1: elaborate and improve examplesAnders Damsgaard1+37-3
2021-04-22 19:33granular2img: fix color field default valueAnders Damsgaard1+1-1
2021-04-22 19:30granular2img: allow awk(1) syntax for grain coloringAnders Damsgaard2+14-5
2021-04-22 19:09granular2img.1: shorten exampleAnders Damsgaard1+1-1
2021-04-22 19:03fix typo in man pagesAnders Damsgaard3+3-3
2021-04-22 19:02rename granular2pdf to granular2img and add optionsAnders Damsgaard8+94-49
2021-04-22 18:23granulargrain.1: fix indentation in multi-line exampleAnders Damsgaard1+7-5
2021-04-22 17:21fix various mandoc warningsAnders Damsgaard2+5-4
2021-04-22 17:11granulargrain.c: fix argument readAnders Damsgaard1+6-6
2021-04-22 17:08add granulargrain program to generate a single grain with default valuesAnders Damsgaard3+151-4
2021-04-22 14:13add acceleration as constant body forceAnders Damsgaard4+87-78
2021-04-22 12:22grain.c: add missing density value checkAnders Damsgaard1+1-0
2021-04-22 11:48set default density and add temporal functionalityAnders Damsgaard5+83-3
2021-04-22 11:47grains.c: fix and optimize grain-grain interactionAnders Damsgaard1+9-7
2021-04-22 10:33fix error handling and use secure snprintf idiomAnders Damsgaard3+21-16
2021-04-22 09:57use proper secure idiom for snprintfAnders Damsgaard2+22-9
2021-04-22 07:52allow contacts to break and keep track of contact ageAnders Damsgaard3+22-13
2021-04-21 19:55add hertz-mendlin contact model, still untestedAnders Damsgaard9+155-51
2021-04-21 11:54add harmonic_mean functionAnders Damsgaard2+11-0
2021-04-21 11:52add dot product functionAnders Damsgaard2+13-0
2021-04-21 10:01add acceleration lock settingAnders Damsgaard5+42-17
2021-04-21 08:32only register contacts for enabled grainsAnders Damsgaard1+18-3
2021-04-21 08:18grain.c: fail if number of contacts exceed MAXCONTACTSAnders Damsgaard1+6-2
2021-04-09 18:35Makefile: also remove object files associated with binariesAnders Damsgaard1+1-1
2021-04-09 11:23simulation.c: remove unneeded conditionalAnders Damsgaard1+4-6
2021-04-08 20:42add missing contact.cAnders Damsgaard1+32-0
2021-04-08 20:36simulation.c: handle memory around grain readsAnders Damsgaard1+6-2
2021-04-08 20:34make sim_detect_contacts non-staticAnders Damsgaard2+2-1
2021-04-08 20:31simulation.c: do not free input grain in sim_add_grainAnders Damsgaard1+0-1
2021-04-08 20:31simulation.c: copy new grains to simulationAnders Damsgaard1+1-1
2021-04-08 20:11add outline for registering new contactsAnders Damsgaard4+47-16
2021-04-08 19:11add contact struct, will maybe be moved outside of grainsAnders Damsgaard5+84-6
2021-03-28 15:11grain.c: add temporal integration scheme (2nd order taylor expansion)Anders Damsgaard2+33-0
2021-03-28 07:29granularpacking.c: remove duplicate includeAnders Damsgaard1+0-1
2021-03-28 07:22gather headers in granular.h, rename np to ng, split operations on grain arraysAnders Damsgaard11+208-136
2021-03-28 07:19Makefile: use $OBJ for shared objects and simplify build rulesAnders Damsgaard1+14-13
2021-03-27 20:35include missing headersAnders Damsgaard2+3-0
2021-03-25 21:38granular: support and document simulation namingAnders Damsgaard2+14-0
2021-03-25 21:34granular: add man page and add some optionsAnders Damsgaard2+83-2
2021-03-25 21:17begin handling arguments in main programAnders Damsgaard2+20-1
2021-03-25 21:14clean up headers and add empty time loopAnders Damsgaard5+14-2
2021-03-25 21:03move grain read from stdin to simulation.c and clean up includesAnders Damsgaard5+26-53
2021-03-25 20:23granular2vtu.1: fix program name and filetype in examplesAnders Damsgaard1+2-2
2021-03-25 20:20simulation.c: fix memory leak when adding grainsAnders Damsgaard1+1-0
2021-03-25 20:15fix initialization loopAnders Damsgaard1+2-1
2021-03-25 20:14also initialize sorting grid valueAnders Damsgaard1+1-0
2021-03-25 20:14simulation: set grid arrays to constant lengthAnders Damsgaard2+11-11
2021-03-25 19:41granularpacking.c: add powerlaw option and fix diameter optionsAnders Damsgaard3+27-15
2021-03-25 19:27granularpacking: fix help text for diameter optionsAnders Damsgaard2+12-11
2021-03-25 19:14simulation.c: use VTK macro for positions as wellAnders Damsgaard1+4-12
2021-03-25 18:44simulation.c: set float format for VTK export in headerAnders Damsgaard1+22-20
2021-03-25 18:41simulation.c: condense VTK export code by macrosAnders Damsgaard1+41-226
2021-03-25 18:08simulation.c: add remaining fields to VTK outputAnders Damsgaard1+261-30
2021-03-25 18:01granular.5: fix unit for Poisson's ratioAnders Damsgaard1+1-1
2021-03-25 17:57granular.5: fix units for torqueAnders Damsgaard1+3-3
2021-03-25 17:31README.md: add instructions on build versionsAnders Damsgaard1+11-0
2021-03-25 17:09use diameter instead of radius in granular(5) formatAnders Damsgaard4+18-11
2021-03-25 16:56granular2pdf.1: add zathura exampleAnders Damsgaard1+2-0
2021-03-25 16:39use portable reallocarray instead of calloc when appending grainsAnders Damsgaard3+22-7
2021-03-25 15:54fix hierarchy of printing functionsAnders Damsgaard5+28-16
2021-03-25 15:37granular2vtu.c: remove extra whitespaceAnders Damsgaard1+1-1
2021-03-25 14:53granular2vtu.c: fix compile warning on non BSD systemsAnders Damsgaard1+3-0
2021-03-25 13:25granularpacking: add options for padding and grain size, fix n typesAnders Damsgaard2+29-7
2021-03-25 13:18add granular2pdf.1Anders Damsgaard1+34-0
2021-03-25 13:18granularpacking: add options to change offset, packing count and modeAnders Damsgaard2+96-4
2021-03-25 12:53remove OpenBSD array/string functions until neededAnders Damsgaard5+0-155
2021-03-25 12:45update refs in documentation and install targetsAnders Damsgaard2+1-1
2021-03-25 12:44add granularpacking.1Anders Damsgaard1+36-0
2021-03-25 12:36add granular2vtu.1Anders Damsgaard1+36-0
2021-03-25 11:57granular2vtk.c: add pledge(2)Anders Damsgaard1+7-2
2021-03-25 11:51fix sim_add_grain, granular2vtk runs without errorsAnders Damsgaard3+13-4
2021-03-25 09:17add OpenBSD array handling for compatibilityAnders Damsgaard4+154-0
2021-03-25 07:38packing: change grain from array to pointerAnders Damsgaard2+4-4
2021-03-21 09:47change some vars to int, fix i/oAnders Damsgaard4+17-17
2021-03-21 07:12change naming of sim functions, and use function for new structsAnders Damsgaard4+26-20
2021-03-19 21:28grain.c: fix grain_read element countAnders Damsgaard1+1-1
2021-03-19 21:24rename granular2pdf and install itAnders Damsgaard2+9-4
2021-03-19 21:14header file fixesAnders Damsgaard3+4-2
2021-03-19 21:07add missing header, reduce example packing sizeAnders Damsgaard2+3-1
2021-03-19 21:05fix include errorsAnders Damsgaard7+31-47
2021-03-19 20:58util.c: rename random function to avoid collision on BSDAnders Damsgaard1+3-3
2021-03-19 20:56implement simulation initialization and dynamic grain memory allocationAnders Damsgaard6+97-32
2021-03-19 17:37packing.c: fix malloc in 3d triangular packing and fix indentationAnders Damsgaard1+18-18
2021-03-19 17:32granularplot: remove title from grainsAnders Damsgaard1+1-1
2021-03-19 17:32simulation.c: add VTK export for grainsAnders Damsgaard2+51-5
2021-03-19 17:31packing.c: fix positioning in third dimension for triangular packingAnders Damsgaard1+1-1
2021-03-19 12:33add triangular regular packingAnders Damsgaard3+58-8
2021-03-19 12:05packing.c: fix particle countAnders Damsgaard1+3-5
2021-03-19 11:58add simple script to plot grain positions and diametersAnders Damsgaard1+9-0
2021-03-18 20:01fix memory handling in packing algorithmAnders Damsgaard9+77-28
2021-03-18 14:13packing.c: style fixes and check radii boundsAnders Damsgaard1+12-3
2021-03-18 13:40arrays.c: fix remaining memory allocationAnders Damsgaard1+8-2
2021-03-18 13:37arrays.c: check return from memory allocations and exit on errorsAnders Damsgaard1+13-6
2021-03-18 13:33add first packing algorithmAnders Damsgaard2+57-0
2021-03-18 13:33fix memory handling around grain creationAnders Damsgaard3+10-4
2021-03-18 11:48Makefile: include packing filesAnders Damsgaard1+3-2
2021-03-18 11:48grain.h: include missing librariesAnders Damsgaard1+2-0
2021-03-18 11:47util.c: change default size distribution parameter for powerlawAnders Damsgaard1+2-1
2021-03-18 10:33grain.c: fix indentationAnders Damsgaard1+26-26
2021-03-18 10:31grain.c: change type of exponent in pow(3) callsAnders Damsgaard1+2-2
2021-03-18 10:17grain.c: add grain reading functionAnders Damsgaard1+58-7
2021-03-18 09:41grain.c: specify write precision in headerAnders Damsgaard2+39-11
2021-03-18 09:12grain.c: fix grain_print function nameAnders Damsgaard1+1-1
2021-03-18 09:07simulation.c: clean up simulation structAnders Damsgaard2+15-25
2021-03-18 09:06grain.c: rename functions so all start with grain_Anders Damsgaard2+9-6
2021-03-18 07:55util.c: add residual and random number functionsAnders Damsgaard2+32-0
2021-03-18 07:44remove residual function from arraysAnders Damsgaard2+0-8
2021-03-18 07:16simulation.h: remove unneeded varsAnders Damsgaard1+6-109
2021-03-18 07:16add residual functionAnders Damsgaard2+8-0
2021-03-18 07:04add functions for calculating kinetic grain energyAnders Damsgaard2+48-0
2021-03-18 06:59add helper functions for euclidean norm operationsAnders Damsgaard2+27-0
2021-03-18 06:44add grain volume and mass calculationsAnders Damsgaard2+16-2
2021-03-18 06:44move global defines to granular.hAnders Damsgaard2+2-2
2021-03-18 06:36Makefile: add granular.hAnders Damsgaard1+1-0
2021-03-18 06:35fix dimensional constant usageAnders Damsgaard2+19-18
2021-03-18 06:21Makefile: fix build instructions and rename local flagsAnders Damsgaard1+9-9
2021-03-18 06:20fix many grain inconsitenciesAnders Damsgaard2+27-22
2021-03-17 23:23Makefile: fix deps for granularAnders Damsgaard1+2-11
2021-03-17 23:21use define for number of dimensions (ND)Anders Damsgaard2+19-13
2021-03-17 23:18add preliminary granular.cAnders Damsgaard1+50-0
2021-03-17 23:15add arg.hAnders Damsgaard1+38-0
2021-03-17 23:07Makefile: also install granular(5)Anders Damsgaard1+6-1
2021-03-17 23:04add preliminary MakefileAnders Damsgaard1+98-0
2021-03-17 23:04add README.mdAnders Damsgaard1+7-0
2021-03-17 23:03add empty simulation.cAnders Damsgaard1+0-0
2021-03-17 23:02add LICENSEAnders Damsgaard1+15-0
2021-03-17 23:00add untested grain, array, and util filesAnders Damsgaard7+782-0
2021-03-17 22:39granular.5: granular stress -> contact stressAnders Damsgaard1+3-3
2021-03-17 22:38granular.5: granular_stress is a vectorAnders Damsgaard1+5-1
2021-03-17 21:31add preliminary granular.5Anders Damsgaard1+118-0