34 Node(
unsigned int numFrames,
unsigned int index_);
114 friend nlohmann::adl_serializer<Node*>;
118 unsigned int _numAtoms;
119 std::vector<int> atomIndices_;
123 std::vector<Atom*> atoms_;
124 unsigned int _hash = 0;
125 unsigned int _numFrames;
Manages CUDA-supported arrays, offering initialization, memory management, and data manipulation....
Definition cuarray.h:24
Represents a node in a graph.
Definition node.h:16
unsigned int numAtoms() const
Get the number of Atoms in the Node.
void addAtom(Atom *atom, CuArray< float > *coordinates, CuArray< float > *nodeCoordinates)
Add an Atom to the Node.
unsigned int index() const
Get the index of the Node.
unsigned int hash() const
Get the hash value of the Node.
float totalMass() const
Get the total mass of the Node.
std::string tag()
Get the tag of the Node.
~Node()
Destructor for Node.
Node()
Default constructor for Node.
Node(unsigned int numFrames, unsigned int index_)
Constructor for Node with specified number of frames and index.
std::vector< Atom * > atoms() const
Get a vector of pointers to the Atoms in the Node.