Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CrayzeeWulf
Xdmf
Commits
57773d28
Commit
57773d28
authored
May 18, 2011
by
Kenneth Leiter
Browse files
BUG: Fix bug preventing Hexahedron_125 topology from being partitioned.
parent
c231d85c
Changes
2
Hide whitespace changes
Inline
Side-by-side
XdmfTopologyType.cpp
View file @
57773d28
...
...
@@ -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
();
}
...
...
utils/XdmfPartitioner.cpp
View file @
57773d28
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment