Commit 6748b239 authored by Kenneth Leiter's avatar Kenneth Leiter

ENH: Add ability to set heavy data writer in writer after initialization.

Add setter to writer to set heavy data writer.
parent 19c59918
......@@ -227,6 +227,12 @@ XdmfWriter::setDocumentTitle(std::string title)
mImpl->mDocumentTitle = title;
}
void
XdmfWriter::setHeavyDataWriter(shared_ptr<XdmfHeavyDataWriter> heavyDataWriter)
{
mImpl->mHeavyDataWriter = heavyDataWriter;
}
void
XdmfWriter::setLightDataLimit(const unsigned int numValues)
{
......
......@@ -148,6 +148,14 @@ public:
*/
bool getWriteXPaths() const;
/**
* Set the heavy data writer that this XdmfWriter uses to write
* heavy data to disk.
*
* @param heavyDataWriter the heavy data writer to set.
*/
void setHeavyDataWriter(shared_ptr<XdmfHeavyDataWriter> heavyDataWriter);
/**
* Set the number of values that this writer writes to light data
* (XML) before switching to a heavy data format.
......
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