-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcli.yml
78 lines (77 loc) · 2.77 KB
/
cli.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: tenspec
author: Tokarev Artyom <tokarev28.art@gmail.com>
about: Polycrystalline tensile specimen generation and meshing software
after_help: >
First use tess module to generate initial tesselation,
then use reg module to regularize that tesselation
and only then mesh regularized tesselation with mesh module.
Every time you use a module its last result is cached
in ./tenspec-cache directory, so, for example, you don't need
to generate and regularize tesselation multiple time to create meshes with
different characteristic lengths.
subcommands:
- tess:
about: Generates granular part of the specimen as tessellation
args:
- n:
short: n
required: true
takes_value: true
help: Number of grains in granular part of the specimen
- dims:
long: dims
required: true
takes_value: true
number_of_values: 6
help: Specimen dimensions in the order l1 l2 le r1 r2 r3
- reg:
about: Regularizes a tessellation, that is, removes the small edges and, indirectly, the small faces
args:
- fmax:
long: fmax
takes_value: true
help: Maximum allowed face flatness fault (in degrees)
- sel:
long: sel
takes_value: true
help: Absolute small edge (maximum) length
- mloop:
long: mloop
takes_value: true
help: Maximum number of regularization loops
- mesh:
about: Meshes regularized tessellation
args:
- cl:
long: cl
required: true
takes_value: true
help: Absolute characteristic length of the elements
- output:
short: o
long: output
required: true
takes_value: true
help: Output file name
- regmesh:
about: reg and mesh modules combined, with 'sel' arg equal to 'cl'
args:
- fmax:
long: fmax
takes_value: true
help: Maximum allowed face flatness fault (in degrees)
- mloop:
long: mloop
takes_value: true
help: Maximum number of regularization loops
- cl:
long: cl
required: true
takes_value: true
help: Absolute characteristic length of the elements
- output:
short: o
long: output
required: true
takes_value: true
help: Output file name