seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
Loading...
Searching...
No Matches
tum3 Namespace Reference

Functions

int topoUnitMatchingBulk (std::string path, const std::vector< std::vector< int > > &rings, const std::vector< std::vector< int > > &nList, molSys::PointCloud< molSys::Point< double >, double > &yCloud, int firstFrame, bool printClusters, bool onlyTetrahedral, std::string templatePath="templates")
Eigen::MatrixXd buildRefHC (const std::string &fileName)
 Build a reference Hexagonal cage, reading in from a template XYZ file.
Eigen::MatrixXd buildRefDDC (const std::string &fileName)
 Build a reference Double-Diamond cage, reading in from a template XYZ file.
int shapeMatchHC (molSys::PointCloud< molSys::Point< double >, double > &yCloud, const Eigen::MatrixXd &refPoints, cage::Cage cageUnit, const std::vector< std::vector< int > > &rings, const std::vector< std::vector< int > > &nList, std::vector< double > &quat, double &rmsd)
 Shape-matching for a target HC.
int shapeMatchDDC (molSys::PointCloud< molSys::Point< double >, double > &yCloud, const Eigen::MatrixXd &refPoints, const std::vector< cage::Cage > &cageList, int cageIndex, const std::vector< std::vector< int > > &rings, std::vector< double > &quat, double &rmsd)
 Shape-matching for a target DDC.
int updateRMSDatom (const std::vector< std::vector< int > > &rings, cage::Cage cageUnit, double rmsd, std::vector< double > &rmsdPerAtom, std::vector< int > &noOfCommonAtoms, const std::vector< cage::iceType > &atomTypes)
int averageRMSDatom (std::vector< double > &rmsdPerAtom, std::vector< int > &noOfCommonAtoms)
 Average the RMSD per atom.
std::vector< cage::Cage > topoBulkCriteria (std::string path, const std::vector< std::vector< int > > &rings, const std::vector< std::vector< int > > &nList, molSys::PointCloud< molSys::Point< double >, double > &yCloud, int firstFrame, int &numHC, int &numDDC, std::vector< ring::strucType > &ringType)
int clusterCages (molSys::PointCloud< molSys::Point< double >, double > &yCloud, std::string path, const std::vector< std::vector< int > > &rings, const std::vector< cage::Cage > &cageList, int numHC, int numDDC)
std::vector< int > atomsFromCages (const std::vector< std::vector< int > > &rings, const std::vector< cage::Cage > &cageList, const std::vector< int > &clusterCages)
 Gets the atoms in the cages of a given cluster.

Function Documentation

◆ atomsFromCages()

std::vector< int > tum3::atomsFromCages ( const std::vector< std::vector< int > > & rings,
const std::vector< cage::Cage > & cageList,
const std::vector< int > & clusterCages )

Gets the atoms in the cages of a given cluster.

◆ averageRMSDatom()

int tum3::averageRMSDatom ( std::vector< double > & rmsdPerAtom,
std::vector< int > & noOfCommonAtoms )
nodiscard

Average the RMSD per atom.

◆ buildRefDDC()

Eigen::MatrixXd tum3::buildRefDDC ( const std::string & fileName)

Build a reference Double-Diamond cage, reading in from a template XYZ file.

◆ buildRefHC()

Eigen::MatrixXd tum3::buildRefHC ( const std::string & fileName)

Build a reference Hexagonal cage, reading in from a template XYZ file.

◆ clusterCages()

int tum3::clusterCages ( molSys::PointCloud< molSys::Point< double >, double > & yCloud,
std::string path,
const std::vector< std::vector< int > > & rings,
const std::vector< cage::Cage > & cageList,
int numHC,
int numDDC )
nodiscard

Clustering Clusters cages using the Stillinger algorithm and prints out individual XYZ files of clusters.

◆ shapeMatchDDC()

int tum3::shapeMatchDDC ( molSys::PointCloud< molSys::Point< double >, double > & yCloud,
const Eigen::MatrixXd & refPoints,
const std::vector< cage::Cage > & cageList,
int cageIndex,
const std::vector< std::vector< int > > & rings,
std::vector< double > & quat,
double & rmsd )
nodiscard

Shape-matching for a target DDC.

◆ shapeMatchHC()

int tum3::shapeMatchHC ( molSys::PointCloud< molSys::Point< double >, double > & yCloud,
const Eigen::MatrixXd & refPoints,
cage::Cage cageUnit,
const std::vector< std::vector< int > > & rings,
const std::vector< std::vector< int > > & nList,
std::vector< double > & quat,
double & rmsd )
nodiscard

Shape-matching for a target HC.

◆ topoBulkCriteria()

std::vector< cage::Cage > tum3::topoBulkCriteria ( std::string path,
const std::vector< std::vector< int > > & rings,
const std::vector< std::vector< int > > & nList,
molSys::PointCloud< molSys::Point< double >, double > & yCloud,
int firstFrame,
int & numHC,
int & numDDC,
std::vector< ring::strucType > & ringType )

Topological network methods Finds the HCs and DDCs for the system

◆ topoUnitMatchingBulk()

int tum3::topoUnitMatchingBulk ( std::string path,
const std::vector< std::vector< int > > & rings,
const std::vector< std::vector< int > > & nList,
molSys::PointCloud< molSys::Point< double >, double > & yCloud,
int firstFrame,
bool printClusters,
bool onlyTetrahedral,
std::string templatePath = "templates" )
nodiscard

Topological unit matching for bulk water. If printClusters is true, individual clusters of connected cages are printed.

◆ updateRMSDatom()

int tum3::updateRMSDatom ( const std::vector< std::vector< int > > & rings,
cage::Cage cageUnit,
double rmsd,
std::vector< double > & rmsdPerAtom,
std::vector< int > & noOfCommonAtoms,
const std::vector< cage::iceType > & atomTypes )
nodiscard

Calulate the RMSD for each ring, using RMSD values (rmsd) obtained from the shape-matching of each cage