- 13 May, 2010 3 commits
-
-
Kenneth Leiter authored
to write out the Xdmf graph. Modify some random include statements for style.
-
Kenneth Leiter authored
ENH: Add pure virtual getItemTag method to XdmfItem working to return the tag (same as in XML terminology) for the specific item.
-
Kenneth Leiter authored
ENH: Add XdmfItemProperty to genericize properties attached to XdmfItems. Add a pure virtual getItemProperties() method to XdmfItem to force children to implement a way to retrieve properties.
-
- 12 May, 2010 1 commit
-
-
Kenneth Leiter authored
ENH: Create a generic XdmfVisitor class and move writing operations to XdmfWriter. Incorporate Loki library to perform asymmetric visitor operation (allows customizable behavior for eventual Xdmf / NetDMF library split). Modify Loki Visitor to work happily with boost::shared_ptr and modify swig wrapping to properly handle boost::shared_ptr inheritance.
-
- 01 May, 2010 1 commit
-
-
Kenneth Leiter authored
-
- 30 Apr, 2010 1 commit
-
-
Kenneth Leiter authored
ENH: Rename write() operation to accept() which is more consistent for the Visitor pattern. Also, we can do much more to our Xdmf graph structure than just write it using Visitor operations.
-
- 26 Apr, 2010 7 commits
-
-
Kenneth Leiter authored
-
Kenneth Leiter authored
-
Kenneth Leiter authored
-
Kenneth Leiter authored
ENH: Add transferOwnership parameter to setValues(std::vector<T> & array) to match other setValues(const T * const array) --- clarification of ownership for non-shared_ptr arrays.
-
Kenneth Leiter authored
ENH: Add ArrayPointer Variant to allow users to use XdmfArray merely as a "pointer holder" for output using Xdmf. See the docs for a more clear explanation. Modify XdmfArray methods to correctly use the ArrayPointer.
-
Kenneth Leiter authored
-
Kenneth Leiter authored
-
- 20 Apr, 2010 3 commits
-
-
Ken Leiter (Civ ARL/CISD) kleiter authored
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Add TestXdmfVisitorValueCounter to demonstrate how to write visitor operations over the Xdmf graph that do something other than write to disk. Separate hexahedron grid example into a header file so that other test cases can use it for testing.
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Remove XdmfPython.cpp and Xdmf.py from repository. Modify CMake build script to generate wrappers automagically with swig (this will ensure that users always have swig wrapper tailored to their version of python and prevents us from having to regenerate and commit every time something in Xdmf changes). Add a couple extra methods to XdmfArray.cpp --- still need to figure out the rest of XdmfArray functionality.
-
- 19 Apr, 2010 2 commits
-
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Add initialize() method that allows user to specify the type of data to store in an XdmfArray if desired.
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Add swap method to XdmfArray. Swap works by swapping an XdmfArray's contents internally (no copy) between a std::vector<T>, boost::shared_ptr<std::vector<T> > or another XdmfArray. Modify some methods in XdmfArray that did not require visitor operation but can just catch boost::bad_get exceptions.
-
- 15 Apr, 2010 4 commits
-
-
Ken Leiter (Civ ARL/CISD) kleiter authored
-
Ken Leiter (Civ ARL/CISD) kleiter authored
STYLE: Split XdmfArray.tpp from XdmfArray.hpp --- this will hold template implementations for XdmfArray instead of stuffing them all in XdmfArray.hpp (merely a style difference). Do some minor formatting on some other files.
-
Ken Leiter (Civ ARL/CISD) kleiter authored
unnecessarily duplicated functionality.
-
Ken Leiter (Civ ARL/CISD) kleiter authored
-
- 14 Apr, 2010 3 commits
-
-
Ken Leiter (Civ ARL/CISD) kleiter authored
-
Ken Leiter (Civ ARL/CISD) kleiter authored
Conflicts: Xdmf.py XdmfPython.cpp
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Modify XdmfArray to have a std::vector like interface except for inset, which is replaced in XdmfArray with copyValues (for name clarity and ability to stride) Modify tests to use new functions Significantly modify swig python wrapping to easily store values from python lists in XdmfArrays.
-
- 13 Apr, 2010 1 commit
-
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Split visitor operation into a visit and a traverse operation so that logic of how to traverse the xdmf graph is kept with xdmf objects rather than the visitor. The visitor calls this function rather than relying on its own logic.
-
- 09 Apr, 2010 4 commits
-
-
Ken Leiter (Civ ARL/CISD) kleiter authored
BUG: Fix bug when trying to get a smart pointer to a vector type not stored in XdmfArray... If this is the case, just return NULL, This could potentially be very useful.
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Remove non const getValuesPointer for now. Rename getValues as getValuesString() and add getValues that returns a smart pointer to the internal array.
-
Ken Leiter (Civ ARL/CISD) kleiter authored
ENH: Add Smart Pointers to XdmfArray implementation. Modify some method names to be more clear about whether copying is being performed when setting values in the array. Modify tests to use new names and regenerate python wrappers.
-
Ken Leiter (Civ ARL/CISD) kleiter authored
Add XdmfArray to store values --- modify XdmfDataItem to contain an XdmfArray. Modify Tests to use new XdmfArray. Modify XdmfVisitor to use new XdmfArray. Add Python Tests and move Cxx tests to their own directory.
-
- 25 Feb, 2010 2 commits
-
-
Ken Leiter (Civ authored
ENH: Use libxml2 to do construction of xml file rather than using the crude stringstream way we were using previously. XML does not own the data, it is used to make constructing XML files easier and libxml2 will be needed eventually anyway to parse xml files.
-
Ken Leiter (Civ authored
ENH: Allow for storage, retrieval, and output of datatypes other than int. Incorporate into HDF5 output.
-
- 24 Feb, 2010 2 commits
-
-
Ken Leiter (Civ authored
ENH: Add ability to set Light Data Limit for Visitor, which controls how many values there need to be in a DataItem before it writes those values to a heavy data format. Set the default value to 100.
-
Ken Leiter (Civ authored
-
- 10 Feb, 2010 4 commits
-
-
Kenneth Leiter authored
-
Kenneth Leiter authored
-
Kenneth Leiter authored
ENH: Make XdmfAttribute, XdmfTopology, XdmfGeometry inherit from XdmfDataItem. Instead of containing a data item, each is a dataitem of a specific type. This makes setting data items more user friendly --- e.g. once you set the number of elements and set the topology type you don't have to set the number of elements from the dataitem again. This still needs to be figured out for composite dataitems for things like sets.
-
Kenneth Leiter authored
ENH: Add XdmfDataItems to XdmfTopology and XdmfGeometry and write them out correctly in the XdmfVisitor. Verified to work with simple Hexahedron file.
-
- 09 Feb, 2010 2 commits
-
-
Kenneth Leiter authored
-
Ken Leiter (Civ authored
-