- 26 Apr, 2010 4 commits
-
-
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 9 commits
-
-
Kenneth Leiter authored
-
Ken Leiter (Civ authored
-
Ken Leiter (Civ authored
-
Ken Leiter (Civ authored
-
Ken Leiter (Civ authored
-
Ken Leiter (Civ authored
-
Ken Leiter (Civ authored
ENH: Add XdmfAttributeCenter to XdmfAttribute to specify how the attribute values are attached to the grid.
-
Ken Leiter (Civ authored
ENH: Allow XdmfGrids to insert XdmfAttribute elements. Add this to the visitor logic to write to xml.
-
Ken Leiter (Civ authored
ENH: Replace old way of creating static instances of XdmfTopologyType, XdmfGeometryType, and storing them by reference in their respective topologies. These now work by providing a specific constructor method that returns specific instances of the objects populated with correct values. This was changed because there are some type options in Xdmf where static instances don't make sense (e.g. XdmfTopologyType Polygon can have many different values for nodesPerElement) but we still need to restrict construction of these types with specific values. Each parent item merely keeps a copy of a topology type. I considered doing this with smart pointers, but I believe it to be unnecessarily complicated, especially when direct comparison of topology types is needed. I am considering separating these types into separate classes. Added XdmfAttribute implementation and began populating XdmfVisitor to write out XML.
-
- 06 Feb, 2010 2 commits
-
-
Kenneth Leiter authored
ENH: Add write() method to XdmfItem and implement in subclasses. The write() method calls the visitor on the current object which performs some predetermined acivity (writing to heavy data, writing to light data, parallel output, etc.
-
Kenneth Leiter authored
-