26 using std::stringstream;
71 point* t = a; a = b; b = t;
77 if (currentThread->in_transaction()) {
78 currentThread->vout << ss.str();
89 if (
points[0] == p)
return 0;
90 if (
points[1] == p)
return 1;
108 edge** surrounding_edges);
116 void synchronized_reconsider(
const int seam,
TRANSACTION_SAFE edge(point *a, point *b, edge *ea, edge *eb, int dir)
Definition: edge.cpp:25
#define TRANSACTION_SAFE
Definition: common.hpp:87
TRANSACTION_SAFE bool reconsider(const int seam, bool txnal, edge **surrounding_edges)
Definition: edge.cpp:65
~edge()
Definition: edge.hpp:141
int coord[2]
Definition: point.hpp:43
d_lock io_lock
Definition: mesh.cpp:33
edge * first_edge
Definition: point.hpp:44
TRANSACTION_SAFE void initialize_end(point *p, edge *e, int end, int dir)
Definition: edge.hpp:41
bool deleted
Definition: edge.hpp:61
static const int ydim
Definition: point.hpp:21
edge * neighbors[2][2]
Definition: edge.hpp:59
#define TRANSACTION_PURE
Definition: common.hpp:88
TRANSACTION_SAFE int index_of(const point *p)
Definition: edge.hpp:88
point * points[2]
Definition: edge.hpp:58
TRANSACTION_SAFE void destroy()
Definition: edge.cpp:39
static const int xdim
Definition: point.hpp:20
TRANSACTION_PURE void print(const char *prefix="") const
Definition: edge.hpp:67