Skip to content

Commit 55008dc

Browse files
committed
edits to default_rules
1 parent fc26d3d commit 55008dc

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

data/default_rules.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"type": "object",
4545
"required": ["mesh"],
4646
"optional": ["transformation","volume_selection","surface_selection","n_refs","advanced", "enabled", "is_obstacle"],
47-
"doc": "Each geometry object stores a mesh, a set of transformations applied to it after loading, and a set of selections, which can be used to specify boundary conditions and materials."
47+
"doc": "Each geometry object stores a mesh, a set of transformations applied to it after loading, and a set of selections, which can be used to specify boundary conditions, materials, optimization parameters and other quantities that can be associated with a part of an object. {DZ: what is n_refs}"
4848
},
4949
{
5050
"pointer": "/geometry/*/mesh",
@@ -62,12 +62,14 @@
6262
{
6363
"pointer": "/geometry/*/transformation/translation",
6464
"type": "list",
65-
"default": [0,0,0]
65+
"default": null,
66+
"doc": "Translation vector (2 entries for 2D problems, 3 entries for 3D problems)."
6667
},
6768
{
6869
"pointer": "/geometry/*/transformation/rotation",
6970
"type": "list",
70-
"default": null
71+
"default": null,
72+
"doc": "Translation vector (2 entries for 2D problems, 3 entries for 3D problems)."
7173
},
7274
{
7375
"pointer": "/geometry/*/transformation/scale",
@@ -77,13 +79,13 @@
7779
{
7880
"pointer": "/geometry/*/transformation/translation/*",
7981
"type": "float",
80-
"default": 0,
81-
"doc": "Translation vector (2 entries for 2D problems, 3 entries for 3D problems)."
82+
"default": 0
8283
},
8384
{
8485
"pointer": "/geometry/*/transformation/rotation/*",
8586
"default": 0,
86-
"type": "float"
87+
"type": "float",
88+
"doc": "Rotatation; in 2D, the rotation angle, in 3D, Euler angles, axis+angle, or quaternion "
8789
},
8890
{
8991
"pointer": "/geometry/*/transformation/scale/*",

0 commit comments

Comments
 (0)