Wildmeshing Toolkit
Loading...
Searching...
No Matches
c1_simplification_spec.hpp
1#pragma once
2#include <nlohmann/json.hpp>
3namespace {
4nlohmann::json c1_simplification_spec = R"([
5 {
6 "pointer": "/",
7 "type": "object",
8 "required": [
9 "application",
10 "surface_mesh",
11 "tet_mesh",
12 "uv_mesh",
13 "dofs",
14 "cones"
15 ],
16 "optional": [
17 "output",
18 "threshold",
19 "log_level"
20 ]
21 },
22 {
23 "pointer": "/application",
24 "type": "string",
25 "options": [
26 "c1_simplification"
27 ],
28 "doc": "Application name must be c1_simplification."
29 },
30 {
31 "pointer": "/surface_mesh",
32 "type": "string",
33 "doc": "surface mesh file name"
34 },
35 {
36 "pointer": "/tet_mesh",
37 "type": "string",
38 "doc": "tet mesh file name"
39 },
40 {
41 "pointer": "/uv_mesh",
42 "type": "string",
43 "doc": "uv mesh file name"
44 },
45 {
46 "pointer": "/dofs",
47 "type": "string",
48 "doc": "dofs file name"
49 },
50 {
51 "pointer": "/cones",
52 "type": "string",
53 "doc": "cone vids file name"
54 },
55 {
56 "pointer": "/output",
57 "type": "string",
58 "default": "out",
59 "doc": "Output file name (without extension)."
60 },
61 {
62 "pointer": "/log_level",
63 "type": "int",
64 "default": 2,
65 "doc": "wmtk logger level."
66 },
67 {
68 "pointer": "/threshold",
69 "type": "float",
70 "default": 0.1,
71 "doc": "threshold of deviation"
72 }
73]
74)"_json;
75}