https://www.xdmf.org/index.php?title=New_Features&feed=atom&action=historyNew Features - Revision history2024-03-28T11:26:56ZRevision history for this page on the wikiMediaWiki 1.39.3https://www.xdmf.org/index.php?title=New_Features&diff=240&oldid=prevBurns: Created page with "Here are some new features to Xdmf. Try them out and give us some feedback. == [http://xdmf.org/index.php/Parallel_IO_with_MPI XdmfDSM] has been updated. == It now supports..."2017-03-13T18:48:30Z<p>Created page with "Here are some new features to Xdmf. Try them out and give us some feedback. == [http://xdmf.org/index.php/Parallel_IO_with_MPI XdmfDSM] has been updated. == It now supports..."</p>
<p><b>New page</b></p><div>Here are some new features to Xdmf. Try them out and give us some feedback.<br />
<br />
== [http://xdmf.org/index.php/Parallel_IO_with_MPI XdmfDSM] has been updated. ==<br />
<br />
It now supports Paging, multiple datasets, and multiple files.<br />
<br />
== New API ==<br />
<br />
=== XML Archive for XdmfWriter ===<br />
Archives the XML from previous writes and uses it to generate later iterations. Works best in simulations where new data is appended to the file each iteration.<br />
<br />
shared_ptr<XdmfWriter> writer = XdmfWriter::New();<br />
writer->setRebuildXML(false);<br />
<br />
=== XdmfGridController ===<br />
Alternative to XPointers, saves on memory by allowing the reading process to leave extra grids on file instead of reading them.<br />
<br />
shared_ptr<XdmfUnstructuredGrid> equalUnGrid = XdmfUnstructuredGrid::New();<br />
shared_ptr<XdmfGridController> unGridController = XdmfGridController::New("gridControllerReference.xmf", "/Xdmf/Domain/Grid[1]");<br />
equalUnGrid->setGridController(unGridController);<br />
<br />
A full example program can be found in the Xdmf source at: Xdmf2/tests/Cxx/TestXdmfGridController.cpp<br />
<br />
Will be usable in Paraview when it is updated to use the latest Xdmf.<br />
<br />
=== XdmfTemplate ===<br />
Allows for a grid collection to be written as a compressed grid.<br />
<br />
A full example program can be found in the Xdmf source at: Xdmf2/tests/Cxx/TestXdmfGridTemplate.cpp<br />
<br />
Requires a patch to VTK to render in Paraview:<br />
<br />
In file ParaView/VTK/IO/Xdmf3vtkXdmf3DataSet.cxx<br />
line 175 change<br />
#define DO_DEEPREAD 0<br />
to<br />
#define DO_DEEPREAD 1<br />
<br />
== Cxx11 replaces Boost ==<br />
In the case that Cxx11 is available, the Cxx11 version of calls will be used. Reworked the internals of XdmfArray to no longer use boost::variant</div>Burns