Commit 52e96f2b authored by Jerry Clarke's avatar Jerry Clarke
Browse files

Add BaseOffset to Build()

parent f66d844e
...@@ -77,6 +77,12 @@ XdmfTopology::Build(){ ...@@ -77,6 +77,12 @@ XdmfTopology::Build(){
if( this->OrderIsDefault == 0 ){ if( this->OrderIsDefault == 0 ){
this->Set("Order", this->GetOrderAsString()); this->Set("Order", this->GetOrderAsString());
} }
if( this->BaseOffset != 0 ){
char Offset[80];
ostrstream OffsetStream(Offset, 80);
OffsetStream << this->BaseOffset << ends;
this->Set("BaseOffset", Offset);
}
if(this->Connectivity){ if(this->Connectivity){
XdmfDataItem *di = NULL; XdmfDataItem *di = NULL;
XdmfXmlNode node; XdmfXmlNode node;
......
Supports Markdown
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