8 #ifndef SWOOSEUTILITIES_CONNECTIVITYFILEHANDLER_H
9 #define SWOOSEUTILITIES_CONNECTIVITYFILEHANDLER_H
16 namespace SwooseUtilities {
35 static void writeListsOfNeighbors(
const std::string& filename,
const std::vector<std::list<int>>& listsOfNeighbors);
41 #endif // SWOOSEUTILITIES_CONNECTIVITYFILEHANDLER_H
static std::vector< std::list< int > > readListsOfNeighbors(const std::string &filename)
Reads the lists of neighbors from a file.
Definition: ConnectivityFileHandler.cpp:15
static void writeListsOfNeighbors(const std::string &filename, const std::vector< std::list< int >> &listsOfNeighbors)
Writes all the neighbors of every atom to a file, i.e. the connectivity of the system.
Definition: ConnectivityFileHandler.cpp:65
Method for reading and writing the connectivity of atoms (list of neighbors for each atom)...
Definition: ConnectivityFileHandler.h:21