|
16 | 16 | "boundary_conditions", |
17 | 17 | "initial_conditions", |
18 | 18 | "output", |
19 | | - "input" |
| 19 | + "input", |
| 20 | + "authen_t1" |
20 | 21 | ], |
21 | 22 | "doc": "Root of the configuration file." |
22 | 23 | }, |
|
33 | 34 | "type": "string", |
34 | 35 | "doc": "//TODO" |
35 | 36 | }, |
| 37 | + { |
| 38 | + "pointer": "/authen_t1", |
| 39 | + "default": null, |
| 40 | + "type": "object", |
| 41 | + "optional":[ |
| 42 | + "err_h1", |
| 43 | + "err_h1_semi", |
| 44 | + "err_l2", |
| 45 | + "err_linf", |
| 46 | + "err_linf_grad", |
| 47 | + "err_lp", |
| 48 | + "margin" |
| 49 | + ], |
| 50 | + "doc": "//TODO" |
| 51 | + }, |
| 52 | + { |
| 53 | + "pointer": "/authen_t1/err_h1", |
| 54 | + "default":0, |
| 55 | + "type":"float" |
| 56 | + }, |
| 57 | + { |
| 58 | + "pointer": "/authen_t1/err_h1_semi", |
| 59 | + "default":0, |
| 60 | + "type":"float" |
| 61 | + }, |
| 62 | + { |
| 63 | + "pointer": "/authen_t1/err_l2", |
| 64 | + "default":0, |
| 65 | + "type":"float" |
| 66 | + }, |
| 67 | + { |
| 68 | + "pointer": "/authen_t1/err_linf", |
| 69 | + "default":0, |
| 70 | + "type":"float" |
| 71 | + }, |
| 72 | + { |
| 73 | + "pointer": "/authen_t1/err_linf_grad", |
| 74 | + "default":0, |
| 75 | + "type":"float" |
| 76 | + }, |
| 77 | + { |
| 78 | + "pointer": "/authen_t1/err_lp", |
| 79 | + "default":0, |
| 80 | + "type":"float" |
| 81 | + }, |
| 82 | + { |
| 83 | + "pointer": "/authen_t1/margin", |
| 84 | + "default":0, |
| 85 | + "type":"float" |
| 86 | + }, |
36 | 87 | { |
37 | 88 | "pointer": "/geometry", |
38 | 89 | "type": "list", |
|
56 | 107 | "pointer": "/geometry/*/transformation", |
57 | 108 | "type": "object", |
58 | 109 | "default": null, |
59 | | - "optional": ["translation","rotation","scale"], |
| 110 | + "optional": ["translation","rotation","rotation_mode","scale","dimensions"], |
60 | 111 | "doc": "Geometric transformations applied to the geometry after loading it." |
61 | 112 | }, |
| 113 | + { |
| 114 | + "pointer": "/geometry/*/transformation/rotation_mode", |
| 115 | + "type": "string", |
| 116 | + "default": "xyz", |
| 117 | + "doc": "//TODO" |
| 118 | + }, |
62 | 119 | { |
63 | 120 | "pointer": "/geometry/*/transformation/translation", |
64 | 121 | "type": "list", |
|
68 | 125 | { |
69 | 126 | "pointer": "/geometry/*/transformation/rotation", |
70 | 127 | "type": "list", |
71 | | - "default": null, |
72 | | - "doc": "Translation vector (2 entries for 2D problems, 3 entries for 3D problems)." |
| 128 | + "default": [], |
| 129 | + "doc": "Rotatation; in 2D, one number, the rotation angle, in 3D, three or four Euler angles, axis+angle, or a unit quaternion." |
73 | 130 | }, |
74 | 131 | { |
75 | 132 | "pointer": "/geometry/*/transformation/scale", |
76 | 133 | "type": "list", |
77 | | - "default": null |
| 134 | + "default": [], |
| 135 | + "doc": "Scaling along axes (2 entries for 2D problems, 3 entries for 3D problems)." |
| 136 | + }, |
| 137 | + { |
| 138 | + "pointer": "/geometry/*/transformation/dimensions", |
| 139 | + "type": "list", |
| 140 | + "default": [] |
| 141 | + }, |
| 142 | + { |
| 143 | + "pointer": "/geometry/*/transformation/dimensions/*", |
| 144 | + "type": "float", |
| 145 | + "default": 0 |
78 | 146 | }, |
79 | 147 | { |
80 | 148 | "pointer": "/geometry/*/transformation/translation/*", |
|
84 | 152 | { |
85 | 153 | "pointer": "/geometry/*/transformation/rotation/*", |
86 | 154 | "default": 0, |
87 | | - "type": "float", |
88 | | - "doc": "Rotatation; in 2D, the rotation angle, in 3D, Euler angles, axis+angle, or quaternion " |
| 155 | + "type": "float" |
89 | 156 | }, |
90 | 157 | { |
91 | 158 | "pointer": "/geometry/*/transformation/scale/*", |
|
105 | 172 | { |
106 | 173 | "pointer": "/geometry/*/surface_selection", |
107 | 174 | "type": "int", |
108 | | - "default": null |
| 175 | + "default": 0 |
109 | 176 | }, |
110 | 177 | { |
111 | 178 | "pointer": "/geometry/*/surface_selection", |
112 | 179 | "type": "list" |
113 | | - }, |
| 180 | + }, |
114 | 181 | { |
115 | 182 | "pointer": "/geometry/*/surface_selection", |
116 | 183 | "type": "file", |
|
120 | 187 | "pointer": "/geometry/*/surface_selection/*", |
121 | 188 | "type": "object", |
122 | 189 | "required":["id"], |
123 | | - "optional":["axis", "position"], |
| 190 | + "optional":["axis", "position","box", "relative"], |
124 | 191 | "default": null |
125 | 192 | }, |
126 | 193 | { |
|
137 | 204 | "type": "float", |
138 | 205 | "default": null |
139 | 206 | }, |
| 207 | + { |
| 208 | + "pointer": "/geometry/*/surface_selection/*/relative", |
| 209 | + "type": "bool", |
| 210 | + "default": "//TODO" |
| 211 | + }, |
| 212 | + { |
| 213 | + "pointer": "/geometry/*/surface_selection/*/box", |
| 214 | + "type": "list", |
| 215 | + "min":2, |
| 216 | + "max":2, |
| 217 | + "default": [[],[]] |
| 218 | + }, |
| 219 | + { |
| 220 | + "pointer": "/geometry/*/surface_selection/*/box/*", |
| 221 | + "type": "list", |
| 222 | + "min":2, |
| 223 | + "max":3, |
| 224 | + "default": [] |
| 225 | + }, |
| 226 | + { |
| 227 | + "pointer": "/geometry/*/surface_selection/*/box/*/*", |
| 228 | + "type": "float", |
| 229 | + "default": 0 |
| 230 | + }, |
140 | 231 | { |
141 | 232 | "pointer": "/geometry/*/n_refs", |
142 | 233 | "type": "int", |
|
576 | 667 | "type": "string", |
577 | 668 | "doc": "The coefficient of clamped log-barrier function" |
578 | 669 | }, |
| 670 | + { |
| 671 | + "pointer": "/solver/contact/barrier_stiffness", |
| 672 | + "type": "float", |
| 673 | + "doc": "The coefficient of clamped log-barrier function" |
| 674 | + }, |
579 | 675 | { |
580 | 676 | "pointer": "/solver/contact/lagged_damping_weight", |
581 | 677 | "default": 0, |
|
619 | 715 | "pointer": "/materials/*", |
620 | 716 | "type": "object", |
621 | 717 | "required":["type"], |
622 | | - "optional": ["id", "E", "nu", "rho", "mu", "lambda"], |
| 718 | + "optional": ["id", "E", "nu", "rho", "mu", "lambda","density"], |
623 | 719 | "doc": "Material Parameters including id, Young's modulus(E), Poisson ratio(nu), Density(rho), type()" |
624 | 720 | }, |
625 | 721 | { |
|
646 | 742 | "default":"//TODO", |
647 | 743 | "doc":"Density" |
648 | 744 | }, |
| 745 | + { |
| 746 | + "pointer": "/materials/*/density", |
| 747 | + "type":"float", |
| 748 | + "default":"//TODO", |
| 749 | + "doc":"Density" |
| 750 | + }, |
649 | 751 | { |
650 | 752 | "pointer": "/materials/*/type", |
651 | 753 | "type":"string", |
|
766 | 868 | "default":"//TODO", |
767 | 869 | "optional":[ |
768 | 870 | "id", |
769 | | - "value", |
770 | | - "dimension" |
| 871 | + "value" |
771 | 872 | ], |
772 | 873 | "doc": "Neumann boundary condition" |
773 | 874 | }, |
|
798 | 899 | { |
799 | 900 | "pointer":"/boundary_conditions/neumann_boundary/*/value/*", |
800 | 901 | "type":"float", |
801 | | - "default":"//TODO", |
| 902 | + "default": "//TODO", |
802 | 903 | "doc": "values of Neumann boundary condition for each dimension" |
803 | 904 | }, |
804 | | - { |
805 | | - "pointer":"/boundary_conditions/neumann_boundary/*/dimension", |
806 | | - "type":"list", |
807 | | - "default":[true, true, true], |
808 | | - "doc": "If the dimension is under neumann boundary condition" |
809 | | - }, |
810 | | - { |
811 | | - "pointer":"/boundary_conditions/neumann_boundary/*/dimension/*", |
812 | | - "type":"bool", |
813 | | - "default":true, |
814 | | - "doc": "If the dimension is under neumann boundary condition" |
815 | | - }, |
816 | 905 | { |
817 | 906 | "pointer": "/boundary_conditions/pressure_boundary", |
818 | 907 | "default": [], |
|
915 | 1004 | }, |
916 | 1005 | { |
917 | 1006 | "pointer": "/initial_conditions/solution", |
918 | | - "default": null, |
919 | | - "type": "object", |
| 1007 | + "default": [], |
| 1008 | + "type": "list", |
| 1009 | + "doc": "//TODO" |
| 1010 | + }, |
| 1011 | + { |
| 1012 | + "pointer": "/initial_conditions/solution/*", |
| 1013 | + "default": 0, |
| 1014 | + "type": "float", |
920 | 1015 | "doc": "//TODO" |
921 | 1016 | }, |
922 | 1017 | { |
923 | 1018 | "pointer": "/initial_conditions/velocity", |
| 1019 | + "default": [], |
| 1020 | + "type": "list", |
| 1021 | + "doc": "//TODO" |
| 1022 | + }, |
| 1023 | + { |
| 1024 | + "pointer": "/initial_conditions/velocity/*", |
924 | 1025 | "default": null, |
925 | 1026 | "type": "object", |
| 1027 | + "required":["id","value"], |
| 1028 | + "doc": "//TODO" |
| 1029 | + }, |
| 1030 | + { |
| 1031 | + "pointer": "/initial_conditions/velocity/*/id", |
| 1032 | + "type": "int", |
| 1033 | + "doc": "//TODO" |
| 1034 | + }, |
| 1035 | + { |
| 1036 | + "pointer": "/initial_conditions/velocity/*/value", |
| 1037 | + "type": "list", |
| 1038 | + "min": 2, |
| 1039 | + "max":3, |
| 1040 | + "doc": "//TODO" |
| 1041 | + }, |
| 1042 | + { |
| 1043 | + "pointer": "/initial_conditions/velocity/*/value", |
| 1044 | + "type": "float", |
| 1045 | + "doc": "//TODO" |
| 1046 | + }, |
| 1047 | + { |
| 1048 | + "pointer": "/initial_conditions/velocity/*/value/*", |
| 1049 | + "type": "float", |
| 1050 | + "default":0, |
| 1051 | + "doc": "//TODO" |
| 1052 | + }, |
| 1053 | + { |
| 1054 | + "pointer": "/initial_conditions/velocity/*/value/*", |
| 1055 | + "type": "string", |
926 | 1056 | "doc": "//TODO" |
927 | 1057 | }, |
928 | 1058 | { |
929 | 1059 | "pointer": "/initial_conditions/acceleration", |
| 1060 | + "default": [], |
| 1061 | + "type": "list", |
| 1062 | + "doc": "//TODO" |
| 1063 | + }, |
| 1064 | + { |
| 1065 | + "pointer": "/initial_conditions/acceleration/*", |
930 | 1066 | "default": null, |
931 | 1067 | "type": "object", |
| 1068 | + "required":["id","value"], |
| 1069 | + "doc": "//TODO" |
| 1070 | + }, |
| 1071 | + { |
| 1072 | + "pointer": "/initial_conditions/acceleration/*/id", |
| 1073 | + "type": "int", |
| 1074 | + "doc": "//TODO" |
| 1075 | + }, |
| 1076 | + { |
| 1077 | + "pointer": "/initial_conditions/acceleration/*/value", |
| 1078 | + "type": "list", |
| 1079 | + "min": 2, |
| 1080 | + "max":3, |
| 1081 | + "doc": "//TODO" |
| 1082 | + }, |
| 1083 | + { |
| 1084 | + "pointer": "/initial_conditions/acceleration/*/value", |
| 1085 | + "type": "float", |
| 1086 | + "doc": "//TODO" |
| 1087 | + }, |
| 1088 | + { |
| 1089 | + "pointer": "/initial_conditions/acceleration/*/value/*", |
| 1090 | + "type": "float", |
| 1091 | + "default":0, |
| 1092 | + "doc": "//TODO" |
| 1093 | + }, |
| 1094 | + { |
| 1095 | + "pointer": "/initial_conditions/acceleration/*/value/*", |
| 1096 | + "type": "string", |
932 | 1097 | "doc": "//TODO" |
933 | 1098 | }, |
934 | 1099 | { |
|
0 commit comments