|
| | ParticleAttrib (size_t n=0) |
| | constructor with size n More...
|
| |
| | ParticleAttrib (T *ref, size_t n) |
| | constructor with an initialized ref More...
|
| |
| | ParticleAttrib (const ParticleAttrib &rhs)=default |
| |
| | ParticleAttrib (std::initializer_list< T > ts) |
| |
| ParticleAttrib & | operator= (const ParticleAttrib &rhs)=default |
| |
| template<class RHS > |
| ParticleAttrib & | operator= (const RHS &rhs) |
| | assignment operator to enable PETE More...
|
| |
| OhmmsObject * | makeClone () const override |
| |
| bool | get (std::ostream &os) const override |
| | Specialized to write the unit. More...
|
| |
| bool | put (std::istream &is) override |
| | Specialized to read the unit. More...
|
| |
| bool | put (xmlNodePtr cur) override |
| | read from an xmlNode More...
|
| |
| void | reset () override |
| | reset member data More...
|
| |
|
| void | setUnit (PosUnit i) |
| |
| PosUnit | getUnit () const |
| |
| | Vector (size_type n=0, Type_t val=Type_t()) |
| | constructor with size n More...
|
| |
| | Vector (T *ref, size_type n) |
| | constructor with an initialized ref More...
|
| |
| | Vector (const Vector &rhs) |
| | copy constructor More...
|
| |
| template<typename CONTAINER > |
| | Vector (const CONTAINER &from, T *ref, size_type n) |
| | This allows construction of a Vector on another containers owned memory that is using a dualspace allocator. More...
|
| |
| template<typename Allocator = Alloc, typename = IsHostSafe<Allocator>> |
| | Vector (std::initializer_list< T > ts) |
| | Initializer list constructor that can deal with both POD and nontrivial nested elements with move assignment operators. More...
|
| |
| Vector & | operator= (const Vector &rhs) |
| |
| template<typename T1 , typename C1 , typename Allocator = Alloc, typename = IsHostSafe<Allocator>> |
| Vector & | operator= (const Vector< T1, C1 > &rhs) |
| |
| template<class RHS , typename Allocator = Alloc, typename = IsHostSafe<Allocator>> |
| Vector & | operator= (const RHS &rhs) |
| |
| virtual | ~Vector () |
| | Destructor. More...
|
| |
| void | attachReference (T *ref, size_type n) |
| |
| template<typename CONTAINER > |
| void | attachReference (const CONTAINER &other, T *ref, size_type n) |
| | Attach to pre-allocated memory and propagate the allocator of the owning container. More...
|
| |
| size_type | size () const |
| | return the current size More...
|
| |
| void | resize (size_type n, Type_t val=Type_t()) |
| | Resize the container. More...
|
| |
| void | clear () |
| | clear More...
|
| |
| void | zero () |
| |
| void | free () |
| | free More...
|
| |
| template<typename Allocator = Alloc, typename = IsHostSafe<Allocator>> |
| Type_t & | operator[] (size_type i) |
| |
| template<typename Allocator = Alloc, typename = IsHostSafe<Allocator>> |
| const Type_t & | operator[] (size_type i) const |
| |
| iterator | begin () |
| |
| const_iterator | begin () const |
| |
| iterator | end () |
| |
| const_iterator | end () const |
| |
| pointer | data () |
| |
| const_pointer | data () const |
| |
| template<typename Allocator = Alloc, typename = IsDualSpace<Allocator>> |
| pointer | device_data () |
| | Return the device_ptr matching X if this is a vector attached or owning dual space memory. More...
|
| |
| template<typename Allocator = Alloc, typename = IsDualSpace<Allocator>> |
| const_pointer | device_data () const |
| |
| pointer | first_address () |
| |
| const_pointer | first_address () const |
| |
| pointer | last_address () |
| |
| const_pointer | last_address () const |
| |
| template<typename Allocator = Alloc, typename = IsDualSpace<Allocator>> |
| void | updateTo (size_type size=0, std::ptrdiff_t offset=0) |
| |
| template<typename Allocator = Alloc, typename = IsDualSpace<Allocator>> |
| void | updateFrom (size_type size=0, std::ptrdiff_t offset=0) |
| |
| | OhmmsObject () |
| | default constructor More...
|
| |
| | OhmmsObject (const std::string &tname, const std::string &oname) |
| | contructor More...
|
| |
| | ~OhmmsObject () override |
| |
| int | id () const |
| | return the ObjectID which is unique to each object More...
|
| |
| void | setID (int i) |
| | overwrite ObjectID More...
|
| |
| int | elementByteSize () const |
| | returns the byte size of the object More...
|
| |
| void | setTypeName (const std::string &tname) |
| | set the type name More...
|
| |
| void | setObjName (const std::string &oname) |
| | set the object name More...
|
| |
| const std::string & | typeName () const |
| | return the type name More...
|
| |
| const std::string & | objName () const |
| | return the object name More...
|
| |
| | OhmmsElementBase (const char *aname="none") |
| | constructor with a name More...
|
| |
| virtual | ~OhmmsElementBase () |
| | destructor More...
|
| |
| const std::string & | getName () const |
| | return the name More...
|
| |
| void | setName (const std::string &aname) |
| | set name More...
|
| |
| void | setIOMode (int imode) |
| | set iomode More...
|
| |
| virtual bool | add (xmlNodePtr parent) |
| | add a xmlNode to the children list of parent More...
|
| |
| void | put (const std::string &s) |
| | read from string More...
|
| |
| virtual void | begin_node (std::ostream &os) const |
| | write the start of a node More...
|
| |
| virtual void | end_node (std::ostream &os) const |
| | write the end of a node More...
|
| |
template<class T, typename Alloc = std::allocator<T>>
class qmcplusplus::ParticleAttrib< T, Alloc >
Attaches a unit to a Vector for IO.
Makes Vect
Definition at line 33 of file ParticleAttrib.h.