#include <tri.h>
Public Member Functions | |
edgeRef () | |
edgeRef (int c, int i) | |
void | updateElement (chunk *C, elemRef oldval, elemRef newval) |
int | lock (chunk *C) |
void | unlock (chunk *C) |
int | locked (chunk *C) const |
edgeRef () | |
edgeRef (int chunkId, int objIdx) | |
void | update (elemRef &oldval, elemRef &newval, int b) |
elemRef | getNbr (elemRef m) |
void | remove () |
int | split (int *m, edgeRef *e_prime, int oIdx, int fIdx, elemRef requester, int *local, int *first, int *nullNbr) |
void | collapse (elemRef requester, int kIdx, int dIdx, elemRef kNbr, elemRef dNbr, edgeRef kEdge, edgeRef dEdge, node newN, double frac) |
int | flipPrevent (elemRef requester, int kIdx, int dIdx, elemRef kNbr, elemRef dNbr, edgeRef kEdge, edgeRef dEdge, node newN) |
void | resetEdge () |
int | isPending (elemRef e) |
int | getBoundary () |
void | checkPending (elemRef e) |
void | checkPending (elemRef e, elemRef ne) |
Definition at line 41 of file tri.h.
Definition at line 19 of file tri.C.
References chunk::cid, objRef::cid, objRef::idx, mesh, and chunk::theEdges.
Referenced by element::splitBorderLocal(), element::splitHelp(), element::splitNeighborsLocal(), and element::splitResponse().
Definition at line 27 of file tri.C.
References intMsg::anInt, chunk::cid, objRef::cid, CkFreeMsg(), objRef::idx, mesh, and chunk::theEdges.
Referenced by element::splitResponse().
void edgeRef::unlock | ( | chunk * | C | ) |
Definition at line 48 of file tri.C.
References chunk::cid, objRef::cid, objRef::idx, mesh, and chunk::theEdges.
Referenced by element::splitBorder(), element::splitHelp(), element::splitNeighbors(), and element::splitResponse().
Definition at line 56 of file tri.C.
References intMsg::anInt, chunk::cid, objRef::cid, CkFreeMsg(), objRef::idx, mesh, and chunk::theEdges.
Definition at line 9 of file ref.C.
References objRef::cid, objRef::idx, and mesh.
Referenced by edge::localCollapse(), and element::split().
Definition at line 14 of file ref.C.
References refMsg::aRef, objRef::cid, CkFreeMsg(), objRef::idx, and mesh.
Referenced by element::collapse(), and element::getElement().
void edgeRef::remove | ( | ) |
Definition at line 23 of file ref.C.
References objRef::cid, objRef::idx, and mesh.
Referenced by edge::localCollapse().
int edgeRef::split | ( | int * | m, | |
edgeRef * | e_prime, | |||
int | oIdx, | |||
int | fIdx, | |||
elemRef | requester, | |||
int * | local, | |||
int * | first, | |||
int * | nullNbr | |||
) |
Definition at line 28 of file ref.C.
References objRef::cid, CkFreeMsg(), splitOutMsg::e, splitOutMsg::first, objRef::idx, splitOutMsg::local, mesh, splitOutMsg::n, splitOutMsg::nullNbr, and splitOutMsg::result.
void edgeRef::collapse | ( | elemRef | requester, | |
int | kIdx, | |||
int | dIdx, | |||
elemRef | kNbr, | |||
elemRef | dNbr, | |||
edgeRef | kEdge, | |||
edgeRef | dEdge, | |||
node | newN, | |||
double | frac | |||
) |
Definition at line 45 of file ref.C.
References objRef::cid, objRef::idx, and mesh.
Referenced by element::collapse().
int edgeRef::flipPrevent | ( | elemRef | requester, | |
int | kIdx, | |||
int | dIdx, | |||
elemRef | kNbr, | |||
elemRef | dNbr, | |||
edgeRef | kEdge, | |||
edgeRef | dEdge, | |||
node | newN | |||
) |
Definition at line 53 of file ref.C.
References objRef::cid, CkFreeMsg(), objRef::idx, mesh, and splitOutMsg::result.
void edgeRef::resetEdge | ( | ) |
Definition at line 85 of file ref.C.
References objRef::cid, objRef::idx, and mesh.
Referenced by element::split().
Definition at line 65 of file ref.C.
References intMsg::anInt, objRef::cid, CkFreeMsg(), objRef::idx, and mesh.
int edgeRef::getBoundary | ( | ) |
Definition at line 75 of file ref.C.
References intMsg::anInt, objRef::cid, CkFreeMsg(), objRef::idx, and mesh.
Referenced by edge::localCollapse(), and element::split().
void edgeRef::checkPending | ( | elemRef | e | ) |
Definition at line 90 of file ref.C.
References objRef::cid, objRef::idx, and mesh.
Referenced by element::split().