Wildmeshing Toolkit
WildmeshingOptions_old.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <nlohmann/json.hpp>
4 
5 namespace wmtk::components {
7 {
8  std::string position;
10  // nlohmann::json position;
11 };
14  position,
15  replace_double_coordinate);
16 
18 {
19  std::string mesh;
20  std::string position;
21 };
23 
24 
26 {
28  double thickness;
30 };
33  geometry,
34  thickness,
35  constrained_position);
36 
38 {
39 public:
40  std::string input;
41  std::string output;
43  // the rate at which the scheduler will present update information. if 0/empty this will do nothing
45  std::vector<nlohmann::json> pass_through;
46  std::vector<WildmeshingOptionsEnvelope> envelopes;
47 
48  int64_t passes;
52 };
53 
56  attributes,
57  pass_through,
58  passes,
59  input,
60  scheduler_update_frequency,
61  envelopes,
62  target_edge_length,
63  target_max_amips,
64  intermediate_output,
65  output);
66 
67 } // namespace wmtk::components
std::shared_ptr< Mesh > input(const std::filesystem::path &file, const bool ignore_z_if_zero, const std::vector< std::string > &tetrahedron_attributes)
Definition: input.cpp:12
void output(const Mesh &mesh, const std::filesystem::path &file, const std::string &position_attr_name)
Write the mesh to file.
Definition: output.cpp:16
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(FusionOptions, input, fusion_X, fusion_Y, fusion_Z, name)
std::vector< nlohmann::json > pass_through
std::vector< WildmeshingOptionsEnvelope > envelopes
nlohmann::json json
Definition: input.cpp:9