Wildmeshing Toolkit
PeriodicOptimizationOptions.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <nlohmann/json.hpp>
4
5
namespace
wmtk::components
{
6
7
struct
PeriodicOptimizationOptions
8
{
9
public
:
10
std::string
periodic_mesh
;
11
std::string
position_mesh
;
12
std::string
output
;
13
14
double
envelope_size
;
15
double
target_max_amips
;
16
double
target_edge_length
;
17
int64_t
passes
;
18
bool
intermediate_output
;
19
};
20
21
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
(
22
PeriodicOptimizationOptions
,
23
periodic_mesh,
24
position_mesh,
25
output
,
26
envelope_size,
27
target_max_amips,
28
target_edge_length,
29
passes,
30
intermediate_output);
31
32
}
// namespace wmtk::components
wmtk::components::output::output
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
wmtk::components
Definition:
Tuple.hpp:14
wmtk::components::NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(FusionOptions, input, fusion_X, fusion_Y, fusion_Z, name)
wmtk::components::PeriodicOptimizationOptions
Definition:
PeriodicOptimizationOptions.hpp:8
wmtk::components::PeriodicOptimizationOptions::position_mesh
std::string position_mesh
Definition:
PeriodicOptimizationOptions.hpp:11
wmtk::components::PeriodicOptimizationOptions::envelope_size
double envelope_size
Definition:
PeriodicOptimizationOptions.hpp:14
wmtk::components::PeriodicOptimizationOptions::periodic_mesh
std::string periodic_mesh
Definition:
PeriodicOptimizationOptions.hpp:10
wmtk::components::PeriodicOptimizationOptions::target_edge_length
double target_edge_length
Definition:
PeriodicOptimizationOptions.hpp:16
wmtk::components::PeriodicOptimizationOptions::target_max_amips
double target_max_amips
Definition:
PeriodicOptimizationOptions.hpp:15
wmtk::components::PeriodicOptimizationOptions::passes
int64_t passes
Definition:
PeriodicOptimizationOptions.hpp:17
wmtk::components::PeriodicOptimizationOptions::output
std::string output
Definition:
PeriodicOptimizationOptions.hpp:12
wmtk::components::PeriodicOptimizationOptions::intermediate_output
bool intermediate_output
Definition:
PeriodicOptimizationOptions.hpp:18
components
periodic_optimization
wmtk
components
periodic_optimization
internal
PeriodicOptimizationOptions.hpp
Generated by
1.9.1