- 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 1 commit
-
-
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 3 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.
-
- 14 Apr, 2010 1 commit
-
-
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.
-
- 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.
-