Skip to content

Commit

Permalink
MakeHex -> MakeHexahedral
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Jun 21, 2024
1 parent d101185 commit 9b8db85
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/config/model.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ mesh length units.

- `"RemoveCurvature" [false]`
- `"MakeSimplex" [false]`
- `"MakeHex" [false]`
- `"MakeHexahedral" [false]`
- `"ReorderElements" [false]`
- `"CleanUnusedElements" [true]`
- `"AddInterfaceBoundaryElements" [true]`
Expand Down
6 changes: 3 additions & 3 deletions palace/utils/configfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ void ModelData::SetUp(json &config)
Lc = model->value("Lc", Lc);
remove_curvature = model->value("RemoveCurvature", remove_curvature);
make_simplex = model->value("MakeSimplex", make_simplex);
make_hex = model->value("MakeHex", make_hex);
make_hex = model->value("MakeHexahedral", make_hex);
reorder_elements = model->value("ReorderElements", reorder_elements);
clean_unused_elements = model->value("CleanUnusedElements", clean_unused_elements);
add_bdr_elements = model->value("AddInterfaceBoundaryElements", add_bdr_elements);
Expand All @@ -481,7 +481,7 @@ void ModelData::SetUp(json &config)
model->erase("Lc");
model->erase("RemoveCurvature");
model->erase("MakeSimplex");
model->erase("MakeHex");
model->erase("MakeHexahedral");
model->erase("ReorderElements");
model->erase("CleanUnusedElements");
model->erase("AddInterfaceBoundaryElements");
Expand All @@ -500,7 +500,7 @@ void ModelData::SetUp(json &config)
std::cout << "Lc: " << Lc << '\n';
std::cout << "RemoveCurvature: " << remove_curvature << '\n';
std::cout << "MakeSimplex: " << make_simplex << '\n';
std::cout << "MakeHex: " << make_hex << '\n';
std::cout << "MakeHexahedral: " << make_hex << '\n';
std::cout << "ReorderElements: " << reorder_elements << '\n';
std::cout << "CleanUnusedElements: " << clean_unused_elements << '\n';
std::cout << "AddInterfaceBoundaryElements: " << add_bdr_elements << '\n';
Expand Down
2 changes: 1 addition & 1 deletion scripts/schema/config/model.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Lc": { "type": "number", "exclusiveMinimum": 0.0 },
"RemoveCurvature": { "type": "boolean" },
"MakeSimplex": { "type": "boolean" },
"MakeHex": { "type": "boolean" },
"MakeHexahedral": { "type": "boolean" },
"ReorderElements": { "type": "boolean" },
"CleanUnusedElements": { "type": "boolean" },
"AddInterfaceBoundaryElements": { "type": "boolean" },
Expand Down

0 comments on commit 9b8db85

Please sign in to comment.