Wildmeshing Toolkit
periodic_optimization.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wmtk/Mesh.hpp>
4 
6 
8  Mesh& periodic_mesh,
9  Mesh& position_mesh,
10  Mesh& surface_mesh,
11  const double target_edge_length,
12  const double max_amips_energy,
13  const int64_t passes,
14  const double envelope_size,
15  const bool intermediate_output,
16  std::vector<attribute::MeshAttributeHandle>& pass_through_attributes,
17  std::string output_dir,
18  std::string output);
19 
20 } // namespace wmtk::components::internal
void periodic_optimization(Mesh &periodic_mesh, Mesh &position_mesh, Mesh &surface_mesh, const double target_edge_length, const double max_amips_energy, const int64_t passes, const double envelope_size, const bool intermediate_output, std::vector< attribute::MeshAttributeHandle > &pass_through_attributes, std::string output_dir, std::string 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