votca  1.5-dev
Namespaces | Classes | Typedefs | Functions | Variables
votca::tools Namespace Reference

Namespaces

 Colors
 stores color codes for colorful help output
 
 conv
 

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 correlkations and autocorrelations More...
 
class  csDefault
 
class  csRGB
 
class  CubicSpline
 A cubic spline class. More...
 
class  Database
 SQLite Database wrapper. 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  Elements
 information about an element More...
 
struct  globals
 class to store global variables More...
 
class  Graph
 
class  Graph_BF_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  matrix
 Position & Velocity Matrix. More...
 
class  Mutex
 Convenient class for Mutexes. More...
 
class  Name
 Name object. More...
 
class  ObjectFactory
 template class for object factory More...
 
class  ObjectFactoryRegister
 
class  ParseXML
 XML SAX parser (wrapper for expat) More...
 
class  Property
 class to manage program options with xml serialization functionality More...
 
class  PropertyIOManipulator
 Manipulates the format state of the output stream. More...
 
class  Random2
 MARSAGLIA pseudo random number generator. More...
 
class  RangeParser
 RangeParser. More...
 
class  Spline
 Spline Class. More...
 
class  Statement
 Wrapper for sqlite prepared statements. 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  TypeConverter
 Provides a means to reduce cross dependency of header files. More...
 
class  vec
 Vector class for a 3 component vector. More...
 

Typedefs

typedef unsigned char byte_t
 
typedef unsigned short word_t
 
typedef unsigned long dword_t
 

Functions

ostream & operator<< (ostream &out, Correlate &c)
 
ostream & operator<< (ostream &out, CrossCorrelate &c)
 
ostream & operator<< (ostream &out, DataCollection< double >::selection &sel)
 
const Edge DUMMY_EDGE (std::numeric_limits< int >::max(), std::numeric_limits< int >::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. More...
 
bool cmpVertNodePair (std::pair< int, GraphNode > gn1_pr, std::pair< int, GraphNode > gn2_pr)
 Compare function pair<int,GraphNode> object. More...
 
bool singleNetwork (Graph g, GraphVisitor &gv)
 Determine if every vertex is connected to every other one through some combination of edges. More...
 
std::vector< std::shared_ptr< Graph > > decoupleIsolatedSubGraphs (Graph g)
 Break graph into smaller graph instances if the network is made up of isolated sub networks. More...
 
void exploreGraph (Graph &g, GraphVisitor &gv)
 Explore a graph with a graph visitor. More...
 
template<typename GV >
std::string findStructureId (Graph &g)
 Find a unique identifier that describes graph structure. More...
 
bool cmpNode (GraphNode gn1, GraphNode gn2)
 Comparison function to be used with stl sort algorithm. More...
 
ostream & operator<< (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)
 
void linalg_constrained_qrsolve (Eigen::VectorXd &x, Eigen::MatrixXd &A, const Eigen::VectorXd &b, const Eigen::MatrixXd &constr)
 solves A*x=b under the constraint B*x = 0 More...
 
bool linalg_eigenvalues (Eigen::MatrixXd &A, Eigen::VectorXd &E, Eigen::MatrixXd &V, int nmax)
 solves A*V=E*V for the first n eigenvalues More...
 
bool linalg_eigenvalues (Eigen::MatrixXf &A, Eigen::VectorXf &E, Eigen::MatrixXf &V, int nmax)
 
std::ostream & operator<< (std::ostream &out, matrix &m)
 
matrix operator| (const vec &a, const vec &b)
 
matrix operator* (const matrix &r, const double &d)
 
matrix operator* (const double &d, const matrix &m)
 
vec operator* (const matrix &r, const vec &a)
 
matrix operator/ (const matrix &r, const double &d)
 
matrix operator+ (const matrix &r, const matrix &v)
 
matrix operator- (const matrix &r, const matrix &v)
 
int cjcbi (matrix &a, matrix &v, double eps=1e-10, int jt=100)
 
template<class parent , class T >
parent * create_policy_new ()
 
bool load_property_from_xml (Property &p, std::string file)
 
template<>
std::string Property::as< std::string > () const
 
template<>
Eigen::VectorXd Property::as< Eigen::VectorXd > () const
 
template<>
Eigen::Vector3d Property::as< Eigen::Vector3d > () const
 
template<>
std::vector< unsigned int > Property::as< std::vector< unsigned int > > () const
 
template<>
std::vector< int > Property::as< std::vector< int > > () const
 
template<>
std::vector< double > Property::as< std::vector< double > > () const
 
void throwRuntimeError (std::string message)
 
std::ostream & operator<< (std::ostream &out, const RangeParser &rp)
 
std::ostream & operator<< (std::ostream &out, const Table &t)
 
int wildcmp (const char *wild, const char *string)
 
bool operator== (const vec &v1, const vec &v2)
 
bool operator!= (const vec &v1, const vec &v2)
 
vec operator+ (const vec &v1, const vec &v2)
 
vec operator- (const vec &v1, const vec &v2)
 
vec operator- (const vec &v1)
 
vec operator* (const vec &v1, const double &d)
 
vec operator* (const double &d, const vec &v1)
 
vec operator/ (const vec &v1, const double &d)
 
std::ostream & operator<< (std::ostream &out, const vec &v)
 
std::istream & operator>> (std::istream &in, vec &v)
 
double operator* (const vec &v1, const vec &v2)
 dot product More...
 
vec operator^ (const vec &v1, const vec &v2)
 cross product More...
 
vec elementwiseproduct (const vec &v1, const vec &v2)
 elementwise product More...
 
vec elementwisedivison (const vec &v1, const vec &v2)
 elementwise division More...
 
double abs (const vec &v)
 
double maxnorm (const vec &v)
 
const std::string & ToolsVersionStr ()
 
ostream & operator<< (ostream &os, const Edge ed)
 
ostream & operator<< (ostream &os, const Graph g)
 
bool cmpVertNodePair (pair< int, GraphNode > gn1_pr, pair< int, GraphNode > gn2_pr)
 Compare function pair<int,GraphNode> object. More...
 
list< int > vectorToList_ (vector< int > values)
 
vector< EdgeedgeSetToVector_ (set< Edge > edges)
 
string sig_fig_ (double val, int sf)
 
string getIntStringId_ (const unordered_map< string, int > int_vals)
 
string getDoubleStringId_ (const unordered_map< string, double > double_vals)
 
string getStrStringId_ (const unordered_map< string, string > str_vals)
 
ostream & operator<< (ostream &os, const GraphNode gn)
 
void parce_string (string line, string delims, vector< string > *result)
 
void start_hndl (void *data, const char *el, const char **attr)
 
void end_hndl (void *data, const char *el)
 
void char_hndl (void *data, const char *txt, int txtlen)
 
bool load_property_from_xml (Property &p, string filename)
 
void PrintNodeTXT (std::ostream &out, Property &p, const int start_level, int level=0, string prefix="", string offset="")
 
void PrintNodeXML (std::ostream &out, Property &p, PropertyIOManipulator *piom, int level=0, string offset="")
 
void PrintNodeTEX (std::ostream &out, Property &p, PropertyIOManipulator *piom, int level=0, string prefix="")
 
void PrintNodeHLP (std::ostream &out, Property &p, const int start_level=0, int level=0, string prefix="", string offset="")
 
std::ostream & operator<< (std::ostream &out, Property &p)
 
PropertyIOManipulator XML (PropertyIOManipulator::XML)
 
PropertyIOManipulator TXT (PropertyIOManipulator::TXT)
 
PropertyIOManipulator TEX (PropertyIOManipulator::TEX)
 
PropertyIOManipulator HLP (PropertyIOManipulator::HLP)
 
istream & operator>> (istream &in, Table &t)
 
void * runwrapper (void *arg)
 

Variables

Color< csDefaultDEFAULT_COLORS
 
PropertyIOManipulator XML
 
PropertyIOManipulator TXT
 
PropertyIOManipulator TEX
 
PropertyIOManipulator HLP
 
static const std::string version_str = std::string(TOOLS_VERSION) + " " + gitversion + " (compiled " __DATE__ ", " __TIME__ ")"
 
static const std::string version_str = "VERSION NOT SET (compiled " __DATE__ ", " __TIME__ ")"
 

Typedef Documentation

◆ byte_t

typedef unsigned char votca::tools::byte_t

Definition at line 23 of file types.h.

◆ dword_t

typedef unsigned long votca::tools::dword_t

Definition at line 25 of file types.h.

◆ word_t

typedef unsigned short votca::tools::word_t

Definition at line 24 of file types.h.

Function Documentation

◆ abs()

double votca::tools::abs ( const vec v)
inline

Definition at line 349 of file vec.h.

◆ char_hndl()

void votca::tools::char_hndl ( void *  data,
const char *  txt,
int  txtlen 
)

Definition at line 117 of file property.cc.

◆ cjcbi()

int votca::tools::cjcbi ( matrix a,
matrix v,
double  eps = 1e-10,
int  jt = 100 
)

Definition at line 69 of file matrix.cc.

◆ cmpNode()

bool votca::tools::cmpNode ( GraphNode  gn1,
GraphNode  gn2 
)

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 192 of file graphnode.cc.

◆ cmpVertNodePair() [1/2]

bool votca::tools::cmpVertNodePair ( std::pair< int, GraphNode gn1_pr,
std::pair< int, GraphNode gn2_pr 
)

Compare function pair<int,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<int,GraphNode> pr_grn1{ 1, gn }; pair<int,GraphNode> pr_grn2{ 2, gn2 };

vector<pair<int,GraphNode> > vec_pr_gn = { pr_grn1, pr_grn2 , ... etc };

sort(vec_pr_gn.begin(),vec_pr_gn.end(),cmpVertNodePair);

Definition at line 143 of file graph.cc.

◆ cmpVertNodePair() [2/2]

bool votca::tools::cmpVertNodePair ( std::pair< int, GraphNode gn1_pr,
std::pair< int, GraphNode gn2_pr 
)

Compare function pair<int,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<int,GraphNode> pr_grn1{ 1, gn }; pair<int,GraphNode> pr_grn2{ 2, gn2 };

vector<pair<int,GraphNode> > vec_pr_gn = { pr_grn1, pr_grn2 , ... etc };

sort(vec_pr_gn.begin(),vec_pr_gn.end(),cmpVertNodePair);

Definition at line 143 of file graph.cc.

◆ create_policy_new()

template<class parent , class T >
parent* votca::tools::create_policy_new ( )

Definition at line 84 of file objectfactory.h.

◆ decoupleIsolatedSubGraphs()

vector< shared_ptr< Graph > > votca::tools::decoupleIsolatedSubGraphs ( Graph  g)

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.

Parameters
[in]-Graph instance
Returns
- vector containing shared pointers to all the sub graphs if there are no subgraphs than the input graph is returned.

Definition at line 57 of file graphalgorithm.cc.

◆ DUMMY_EDGE()

const Edge votca::tools::DUMMY_EDGE ( std::numeric_limits< int >  ::max(),
std::numeric_limits< int >  ::max() 
)

◆ edgeSetToVector_()

vector<Edge> votca::tools::edgeSetToVector_ ( set< Edge edges)

Definition at line 41 of file graphalgorithm.cc.

◆ elementwisedivison()

vec votca::tools::elementwisedivison ( const vec v1,
const vec v2 
)
inline

elementwise division

Definition at line 341 of file vec.h.

◆ elementwiseproduct()

vec votca::tools::elementwiseproduct ( const vec v1,
const vec v2 
)
inline

elementwise product

Definition at line 331 of file vec.h.

◆ end_hndl()

static void votca::tools::end_hndl ( void *  data,
const char *  el 
)

Definition at line 40 of file parsexml.cc.

◆ exploreGraph()

void votca::tools::exploreGraph ( Graph g,
GraphVisitor gv 
)

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.

Parameters
[in,out]-Graph reference instance
[in,out]-graph visitor

Definition at line 105 of file graphalgorithm.cc.

◆ findStructureId()

template<typename GV >
std::string votca::tools::findStructureId ( Graph g)

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.

Parameters
[in,out]-Graph reference instance
Returns
- string identifier

Definition at line 94 of file graphalgorithm.h.

◆ getDoubleStringId_()

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 67 of file graphnode.cc.

◆ getIntStringId_()

string votca::tools::getIntStringId_ ( const unordered_map< string, int >  int_vals)

Turns the map of ints into a string that is sorted alphabetically by the keys

Definition at line 51 of file graphnode.cc.

◆ getline()

std::istream& votca::tools::getline ( std::istream &  is,
std::string &  str 
)
inline

Wrapper for a getline function.

Removes Windows end-of-line character

Definition at line 33 of file getline.h.

◆ getStrStringId_()

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 83 of file graphnode.cc.

◆ HLP()

PropertyIOManipulator votca::tools::HLP ( PropertyIOManipulator::HLP  )

◆ isApproximatelyEqual()

template<typename T >
static bool votca::tools::isApproximatelyEqual ( a,
b,
tolerance 
)
static

Definition at line 40 of file floatingpointcomparison.h.

◆ lexical_cast()

template<typename Target , typename Source >
Target votca::tools::lexical_cast ( const Source &  arg,
const std::string &  error 
)
inline

Wrapper for boost::lexical_cast with improved error messages

Parameters
argvariable to convert
erroradditional error text
Returns
converted value

Definition at line 35 of file lexical_cast.h.

◆ linalg_constrained_qrsolve()

void votca::tools::linalg_constrained_qrsolve ( Eigen::VectorXd &  x,
Eigen::MatrixXd &  A,
const Eigen::VectorXd &  b,
const Eigen::MatrixXd &  constr 
)

solves A*x=b under the constraint B*x = 0

Parameters
xstorage for x
Amatrix for linear equation system
binhomogenity
constrconstrained condition

This function implements the qrsolver under constraints

Definition at line 23 of file linalg.cc.

◆ linalg_eigenvalues() [1/2]

bool votca::tools::linalg_eigenvalues ( Eigen::MatrixXd &  A,
Eigen::VectorXd &  E,
Eigen::MatrixXd &  V,
int  nmax 
)

solves A*V=E*V for the first n eigenvalues

Parameters
Asymmetric matrix to diagonalize, is destroyed during iteration
E,eigenvalues
V,eigenvectors,eachcolumn is one eigenvector
nmaxnumber of eigenvalues to return

This function is only useful if MKL is used, wraps LAPACKE_ssyevx/LAPACKE_dsyevx

Definition at line 62 of file linalg.cc.

◆ linalg_eigenvalues() [2/2]

bool votca::tools::linalg_eigenvalues ( Eigen::MatrixXf &  A,
Eigen::VectorXf &  E,
Eigen::MatrixXf &  V,
int  nmax 
)

Definition at line 111 of file linalg.cc.

◆ load_property_from_xml() [1/2]

bool votca::tools::load_property_from_xml ( Property p,
string  filename 
)

Definition at line 125 of file property.cc.

◆ load_property_from_xml() [2/2]

bool votca::tools::load_property_from_xml ( Property p,
std::string  file 
)

◆ maxnorm()

double votca::tools::maxnorm ( const vec v)
inline

Definition at line 354 of file vec.h.

◆ operator!=()

bool votca::tools::operator!= ( const vec v1,
const vec v2 
)
inline

Definition at line 216 of file vec.h.

◆ operator*() [1/6]

vec votca::tools::operator* ( const vec v1,
const double &  d 
)
inline

Definition at line 265 of file vec.h.

◆ operator*() [2/6]

vec votca::tools::operator* ( const double &  d,
const vec v1 
)
inline

Definition at line 270 of file vec.h.

◆ operator*() [3/6]

double votca::tools::operator* ( const vec v1,
const vec v2 
)
inline

dot product

Definition at line 316 of file vec.h.

◆ operator*() [4/6]

matrix votca::tools::operator* ( const matrix r,
const double &  d 
)
inline

Definition at line 327 of file matrix.h.

◆ operator*() [5/6]

matrix votca::tools::operator* ( const double &  d,
const matrix m 
)
inline

Definition at line 331 of file matrix.h.

◆ operator*() [6/6]

vec votca::tools::operator* ( const matrix r,
const vec a 
)
inline

Definition at line 337 of file matrix.h.

◆ operator+() [1/2]

vec votca::tools::operator+ ( const vec v1,
const vec v2 
)
inline

Definition at line 251 of file vec.h.

◆ operator+() [2/2]

matrix votca::tools::operator+ ( const matrix r,
const matrix v 
)
inline

Definition at line 342 of file matrix.h.

◆ operator-() [1/3]

vec votca::tools::operator- ( const vec v1,
const vec v2 
)
inline

Definition at line 256 of file vec.h.

◆ operator-() [2/3]

vec votca::tools::operator- ( const vec v1)
inline

Definition at line 261 of file vec.h.

◆ operator-() [3/3]

matrix votca::tools::operator- ( const matrix r,
const matrix v 
)
inline

Definition at line 345 of file matrix.h.

◆ operator/() [1/2]

vec votca::tools::operator/ ( const vec v1,
const double &  d 
)
inline

Definition at line 275 of file vec.h.

◆ operator/() [2/2]

matrix votca::tools::operator/ ( const matrix r,
const double &  d 
)
inline

Definition at line 339 of file matrix.h.

◆ operator<<() [1/13]

ostream& votca::tools::operator<< ( ostream &  out,
Correlate c 
)
inline

Definition at line 53 of file correlate.h.

◆ operator<<() [2/13]

ostream& votca::tools::operator<< ( ostream &  os,
const Edge  ed 
)

Definition at line 75 of file edge.cc.

◆ operator<<() [3/13]

ostream& votca::tools::operator<< ( ostream &  out,
CrossCorrelate c 
)
inline

Definition at line 76 of file crosscorrelate.h.

◆ operator<<() [4/13]

ostream& votca::tools::operator<< ( ostream &  out,
Histogram h 
)
inline

Definition at line 93 of file histogram.h.

◆ operator<<() [5/13]

std::ostream& votca::tools::operator<< ( std::ostream &  out,
const RangeParser rp 
)
inline

Definition at line 126 of file rangeparser.h.

◆ operator<<() [6/13]

ostream& votca::tools::operator<< ( ostream &  os,
const Graph  g 
)

Definition at line 134 of file graph.cc.

◆ operator<<() [7/13]

std::ostream& votca::tools::operator<< ( std::ostream &  out,
const Table t 
)
inline

Definition at line 150 of file table.h.

◆ operator<<() [8/13]

ostream& votca::tools::operator<< ( ostream &  os,
const GraphNode  gn 
)

Definition at line 176 of file graphnode.cc.

◆ operator<<() [9/13]

ostream & votca::tools::operator<< ( ostream &  out,
DataCollection< double >::selection &  sel 
)

Definition at line 23 of file datacollection.cc.

◆ operator<<() [10/13]

std::ostream& votca::tools::operator<< ( std::ostream &  out,
HistogramNew h 
)
inline

Definition at line 187 of file histogramnew.h.

◆ operator<<() [11/13]

std::ostream& votca::tools::operator<< ( std::ostream &  out,
const vec v 
)
inline

Definition at line 280 of file vec.h.

◆ operator<<() [12/13]

std::ostream& votca::tools::operator<< ( std::ostream &  out,
matrix m 
)
inline

Definition at line 306 of file matrix.h.

◆ operator<<() [13/13]

std::ostream& votca::tools::operator<< ( std::ostream &  out,
Property p 
)

Definition at line 390 of file property.cc.

◆ operator==()

bool votca::tools::operator== ( const vec v1,
const vec v2 
)
inline

Definition at line 211 of file vec.h.

◆ operator>>() [1/2]

istream& votca::tools::operator>> ( istream &  in,
Table t 
)

Definition at line 93 of file table.cc.

◆ operator>>() [2/2]

std::istream& votca::tools::operator>> ( std::istream &  in,
vec v 
)
inline

Definition at line 286 of file vec.h.

◆ operator^()

vec votca::tools::operator^ ( const vec v1,
const vec v2 
)
inline

cross product

Definition at line 322 of file vec.h.

◆ operator|()

matrix votca::tools::operator| ( const vec a,
const vec b 
)
inline

Definition at line 313 of file matrix.h.

◆ parce_string()

void votca::tools::parce_string ( string  line,
string  delims,
vector< string > *  result 
)

Definition at line 27 of file parcer.cc.

◆ PrintNodeHLP()

void votca::tools::PrintNodeHLP ( std::ostream &  out,
Property p,
const int  start_level = 0,
int  level = 0,
string  prefix = "",
string  offset = "" 
)

Definition at line 326 of file property.cc.

◆ PrintNodeTEX()

void votca::tools::PrintNodeTEX ( std::ostream &  out,
Property p,
PropertyIOManipulator piom,
int  level = 0,
string  prefix = "" 
)

Definition at line 251 of file property.cc.

◆ PrintNodeTXT()

void votca::tools::PrintNodeTXT ( std::ostream &  out,
Property p,
const int  start_level,
int  level = 0,
string  prefix = "",
string  offset = "" 
)

Definition at line 158 of file property.cc.

◆ PrintNodeXML()

void votca::tools::PrintNodeXML ( std::ostream &  out,
Property p,
PropertyIOManipulator piom,
int  level = 0,
string  offset = "" 
)

Definition at line 183 of file property.cc.

◆ Property::as< Eigen::Vector3d >()

template<>
Eigen::Vector3d votca::tools::Property::as< Eigen::Vector3d > ( ) const
inline

Definition at line 329 of file property.h.

◆ Property::as< Eigen::VectorXd >()

template<>
Eigen::VectorXd votca::tools::Property::as< Eigen::VectorXd > ( ) const
inline

Definition at line 316 of file property.h.

◆ Property::as< std::string >()

template<>
std::string votca::tools::Property::as< std::string > ( ) const
inline

Definition at line 298 of file property.h.

◆ Property::as< std::vector< double > >()

template<>
std::vector<double> votca::tools::Property::as< std::vector< double > > ( ) const
inline

Definition at line 358 of file property.h.

◆ Property::as< std::vector< int > >()

template<>
std::vector<int> votca::tools::Property::as< std::vector< int > > ( ) const
inline

Definition at line 350 of file property.h.

◆ Property::as< std::vector< unsigned int > >()

template<>
std::vector<unsigned int> votca::tools::Property::as< std::vector< unsigned int > > ( ) const
inline

Definition at line 342 of file property.h.

◆ runwrapper()

void* votca::tools::runwrapper ( void *  arg)

Definition at line 27 of file thread.cc.

◆ sig_fig_()

string votca::tools::sig_fig_ ( double  val,
int  sf 
)

Converts a double into a string with max number of significant figures indicated by sf

Definition at line 41 of file graphnode.cc.

◆ singleNetwork()

bool votca::tools::singleNetwork ( Graph  g,
GraphVisitor gv 
)

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.

Parameters
[in]-Graph instance
[in,out]-Graph visitor reference instance used to explore the graph
Returns
- Boolean value (true - if single network)

Definition at line 51 of file graphalgorithm.cc.

◆ start_hndl()

static void votca::tools::start_hndl ( void *  data,
const char *  el,
const char **  attr 
)

Definition at line 28 of file parsexml.cc.

◆ TEX()

PropertyIOManipulator votca::tools::TEX ( PropertyIOManipulator::TEX  )

◆ throwRuntimeError()

void votca::tools::throwRuntimeError ( std::string  message)
inline

Definition at line 401 of file property.h.

◆ ToolsVersionStr()

const std::string & votca::tools::ToolsVersionStr ( )

Definition at line 33 of file version.cc.

◆ TXT()

PropertyIOManipulator votca::tools::TXT ( PropertyIOManipulator::TXT  )

◆ vectorToList_()

list<int> votca::tools::vectorToList_ ( vector< int >  values)

Definition at line 35 of file graphalgorithm.cc.

◆ wildcmp()

int votca::tools::wildcmp ( const char *  wild,
const char *  string 
)

Definition at line 22 of file tokenizer.cc.

◆ XML()

PropertyIOManipulator votca::tools::XML ( PropertyIOManipulator::XML  )

Variable Documentation

◆ DEFAULT_COLORS

Color< csDefault > votca::tools::DEFAULT_COLORS

Definition at line 22 of file colors.cc.

◆ HLP

PropertyIOManipulator votca::tools::HLP(PropertyIOManipulator::HLP)

◆ TEX

PropertyIOManipulator votca::tools::TEX(PropertyIOManipulator::TEX)

◆ TXT

PropertyIOManipulator votca::tools::TXT(PropertyIOManipulator::TXT)

◆ version_str [1/2]

const std::string votca::tools::version_str = "VERSION NOT SET (compiled " __DATE__ ", " __TIME__ ")"
static

Definition at line 23 of file version_nb.cc.

◆ version_str [2/2]

const std::string votca::tools::version_str = std::string(TOOLS_VERSION) + " " + gitversion + " (compiled " __DATE__ ", " __TIME__ ")"
static

Definition at line 31 of file version.cc.

◆ XML

PropertyIOManipulator votca::tools::XML(PropertyIOManipulator::XML)