Commit e579eeee authored by Kenneth Leiter's avatar Kenneth Leiter

BUG: Add Dimensions when writing out Polyvertex topology to remain consistent with old Xdmf format.

parent aa047625
......@@ -55,8 +55,7 @@ XdmfTopology::getItemProperties() const
{
std::map<std::string, std::string> topologyProperties;
mType->getProperties(topologyProperties);
if(mType->getCellType() != XdmfTopologyType::Structured &&
mType != XdmfTopologyType::Polyvertex()) {
if(mType->getCellType() != XdmfTopologyType::Structured) {
std::stringstream numElements;
numElements << this->getNumberElements();
topologyProperties["Dimensions"] = numElements.str();
......
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