votca 2024.2-dev
|
Namespaces | |
namespace | Colors |
stores color codes for colorful help output | |
namespace | conv |
namespace | EigenIO_MatrixMarket |
namespace | filesystem |
namespace | internal |
namespace | topology_constants |
Classes | |
class | AkimaSpline |
An Akima Spline Class. More... | |
class | Application |
class | Average |
class | Calculator |
Base class for all calculators. More... | |
class | Color |
class | ColorScheme |
class | ColorSchemeBase |
class | Correlate |
class to calculate correlations of values More... | |
class | CrossCorrelate |
class to calculate cross correlations and autocorrelations More... | |
class | csDefault |
class | csRGB |
class | CubicSpline |
A cubic spline class. More... | |
class | DataCollection |
This class handles a set of arrays which can be identified by name tags. More... | |
class | Edge |
Connects to vertices. More... | |
class | EdgeContainer |
EdgeContainer is responsible for operations on groups of edges. More... | |
class | EigenSystem |
class | Elements |
information about an element More... | |
struct | globals |
class to store global variables More... | |
class | Graph |
class | Graph_BF_Visitor |
class | Graph_DF_Visitor |
class | GraphDistVisitor |
class | GraphNode |
A graph node that will take a variety of different values. More... | |
class | GraphVisitor |
class | Histogram |
class to generate histograms More... | |
class | HistogramNew |
class to generate histograms More... | |
class | Identity |
Information about Identity. More... | |
class | LinSpline |
A Linear Spline Class. More... | |
class | Mutex |
class | Name |
Name object. More... | |
class | NDimVector |
N-Dim Vector. More... | |
class | ObjectFactory |
template class for object factory More... | |
class | OptionsHandler |
class | Property |
class to manage program options with xml serialization functionality More... | |
class | PropertyIOManipulator |
Manipulates the format state of the output stream. More... | |
class | Random |
class | RangeParser |
RangeParser. More... | |
class | ReducedEdge |
Connects two vertices, also stores the vertices between the endpoints. More... | |
class | ReducedGraph |
Contains a graph that consits of vertices with degree of 1 or greater than 3. More... | |
class | Spline |
Spline Class. More... | |
class | StructureParameters |
Provides a means to standardise the constructors of different classes. More... | |
class | Table |
class to store tables like rdfs, tabulated potentials, etc More... | |
class | Thread |
Framework for threaded execution. More... | |
class | Tokenizer |
break string into words More... | |
class | UnitConverter |
Class converts between different unit types. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &out, const Correlate &c) |
std::ostream & | operator<< (std::ostream &out, const CrossCorrelate &c) |
std::ostream & | operator<< (std::ostream &out, const DataCollection< double >::selection &sel) |
const Edge | DUMMY_EDGE (std::numeric_limits< Index >::max(), std::numeric_limits< Index >::max()) |
template<typename T > | |
static bool | isApproximatelyEqual (T a, T b, T tolerance) |
std::istream & | getline (std::istream &is, std::string &str) |
Wrapper for a getline function. | |
std::string | GetVotcaShare () |
Retrieves VOTCASHARE environment variable. Throws std::runtime_error if not set. | |
bool | VotcaShareSet () |
bool | cmpVertNodePair (const std::pair< Index, GraphNode > &id_and_node1, const std::pair< Index, GraphNode > &id_and_node2) |
Compare function pair<Index ,GraphNode> object. | |
bool | singleNetwork (Graph &graph, GraphVisitor &graph_visitor) |
Determine if every vertex is connected to every other one through some combination of edges. | |
std::set< Edge > | exploreBranch (Graph g, Index starting_vertex, const Edge &edge) |
Explore one of the branches if exploration is initiated at vertex starting_vertex . | |
ReducedGraph | reduceGraph (Graph graph) |
Will take a graph and reduce it, by removing all vertices with degree of 2. | |
std::vector< Graph > | decoupleIsolatedSubGraphs (Graph graph) |
Break graph into smaller graph instances if the network is made up of isolated sub networks. | |
void | exploreGraph (Graph &graph, GraphVisitor &graph_visitor) |
Explore a graph with a graph visitor. | |
template<typename GV > | |
std::string | findStructureId (Graph &graph) |
Find a unique identifier that describes graph structure. | |
bool | cmpNode (GraphNode gn1, GraphNode gn2) |
Comparison function to be used with stl sort algorithm. | |
std::ostream & | operator<< (std::ostream &out, Histogram &h) |
std::ostream & | operator<< (std::ostream &out, HistogramNew &h) |
template<typename Target , typename Source > | |
Target | lexical_cast (const Source &arg, const std::string &error) |
Eigen::VectorXd | linalg_constrained_qrsolve (const Eigen::MatrixXd &A, const Eigen::VectorXd &b, const Eigen::MatrixXd &constr) |
solves A*x=b under the constraint B*x = 0 | |
template<class parent , class T , typename... args_t> | |
std::unique_ptr< parent > | create_policy_new (args_t &&...args) |
std::ostream & | operator<< (std::ostream &out, const RangeParser &rp) |
int | wildcmp (const char *wild, const char *string) |
int | wildcmp (const std::string &wild, const std::string &string) |
template<class T > | |
T | convertFromString (const std::string &s) |
const std::string & | ToolsVersionStr () |
ostream & | operator<< (std::ostream &os, const Edge &ed) |
ostream & | operator<< (std::ostream &os, const EdgeContainer edgecontainer) |
bool | nodeForEveryVertex_ (vector< Index > vertices, unordered_map< Index, GraphNode > nodes) |
ostream & | operator<< (std::ostream &os, const Graph graph) |
string | sig_fig_ (double val, Index sf) |
string | getIntStringId_ (const unordered_map< string, Index > int_vals) |
string | getDoubleStringId_ (const unordered_map< string, double > double_vals) |
string | getStrStringId_ (const unordered_map< string, string > str_vals) |
ostream & | operator<< (std::ostream &os, const GraphNode gn) |
template<typename T > | |
static bool | IsValidCast (const tools::Property &prop) |
void | FixPath (tools::Property &prop, std::string path) |
static void | start_hndl (void *data, const char *el, const char **attr) |
static void | end_hndl (void *data, const char *) |
void | char_hndl (void *data, const char *txt, int txtlen) |
void | PrintNodeTXT (std::ostream &out, const Property &p, const Index start_level, Index level=0, string prefix="", string offset="") |
void | PrintNodeXML (std::ostream &out, const Property &p, PropertyIOManipulator *piom, Index level=0, string offset="") |
void | PrintNodeHLP (std::ostream &out, const Property &p, const Index start_level=0, Index level=0, const string &prefix="", const string &offset="") |
std::ostream & | operator<< (std::ostream &out, const Property &p) |
PropertyIOManipulator | XML (PropertyIOManipulator::XML) |
PropertyIOManipulator | TXT (PropertyIOManipulator::TXT) |
PropertyIOManipulator | HLP (PropertyIOManipulator::HLP) |
void | moveVertexWithSmallestValueToEnds_ (vector< Index > &vertices) |
bool | verticesShouldBeReversed_ (vector< Index > &vertices) |
ostream & | operator<< (std::ostream &os, const ReducedEdge &edge) |
bool | compareChainWithChains_ (const vector< Index > &chain, const vector< vector< Index > > &chains) |
Function will compare a chain with a vector of chains. | |
set< Index > | getVertexJunctions_ (const vector< ReducedEdge > &reduced_edges) |
Given a vector of Reduced Edges will find and return junctions if any exist. | |
void | addEdgeIfNotLoop_ (vector< Edge > &edges, const ReducedEdge reduced_edge, unordered_map< Edge, vector< vector< Index > > > &expanded_edges) |
function adds an edge to an unordered_map and a vector if it is found to not be a loop | |
void | orderChainAfterInitialVertex_ (vector< Index > &chain) |
This is a helper function used to help store the vertex chain in a reproducable order. | |
bool | reorderAndStoreChainIfDoesNotExist_ (vector< Edge > &edges, unordered_map< Edge, vector< vector< Index > > > &expanded_edges, vector< Index > chain, Index vertex, size_t &chain_index) |
set< Index > | getAllVertices_ (const std::vector< ReducedEdge > &reduced_edges) |
set< Index > | getAllConnectedVertices_ (const unordered_map< Edge, vector< vector< Index > > > &expanded_edges) |
ostream & | operator<< (std::ostream &os, const ReducedGraph graph) |
istream & | operator>> (std::istream &in, Table &t) |
std::ostream & | operator<< (std::ostream &out, const Table &t) |
void * | runwrapper (void *arg) |
Variables | |
Color< csDefault > | DEFAULT_COLORS |
PropertyIOManipulator | XML |
PropertyIOManipulator | HLP |
PropertyIOManipulator | TXT |
static const std::string | gitversion = "gitid: f2e4039" |
static const std::string | version_str |
Enumerator | |
---|---|
e | |
coulombs |
Definition at line 59 of file unitconverter.h.
Enumerator | |
---|---|
meters | |
centimeters | |
nanometers | |
angstroms | |
bohr |
Definition at line 27 of file unitconverter.h.
Enumerator | |
---|---|
electron_volts | |
kilocalories | |
hartrees | |
joules | |
kilojoules |
Definition at line 42 of file unitconverter.h.
Enumerator | |
---|---|
kilocalories_per_angstrom | |
newtons | |
kilojoules_per_nanometer | |
kilojoules_per_angstrom | |
hatree_per_bohr |
Definition at line 68 of file unitconverter.h.
Enumerator | |
---|---|
attograms | |
picograms | |
femtograms | |
atomic_mass_units | |
grams_per_mole | |
kilograms | |
grams |
Definition at line 29 of file unitconverter.h.
Enumerator | |
---|---|
kilojoules_per_mole | |
joules_per_mole | |
kilocalories_per_mole | |
electron_volts_per_mole | |
hartrees_per_mole |
Definition at line 51 of file unitconverter.h.
Enumerator | |
---|---|
kilocalories_per_mole_angstrom | |
newtons_per_mole | |
kilojoules_per_mole_nanometer | |
kilojoules_per_mole_angstrom | |
hatree_per_mole_bohr |
Definition at line 77 of file unitconverter.h.
Supported and Standardized parameter types.
Enumerator | |
---|---|
Mass | |
Position | |
MoleculeId | |
ResidueId | |
Charge | |
Element | |
Symmetry | |
ResidueType | |
BeadId | |
BeadType | |
MoleculeType |
Definition at line 34 of file structureparameters.h.
Enumerator | |
---|---|
seconds | |
microseconds | |
nanoseconds | |
femtoseconds | |
picoseconds |
Definition at line 39 of file unitconverter.h.
Enumerator | |
---|---|
angstroms_per_femtosecond | |
angstroms_per_picosecond | |
nanometers_per_picosecond |
Definition at line 61 of file unitconverter.h.
void votca::tools::addEdgeIfNotLoop_ | ( | vector< Edge > & | edges, |
const ReducedEdge | reduced_edge, | ||
unordered_map< Edge, vector< vector< Index > > > & | expanded_edges ) |
function adds an edge to an unordered_map and a vector if it is found to not be a loop
A loop is an edge that essentially makes a circle. In an edge that is a loop will have both end points equal to the samve vertex. E.g. a reduced edge like this:
Edge Expanded edge (chain of vertices) 2, 2 : 2 - 4 - 3 - 5 - 2
2 - 4 | | 5 - 3
Reduced Graph
[in,out] | edges | - vector of edges, an edge is added to the vector if it is not a loop |
[in] | reduced_edge | - a reduced edge, the edge to be added |
[in,out] | expanded_edges | - an unordered_map that stores the edge and its chain if it is found to not be a loop |
Definition at line 154 of file reducedgraph.cc.
void votca::tools::char_hndl | ( | void * | data, |
const char * | txt, | ||
int | txtlen ) |
Definition at line 230 of file property.cc.
Comparison function to be used with stl sort algorithm.
Given a vector of graph node objects this function can be used to sort them they are sorted based on the contents of the graphnode which are summarized in the graph nodes string id. E.g.
vector<GraphNode> vec_gn = { gn1, gn2,...etc };
sort(vec_gn.begin(),vec_gn.end(),cmpNode);
Definition at line 198 of file graphnode.cc.
bool votca::tools::cmpVertNodePair | ( | const std::pair< Index, GraphNode > & | id_and_node1, |
const std::pair< Index, GraphNode > & | id_and_node2 ) |
Compare function pair<Index ,GraphNode> object.
This function is meant to be used with the stl sort algorithm. It will sort a vector of pairs containing the vertex ids and the graphnodes. Only the contetns of the graph node object are used to determine precidence e.g.
pair<Index ,GraphNode> pr_grn1{ 1, gn }; pair<Index ,GraphNode> pr_grn2{ 2, gn2 };
vector<pair<Index ,GraphNode> > vec_pr_gn = { pr_grn1, pr_grn2 , ... etc };
sort(vec_pr_gn.begin(),vec_pr_gn.end(),cmpVertNodePair);
bool votca::tools::compareChainWithChains_ | ( | const vector< Index > & | chain, |
const vector< vector< Index > > & | chains ) |
Function will compare a chain with a vector of chains.
If the one of the chains in the vector of chains is equivalent will return true. A chain is simply a vector of integers where each integer represents a vertex along an edge. The vertices appear in the chain in the same order as they exist in a graph.
Definition at line 47 of file reducedgraph.cc.
T votca::tools::convertFromString | ( | const std::string & | s | ) |
Definition at line 155 of file tokenizer.h.
std::unique_ptr< parent > votca::tools::create_policy_new | ( | args_t &&... | args | ) |
Definition at line 84 of file objectfactory.h.
Break graph into smaller graph instances if the network is made up of isolated sub networks.
This algorithm will determine if there are groups of vertices that are connected, but where there are no connections shared between the groups. These groups will be brocken up into their own Graph instances. E.g. Take a graph with the following vertices and connections
Graph 1:
1 - 2 - 3 | | 8 - 9 - 10 11 4 - 5 - 6 -7
decoupling the graph into sub graphs will break the islands up into individual graphs:
Sub Graph 1 Sub Graph 2 Sub Graph 3
1 - 2 - 3 | | 8 - 9 - 10 11 4 - 5 - 6 -7
[in] | graph | - Graph instance |
Definition at line 244 of file graphalgorithm.cc.
const Edge votca::tools::DUMMY_EDGE | ( | std::numeric_limits< Index > | ::max(), |
std::numeric_limits< Index > | ::max() ) |
|
static |
Definition at line 224 of file property.cc.
Explore one of the branches if exploration is initiated at vertex starting_vertex
.
The edge
is used to determine which branch is to be explored. The edge must be an edge connected to the starting_vertex.
Take the following
1 - 2 - 3 - 4 - 5 | | 6 - 7 - 8
If our graph is reprsented by the above depiction and vertex 3 is chosen as our starting vertex, we are left with 3 edges to choose from Edges:
2 - 3 3 - 4 3 - 6
If we pick edge 3 - 4 or 3 - 6 the returned set of edges will consist of the loop
3 - 4 - 5 | | 6 - 7 - 8
If instead Edge 2 - 3 is picked, the following set of edges would be returned
1 - 2 - 3
[in] | g | - Graph instance |
[in] | starting_vertex | - Index starting vertex, where the exploration begins |
[in] | edge | - the edge indicating which branch is to be explored |
Definition at line 49 of file graphalgorithm.cc.
void votca::tools::exploreGraph | ( | Graph & | graph, |
GraphVisitor & | graph_visitor ) |
Explore a graph with a graph visitor.
This function will simply explore a graph, any information gained from the exploration will depend on the graph visitor used. Note that the Graph visitor is the base class which will not work on its own. The purpose of doing this is to make use of polymorphism.
[in,out] | graph | - Graph reference instance |
[in,out] | graph_visitor | - graph visitor |
Definition at line 291 of file graphalgorithm.cc.
std::string votca::tools::findStructureId | ( | Graph & | graph | ) |
Find a unique identifier that describes graph structure.
This algorithm is designed to explore the topology of the graph and return an identifier in the form of the string that is unique to the topology. It does this by taking into account the contents of the graphnodes. How it does this is specific to the graph visitor specified.
[in,out] | graph | - Graph reference instance |
Definition at line 181 of file graphalgorithm.h.
void votca::tools::FixPath | ( | tools::Property & | prop, |
std::string | path ) |
Definition at line 131 of file property.cc.
set< Index > votca::tools::getAllConnectedVertices_ | ( | const unordered_map< Edge, vector< vector< Index > > > & | expanded_edges | ) |
Definition at line 249 of file reducedgraph.cc.
set< Index > votca::tools::getAllVertices_ | ( | const std::vector< ReducedEdge > & | reduced_edges | ) |
Definition at line 238 of file reducedgraph.cc.
string votca::tools::getDoubleStringId_ | ( | const unordered_map< string, double > | double_vals | ) |
Turns the map of doubles into a string that is sorted alphabetically by the keys
Definition at line 74 of file graphnode.cc.
string votca::tools::getIntStringId_ | ( | const unordered_map< string, Index > | int_vals | ) |
Turns the map of ints into a string that is sorted alphabetically by the keys
Definition at line 56 of file graphnode.cc.
|
inline |
string votca::tools::getStrStringId_ | ( | const unordered_map< string, string > | str_vals | ) |
Turns the map of strings into a string that is sorted alphabetically by the keys
Definition at line 92 of file graphnode.cc.
set< Index > votca::tools::getVertexJunctions_ | ( | const vector< ReducedEdge > & | reduced_edges | ) |
Given a vector of Reduced Edges will find and return junctions if any exist.
A junction is a vertex in a graph that has 3 or more edges eminating from it.
Consider three reduced edges given by
Edge Reduced Edge when Expanded (chain of vertices) 1, 5 : 1 - 3 - 4 - 6 - 5 5, 10 : 5 - 2 - 10 5, 9 : 5 - 8 - 9
1 - 3 - 4 - 6 - 5 - 2 - 10 | 8 - 9
Reduced Graph:
1 - 5 - 10 | 9
Here vertex 5 would be found to be a junction
[in,out] | reduced_edges | - vector of reduced edges |
Definition at line 97 of file reducedgraph.cc.
std::string votca::tools::GetVotcaShare | ( | ) |
Retrieves VOTCASHARE environment variable. Throws std::runtime_error if not set.
Definition at line 27 of file globals.cc.
PropertyIOManipulator votca::tools::HLP | ( | PropertyIOManipulator::HLP | ) |
|
static |
Definition at line 45 of file floatingpointcomparison.h.
|
static |
Definition at line 30 of file optionshandler.cc.
|
inline |
Wrapper for boost::lexical_cast with improved error messages
arg | variable to convert |
error | additional error text |
Definition at line 38 of file lexical_cast.h.
Eigen::VectorXd votca::tools::linalg_constrained_qrsolve | ( | const Eigen::MatrixXd & | A, |
const Eigen::VectorXd & | b, | ||
const Eigen::MatrixXd & | constr ) |
void votca::tools::moveVertexWithSmallestValueToEnds_ | ( | vector< Index > & | vertices | ) |
Given a chain of vertices where the end points are the same this method will rotate the chain so that the vertex with the smallest value is at the end points e.g.
3 - 4 - 5 - 9 - 2 - 8 - 3
The method will return the chain as
2 - 8 - 3 - 4 - 5 - 9 - 2
Notice that the order is preserved, because it is assumed that the chain makes a loop.
Definition at line 46 of file reducededge.cc.
ostream & votca::tools::operator<< | ( | std::ostream & | os, |
const Edge & | ed ) |
ostream & votca::tools::operator<< | ( | std::ostream & | os, |
const EdgeContainer | edgecontainer ) |
Definition at line 192 of file edgecontainer.cc.
ostream & votca::tools::operator<< | ( | std::ostream & | os, |
const Graph | graph ) |
ostream & votca::tools::operator<< | ( | std::ostream & | os, |
const GraphNode | gn ) |
Definition at line 182 of file graphnode.cc.
ostream & votca::tools::operator<< | ( | std::ostream & | os, |
const ReducedEdge & | edge ) |
Definition at line 183 of file reducededge.cc.
ostream & votca::tools::operator<< | ( | std::ostream & | os, |
const ReducedGraph | graph ) |
Definition at line 398 of file reducedgraph.cc.
|
inline |
Definition at line 53 of file correlate.h.
|
inline |
Definition at line 50 of file crosscorrelate.h.
std::ostream & votca::tools::operator<< | ( | std::ostream & | out, |
const DataCollection< double >::selection & | sel ) |
Definition at line 27 of file datacollection.cc.
std::ostream & votca::tools::operator<< | ( | std::ostream & | out, |
const Property & | p ) |
Definition at line 440 of file property.cc.
|
inline |
Definition at line 116 of file rangeparser.h.
std::ostream & votca::tools::operator<< | ( | std::ostream & | out, |
const Table & | t ) |
|
inline |
Definition at line 84 of file histogram.h.
|
inline |
Definition at line 176 of file histogramnew.h.
istream & votca::tools::operator>> | ( | std::istream & | in, |
Table & | t ) |
void votca::tools::orderChainAfterInitialVertex_ | ( | vector< Index > & | chain | ) |
This is a helper function used to help store the vertex chain in a reproducable order.
Ordering chains in a reproducable manner enable quicker comparison between chains.
E.g. Given a chain
End Point 1 v 1 - 4 - 3 - 5 - 6 - 2 - 1 ^ End Point 2
This function will ensure that it is reordered such that the next consecutive number in the chain after end point 2 is the lower number, in this case the two numbers that are compared are 4 and 2. The 2 is smaller so the chain is reordered.
1 - 2 - 6 - 5 - 3 - 4 - 1
[in,out] | chain | - vector of integers containing the chain |
Definition at line 195 of file reducedgraph.cc.
void votca::tools::PrintNodeHLP | ( | std::ostream & | out, |
const Property & | p, | ||
const Index | start_level = 0, | ||
Index | level = 0, | ||
const string & | prefix = "", | ||
const string & | offset = "" ) |
Definition at line 377 of file property.cc.
void votca::tools::PrintNodeTXT | ( | std::ostream & | out, |
const Property & | p, | ||
const Index | start_level, | ||
Index | level = 0, | ||
string | prefix = "", | ||
string | offset = "" ) |
Definition at line 276 of file property.cc.
void votca::tools::PrintNodeXML | ( | std::ostream & | out, |
const Property & | p, | ||
PropertyIOManipulator * | piom, | ||
Index | level = 0, | ||
string | offset = "" ) |
Definition at line 300 of file property.cc.
ReducedGraph votca::tools::reduceGraph | ( | Graph | graph | ) |
Will take a graph and reduce it, by removing all vertices with degree of 2.
The purpose of this algorithm is to introduce new functionality that reduces the complexity of a graph by removing any vertex that has a degree of 2. By exploring a reduced graph instead of a full graph insight can still be gained into the topology of the graph but with better performance. The edges of the reduced graph can be expanded if needed to determine how they correspond to the full graph. Take:
1 - 2 - 3 - 4 - 5 - 6 | | 7 - 8 - 9
This would be reduced to
1 - 2 - 4 - 6 | _ |
A total of 4 vertices with 4 edges as opposed to 9 vertices and 9 edges.
[in] | graph | - graph instance |
This class is to help keep track of which vertices have and have not been explored.
It is only used within the function and hence the encapsulation, it is not a public class and is not meant to be.
This class is to help keep track of which vertices have and have not been explored.
It is only used within the function and hence the encapsulation, it is not a public class and is not meant to be.
Definition at line 100 of file graphalgorithm.cc.
bool votca::tools::reorderAndStoreChainIfDoesNotExist_ | ( | vector< Edge > & | edges, |
unordered_map< Edge, vector< vector< Index > > > & | expanded_edges, | ||
vector< Index > | chain, | ||
Index | vertex, | ||
size_t & | chain_index ) |
Definition at line 212 of file reducedgraph.cc.
string votca::tools::sig_fig_ | ( | double | val, |
Index | sf ) |
Converts a double into a string with max number of significant figures indicated by sf
Definition at line 46 of file graphnode.cc.
bool votca::tools::singleNetwork | ( | Graph & | graph, |
GraphVisitor & | graph_visitor ) |
Determine if every vertex is connected to every other one through some combination of edges.
The purpose of this algorithm is to simply determine if the graph is one large network or not. If it is it means every vertex is connected to every other one by 1 or more series of edges.
[in] | graph | - Graph instance |
[in,out] | graph_visitor | - Graph visitor reference instance used to explore the graph |
Definition at line 42 of file graphalgorithm.cc.
|
static |
Definition at line 210 of file property.cc.
const std::string & votca::tools::ToolsVersionStr | ( | ) |
Definition at line 33 of file version.cc.
PropertyIOManipulator votca::tools::TXT | ( | PropertyIOManipulator::TXT | ) |
bool votca::tools::verticesShouldBeReversed_ | ( | vector< Index > & | vertices | ) |
This function will determine if it is necessary to reverse the order of a chain of vertices. E.g.
1 - 2 - 4 - 5
This chain will not need to be reversed because the end points have end point 1 smaller than 5
This chain will need to be reversed
4 - 1 - 8 - 2
Because 2 is smaller than 4
If the chain has the same end points the next two vertices will be compared
1 - 2 - 3 - 4 - 1 ^ ^ | |
The 2 is smaller than the 4 so there is no need to reverse the order.
4 - 9 - 8 - 6 - 4
In this case th 6 is smaller than the 9 so the order will be reversed.
Definition at line 86 of file reducededge.cc.
bool votca::tools::VotcaShareSet | ( | ) |
Definition at line 35 of file globals.cc.
int votca::tools::wildcmp | ( | const char * | wild, |
const char * | string ) |
Definition at line 28 of file tokenizer.cc.
int votca::tools::wildcmp | ( | const std::string & | wild, |
const std::string & | string ) |
Definition at line 24 of file tokenizer.cc.
PropertyIOManipulator votca::tools::XML | ( | PropertyIOManipulator::XML | ) |
|
static |
Definition at line 2 of file version.cc.
PropertyIOManipulator votca::tools::HLP(PropertyIOManipulator::HLP) |
PropertyIOManipulator votca::tools::TXT(PropertyIOManipulator::TXT) |
|
static |
Definition at line 29 of file version.cc.
PropertyIOManipulator votca::tools::XML(PropertyIOManipulator::XML) |