Loading...
Searching...
No Matches
Clump

Namespaces

namespace  clump
 Clustering functions. This namespace contains functions that are used in the for clustering ice-like particles.

Classes

struct  clump::Domain

Functions

Domain clump::largestDomain (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const std::vector< std::vector< int > > &nList, const std::vector< bool > &mask)
int clump::largestIceCluster (std::string path, molSys::PointCloud< molSys::Point< double >, double > &yCloud, molSys::PointCloud< molSys::Point< double >, double > &iceCloud, const std::vector< std::vector< int > > &nList, std::vector< bool > &isIce, std::vector< int > &clusterID, std::vector< int > &nClusters, std::unordered_map< int, int > &indexNumber, int firstFrame)
 Finds the largest ice cluster.
int clump::singleClusterLinkedList (molSys::PointCloud< molSys::Point< double >, double > &iceCloud, const std::vector< std::vector< int > > &nList, std::vector< int > &linkedList)
int clump::clusterAnalysis (std::string path, molSys::PointCloud< molSys::Point< double >, double > &iceCloud, molSys::PointCloud< molSys::Point< double >, double > &yCloud, const std::vector< std::vector< int > > &nList, std::vector< std::vector< int > > &iceNeighbourList, double cutoff, int firstFrame, std::string bopAnalysis="q6")
int clump::recenterClusterCloud (molSys::PointCloud< molSys::Point< double >, double > &iceCloud, const std::vector< std::vector< int > > &nList)
 Recenters the coordinates of a pointCloud.

Variables

int clump::Domain::largest = 0
int clump::Domain::subset = 0
double clump::Domain::percolation = 0.0

Detailed Description

Function Documentation

◆ clusterAnalysis()

int clump::clusterAnalysis ( std::string path,
molSys::PointCloud< molSys::Point< double >, double > & iceCloud,
molSys::PointCloud< molSys::Point< double >, double > & yCloud,
const std::vector< std::vector< int > > & nList,
std::vector< std::vector< int > > & iceNeighbourList,
double cutoff,
int firstFrame,
std::string bopAnalysis = "q6" )
nodiscard

Does the cluster analysis of ice particles in the system. Returns a pointCloud of the largest ice cluster. The neighbour list returned is BY INDEX of the largest ice cluster pointCloud.

◆ largestDomain()

Domain clump::largestDomain ( const molSys::PointCloud< molSys::Point< double >, double > & cloud,
const std::vector< std::vector< int > > & nList,
const std::vector< bool > & mask )
nodiscard

◆ largestIceCluster()

int clump::largestIceCluster ( std::string path,
molSys::PointCloud< molSys::Point< double >, double > & yCloud,
molSys::PointCloud< molSys::Point< double >, double > & iceCloud,
const std::vector< std::vector< int > > & nList,
std::vector< bool > & isIce,
std::vector< int > & clusterID,
std::vector< int > & nClusters,
std::unordered_map< int, int > & indexNumber,
int firstFrame )
nodiscard

Finds the largest ice cluster.

◆ recenterClusterCloud()

int clump::recenterClusterCloud ( molSys::PointCloud< molSys::Point< double >, double > & iceCloud,
const std::vector< std::vector< int > > & nList )
nodiscard

Recenters the coordinates of a pointCloud.

◆ singleClusterLinkedList()

int clump::singleClusterLinkedList ( molSys::PointCloud< molSys::Point< double >, double > & iceCloud,
const std::vector< std::vector< int > > & nList,
std::vector< int > & linkedList )
nodiscard

Get the linked list of a cluster, given by iceCloud, for a single cluster. Required for cluster re-centering

Variable Documentation

◆ largest

int clump::Domain::largest = 0

Definition at line 65 of file cluster.hpp.

◆ percolation

double clump::Domain::percolation = 0.0

Definition at line 67 of file cluster.hpp.

◆ subset

int clump::Domain::subset = 0

Definition at line 66 of file cluster.hpp.