Commit 6b41931d authored by David E. DeMarle's avatar David E. DeMarle Committed by Code Review

Merge topic 'xdmf3_writer_smaller_files' into master

71c55e8f shrink size of xdmf3 written files
parents 28e05a3a 71c55e8f
......@@ -31,6 +31,7 @@
#include "XdmfDomain.hpp"
#include "XdmfGridCollection.hpp"
#include "XdmfGridCollectionType.hpp"
#include "XdmfHeavyDataWriter.hpp"
#include "XdmfWriter.hpp"
#include <stack>
......@@ -46,6 +47,7 @@ public:
this->Domain = XdmfDomain::New();
this->Writer = XdmfWriter::New(filename);
this->Writer->setLightDataLimit(0);
this->Writer->getHeavyDataWriter()->setReleaseData(true);
this->NumberOfTimeSteps = 1;
this->CurrentTimeIndex = 0;
this->DestinationGroups.push(this->Domain);
......
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