Skip to content

Commit de13678

Browse files
Add files via upload
1 parent bef3440 commit de13678

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,16 @@
3636
```
3737
./aggregate_gen_main [parameter_list]
3838
```
39-
[parameter_list] == *num_sph_SA* *levels* *kf* *Df*
39+
```
40+
[parameter_list] == num_sph_SA levels kf Df
4041
41-
* *num_sph_SA* : Number of spherules in initial clusters in the 1st level of cluster-cluster aggregation (4).
42-
* *levels* : Number of hierarchical levels in cluster-cluster aggregation (10).
43-
* *kf* : Fractal prefactor (1.0).
44-
* *Df* : Fractal dimension (2.5).
42+
num_sph_SA : Number of spherules in initial clusters in the 1st level of cluster-cluster aggregation (4).
43+
levels : Number of hierarchical levels in cluster-cluster aggregation (10).
44+
kf : Fractal prefactor (1.0).
45+
Df : Fractal dimension (2.5).
4546
4647
If you skip the [parameter_list], the code uses the default values in the parenthesis. Total number of spherules is *N* = num_sph_SA*2<sup>levels</sup>.
47-
48+
```
4849

4950
### Output data
5051
The result is written in a text file "agg_N???_kf???_Df???.out", where the three strings ??? indicate the total number of spherules *N*, the fractal prefactor *kf*, and the fractal dimension *Df*.
@@ -55,15 +56,15 @@
5556
### Accuracy
5657
Maximum error of the center-to-center distance between two-spherules in contact never exceeds 0.005 (typically < 0.001). You can change the tolerance by changing the parameter "tol" defined in "aggregate_gen_main.cpp"
5758

58-
### Limitation of (kf,Df)
59-
Under the constraint of the fractal-scaling law, finding of an attached-and-nonoverlapped aggregate configuration could be unrealistic for compact (i.e., closely-packed) aggregates. To avoid the infinite looping of the search algorithm, please choose the geometrical parameters (kf,Df) to be kf+Df < ~3.4.
59+
### Allowed parameter range
60+
Under the constraint of the fractal-scaling law, finding of an attached-and-nonoverlapped aggregate configuration could be unrealistic for compact (i.e., closely-packed) aggregates. To avoid the infinite looping of the search algorithm, please choose the geometric parameters (kf,Df) to be kf+Df < ~3.5.
6061

6162
### Random number seed
6263
If necessary, random number seed can be changed at line14-15 of "aggregate_gen_main.cpp".
63-
64+
```
6465
(line 14) default_random_engine re(random_device{}()); // random seed
6566
(line 15) //default_random_engine re; // fixed seed
66-
67+
```
6768
By default, the seed of random_number sequence is automatically changed in each execution (using random_device{}()). Fixed seed will be used if you uncomment 15th line and comment out the 14th line.
6869

6970
### Theory

0 commit comments

Comments
 (0)