ug4
grid_object_id.h File Reference
#include <algorithm>
#include <ostream>
#include "lib_grid/grid/grid_base_objects.h"
#include "common/util/hash_function.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Typedefs

typedef Attachment< GeomObjID > ug::AGeomObjID
 An attachment which can store GeomObjIDs. More...
 
typedef std::pair< int, size_t > ug::GeomObjID
 The global id can be used to uniquely identify distributed objects. More...
 

Functions

template<>
size_t ug::hash_key< GeomObjID > (const GeomObjID &key)
 generates a hash key for a GeomObjID. More...
 
GeomObjID ug::MakeGeomObjID (int procRank, size_t localGeomObjID)
 Can be used to construct a GeomObjID from a proc-rank and a local id. More...
 
UG_API bool ug::operator< (const GeomObjID &gid1, const GeomObjID &gid2)
 
UG_API std::ostream & ug::operator<< (std::ostream &out, const GeomObjID &goId)
 

Variables

AGeomObjID ug::aGeomObjID
 This attachment instance should be used to store global ids. More...