Commit 57773d28 authored by Kenneth Leiter's avatar Kenneth Leiter

BUG: Fix bug preventing Hexahedron_125 topology from being partitioned.

parent c231d85c
......@@ -422,6 +422,9 @@ XdmfTopologyType::New(const std::map<std::string, std::string> & itemProperties)
else if(typeVal.compare("HEXAHEDRON_64") == 0) {
return Hexahedron_64();
}
else if(typeVal.compare("HEXAHEDRON_125") == 0) {
return Hexahedron_125();
}
else if(typeVal.compare("MIXED") == 0) {
return Mixed();
}
......
......@@ -112,7 +112,8 @@ XdmfPartitioner::partition(const shared_ptr<XdmfUnstructuredGrid> gridToPartitio
topologyType == XdmfTopologyType::Hexahedron_20() ||
topologyType == XdmfTopologyType::Hexahedron_24() ||
topologyType == XdmfTopologyType::Hexahedron_27() ||
topologyType == XdmfTopologyType::Hexahedron_64()) {
topologyType == XdmfTopologyType::Hexahedron_64() ||
topologyType == XdmfTopologyType::Hexahedron_125()) {
metisElementType = 3;
nodesPerElement = 8;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment