neic-glass3  1.4.6
Namespaces | Macros | Typedefs
Link.h File Reference
#include <tuple>
#include <memory>
Include dependency graph for Link.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 glasscore
 The namespace containing the core algorithm.
 

Macros

#define LINK_PTR   0
 
#define LINK_TT1   1
 
#define LINK_PHS1   2
 
#define LINK_TT2   3
 
#define LINK_PHS2   4
 
#define LINK_DIST   5
 

Typedefs

typedef std::tuple< std::weak_ptr< CNode >, double, std::string, double, std::string, double > glasscore::NodeLink
 Typedef to simplify use of a site-node link. Contains a CNode pointer to the Node that it's linked to, and then 3 doubles: Nucleation Traveltime 1 (sec), Nucleation Traveltime 2 (sec), and Distance (between Node and Site) in Deg. Uses weak_ptr to prevent a cyclical reference. More...
 
typedef std::tuple< std::shared_ptr< CSite >, double, std::string, double, std::string, double > glasscore::SiteLink
 Typedef to simplify use of a node-site link. Contains a CSite pointer to the Site that it's linked to, and then 3 doubles: Nucleation Traveltime 1 (sec), Nucleation Traveltime 2 (sec), and Distance (between Node and Site) in Deg. More...
 

Macro Definition Documentation

#define LINK_DIST   5
#define LINK_PHS1   2
#define LINK_PHS2   4
#define LINK_PTR   0
#define LINK_TT1   1
#define LINK_TT2   3