Wildmeshing Toolkit
Loading...
Searching...
No Matches
test_component_multimesh.cpp
Go to the documentation of this file.
1// #include <catch2/catch_test_macros.hpp>
2// #include <nlohmann/json.hpp>
3// #include <wmtk/components/input/input.hpp>
4// #include <wmtk/components/multimesh/multimesh.hpp>
5// #include <wmtk/components/utils/Paths.hpp>
6// #include <wmtk/io/Cache.hpp>
7
8// using namespace wmtk::components::utils;
9
10// using json = nlohmann::json;
11
12// const std::filesystem::path data_dir = WMTK_DATA_DIR;
13
14// TEST_CASE("multimesh", "[components][multimesh][.]")
15// {
16// wmtk::io::Cache cache("wmtk_cache", ".");
17
18// json parent_json = {
19// {"type", "input"},
20// {"name", "parent"},
21// // {"file", (data_dir / "bumpyDice.msh").string()},
22// {"ignore_z", false}};
23// wmtk::components::input(Paths(), parent_json, cache);
24
25// json child_json = {
26// {"type", "input"},
27// {"name", "child"},
28// // {"file", (data_dir / "bumpyDice.msh").string()},
29// {"ignore_z", true}};
30// wmtk::components::input(Paths(), child_json, cache);
31
32// json multimesh = {
33// {"type", "multimesh"},
34// {"parent", "parent"},
35// {"child", "child"},
36// {"output", "multimesh"}};
37
38// wmtk::components::multimesh(Paths(), multimesh, cache);
39// }