ring.hpp File Reference

File containing common functions used by bulk and confined topological network critera. More...

#include <algorithm>
#include <array>
#include <fstream>
#include <iostream>
#include <iterator>
#include <math.h>
#include <memory>
#include <sstream>
#include <string>
#include <sys/stat.h>
#include <vector>
#include <cage.hpp>
#include <mol_sys.hpp>
#include <seams_input.hpp>
#include <seams_output.hpp>
+ Include dependency graph for ring.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ring
 Topological network criteria functions.
 

Enumerations

enum class  ring::strucType {
  ring::unclassified , ring::DDC , ring::HCbasal , ring::HCprismatic ,
  ring::bothBasal , ring::bothPrismatic , ring::Prism , ring::deformedPrism ,
  ring::mixedPrismRing
}
 

Functions

std::vector< std::vector< int > > ring::getSingleRingSize (std::vector< std::vector< int >> rings, int ringSize)
 Returns a vector of vectors of rings of a single size. More...
 
bool ring::hasCommonElements (std::vector< int > ring1, std::vector< int > ring2)
 
bool ring::compareRings (std::vector< int > ring1, std::vector< int > ring2)
 
bool ring::findTripletInRing (std::vector< int > ring, std::vector< int > triplet)
 Searches a particular ring for a triplet. More...
 
bool ring::commonElementsInThreeRings (std::vector< int > ring1, std::vector< int > ring2, std::vector< int > ring3)
 Common elements in 3 rings. More...
 
std::vector< int > ring::findsCommonElements (std::vector< int > ring1, std::vector< int > ring2)
 Returns the common elements of two rings. More...
 
int ring::clearRingList (std::vector< std::vector< int >> &rings)
 Erases memory for a vector of vectors for a list of rings. More...
 
int ring::assignPolygonType (std::vector< std::vector< int >> rings, std::vector< int > *atomTypes, std::vector< int > nRings)
 

Detailed Description

File containing common functions used by bulk and confined topological network critera.

Definition in file ring.hpp.