Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
JcDai committed Nov 4, 2024
1 parent 388a79e commit 232f3ec
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion applications/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ add_application(isotropic_remeshing OFF)
add_application(tetwild_simplification ON)
add_application(triwild ON)
add_application(tetwild ON)
add_application(cdt_sec ON)
add_application(cdt_opt ON)
add_application(shortest_edge_collapse ON)
add_application(insertion ON)
add_application(longest_edge_split ON)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
wmtk_add_application(cdt_sec_app
cdt_sec_main.cpp
cdt_sec_spec.hpp
wmtk_add_application(cdt_opt_app
cdt_opt_main.cpp
cdt_opt_spec.hpp
)



target_link_libraries(cdt_sec_app PRIVATE
target_link_libraries(cdt_opt_app PRIVATE
wmtk::input
wmtk::multimesh
wmtk::cdt_optimization
Expand All @@ -14,7 +14,7 @@ wmtk::CDT
wmtk::wildmeshing
wmtk::output)

wmtk_register_integration_test(EXEC_NAME cdt_sec_app
CONFIG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/cdt_sec_test_config.json
wmtk_register_integration_test(EXEC_NAME cdt_opt_app
CONFIG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/cdt_opt_test_config.json
GIT_REPOSITORY "https://github.com/wildmeshing/data.git"
GIT_TAG e39994334263bd3fa8f6eb026d8487b5e9ae7191)
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <wmtk/components/wildmeshing/wildmeshing.hpp>


#include "cdt_sec_spec.hpp"
#include "cdt_opt_spec.hpp"

using namespace wmtk;
namespace fs = std::filesystem;
Expand All @@ -45,12 +45,12 @@ int main(int argc, char* argv[])
j = nlohmann::json::parse(ifs);

jse::JSE spec_engine;
bool r = spec_engine.verify_json(j, cdt_sec_spec);
bool r = spec_engine.verify_json(j, cdt_opt_spec);
if (!r) {
wmtk::logger().error("{}", spec_engine.log2str());
return 1;
} else {
j = spec_engine.inject_defaults(j, cdt_sec_spec);
j = spec_engine.inject_defaults(j, cdt_opt_spec);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <nlohmann/json.hpp>
namespace {

nlohmann::json cdt_sec_spec = R"(
nlohmann::json cdt_opt_spec = R"(
[
{
"pointer": "/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"test_directory": "unit_test",
"tests": [],
"release_only_tests": [
"cdt_sec_out.json"
"cdt_opt_out.json"
],
"input_tag": "input",
"oracle_tag": "report",
Expand Down

0 comments on commit 232f3ec

Please sign in to comment.