Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xdmf
Xdmf
Commits
6748b239
Commit
6748b239
authored
Apr 25, 2013
by
Kenneth Leiter
Browse files
ENH: Add ability to set heavy data writer in writer after initialization.
Add setter to writer to set heavy data writer.
parent
19c59918
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/XdmfWriter.cpp
View file @
6748b239
...
...
@@ -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
)
{
...
...
core/XdmfWriter.hpp
View file @
6748b239
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment