tpacking.h - granular - granular dynamics simulation
 (HTM) git clone git://src.adamsgaard.dk/granular
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       tpacking.h (826B)
       ---
            1 #ifndef GRANULAR_PACKING_
            2 #define GRANULAR_PACKING_
            3 
            4 #include "grain.h"
            5 
            6 size_t rectangular_packing(struct grain **grains,
            7                            size_t n[3],
            8                            double radius_min, double radius_max,
            9                            double (*gsd)(double min, double max),
           10                            double padding_factor,
           11                            double origo[3]);
           12 
           13 size_t triangular_packing(struct grain **grains,
           14                           size_t n[3],
           15                           double radius_min, double radius_max,
           16                           double (*gsd)(double min, double max),
           17                           double padding_factor,
           18                           double origo[3]);
           19 
           20 /*struct grain ** irregular_packing_2d(int nx, int ny,
           21                      double radius_min, double radius_max);*/
           22 
           23 #endif