Commit 2a5d34be authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Update to make CombinePartitions carry FieldMetaData section forward

parent 8af9e44d
......@@ -36,14 +36,22 @@ int main(int argc, char *argv[])
}
TiXmlElement *nektar = docInput.FirstChildElement("NEKTAR");
TiXmlElement *elements = nektar->FirstChildElement("ELEMENTS");
// load up root processor's meta data
if(n == 0)
{
TiXmlElement *metadata = nektar->FirstChildElement("FIELDMETADATA");
master->LinkEndChild(new TiXmlElement(*master));
}
// load the elements from seperate files.
while (elements)
{
master->LinkEndChild(new TiXmlElement(*elements));
elements = elements->NextSiblingElement();
}
}
docOutput.LinkEndChild(master);
if (!docOutput.SaveFile(argv[2]))
{
......
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