|
using | DataSet = std::vector< SAMRAI::tbox::Pointer< T > > |
| The container class.
|
|
using | value_type = typename DataSet::value_type |
| The type of object, T, stored in the collection.
|
|
using | pointer = typename DataSet::pointer |
| Pointer to T.
|
|
using | reference = typename DataSet::reference |
| Reference to T.
|
|
using | const_reference = typename DataSet::const_reference |
| Const reference to T.
|
|
using | size_type = typename DataSet::size_type |
| An unsigned integral type.
|
|
using | difference_type = typename DataSet::difference_type |
| A signed integral type.
|
|
using | iterator = typename DataSet::iterator |
| Iterator used to iterate through the set.
|
|
using | const_iterator = typename DataSet::const_iterator |
| Const iterator used to iterate through the collection.
|
|
|
| LSet () |
| Default constructor.
|
|
| LSet (const LSet &from) |
| Copy constructor. More...
|
|
virtual | ~LSet () |
| Destructor.
|
|
LSet & | operator= (const LSet &that) |
| Assignment operator. More...
|
|
reference | operator[] (size_type n) |
|
const_reference | operator[] (size_type n) const |
|
const_iterator | begin () const |
|
iterator | begin () |
|
const_iterator | end () const |
|
iterator | end () |
|
size_type | size () const |
|
bool | empty () const |
|
void | push_back (const value_type &value) |
| Insert a new element at the end (of the set).
|
|
iterator | insert (iterator pos, const typename LSet< T >::value_type &x) |
| Inserts x before pos.
|
|
template<class InputIterator > |
void | insert (iterator pos, InputIterator first, InputIterator last) |
| Inserts the range [first,last) before pos.
|
|
void | insert (iterator pos, size_type n, const typename LSet< T >::value_type &x) |
| Inserts n copies of x before pos.
|
|
const DataSet & | getDataSet () const |
| Return a const reference to the set of data items.
|
|
DataSet & | getDataSet () |
| Return a non-const reference to the set of data items.
|
|
void | setDataSet (const DataSet &set) |
| Reset the set of data items.
|
|
const SAMRAI::hier::IntVector< NDIM > & | getPeriodicOffset () const |
|
void | setPeriodicOffset (const SAMRAI::hier::IntVector< NDIM > &offset) |
| Set the value of the periodic offset. More...
|
|
void | copySourceItem (const SAMRAI::hier::Index< NDIM > &src_index, const SAMRAI::hier::IntVector< NDIM > &src_offset, const LSet &src_item) |
| Copy data from the source. More...
|
|
size_t | getDataStreamSize () const |
| Return an upper bound on the amount of space required to pack the object to a buffer.
|
|
void | packStream (SAMRAI::tbox::AbstractStream &stream) |
| Pack data into the output stream.
|
|
void | unpackStream (SAMRAI::tbox::AbstractStream &stream, const SAMRAI::hier::IntVector< NDIM > &offset) |
| Unpack data from the input stream.
|
|
void | putToDatabase (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > database) |
| Pack data into a database.
|
|
void | getFromDatabase (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > database) |
| Unpack data from a database.
|
|
template<class T > |
LSet< T >::iterator | insert (typename LSet< T >::iterator pos, const typename LSet< T >::value_type &x) |
|
template<class InputIterator > |
void | insert (typename LSet< T >::iterator pos, InputIterator first, InputIterator last) |
|
template<class T > |
void | insert (typename LSet< T >::iterator pos, typename LSet< T >::size_type n, const typename LSet< T >::value_type &x) |
|
template<class T>
class IBTK::LSet< T >
Class LSet provides inter-processor communications and database access functionality to a collection of Lagrangian objects.