11 #include "ClusterLink.h" 12 #include <util/space/Tensor.h> 13 #include <util/space/Vector.h> 15 #include <mcMd/simulation/System.h> A Vector is a Cartesian vector.
An orthorhombic periodic unit cell.
bool isValid() const
Return true if valid, false otherwise.
void clear()
Set cluster to empty.
File containing preprocessor macros for error handling.
A Tensor represents a Cartesian tensor.
ClusterLink * head() const
Get a pointer to the first link in the linked list.
int id() const
Get the cluster id.
int size() const
Get the number of molecules or links in the cluster.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
void setId(int id)
Set cluster identifier.
Vector clusterCOM(int atomTypeInCluster, Boundary const &boundary)
Return the cluster COM.
Tensor momentTensor(int atomTypeInCluster, Boundary const &boundary)
Return the cluster radius of gyration tensor.
void addLink(ClusterLink &link)
Add a link to the list.