#include <tri.h>
Definition at line 141 of file tri.h.
edge::edge | ( | ) | [inline] |
edge::edge | ( | ) | [inline] |
Definition at line 23 of file edge.h.
References present, and unsetPending().
Definition at line 24 of file edge.h.
References C, myRef, nodes, present, objRef::set(), and unsetPending().
Definition at line 31 of file edge.h.
References elements, and unsetPending().
edge::edge | ( | const edge & | e | ) | [inline] |
Definition at line 34 of file edge.h.
References boundary, C, elements, fixNode, incidentNode, length, myRef, newEdgeRef, newNode, newNodeIdx, nodes, pending, present, and waitingFor.
Definition at line 1308 of file tri.C.
References elements, myRef, and objRef::sanityCheck().
void edge::init | ( | void | ) | [inline] |
Definition at line 159 of file tri.C.
References C, chunk::cid, objRef::init(), myRef, and theLock.
Definition at line 164 of file tri.C.
References C, chunk::cid, elements, objRef::init(), myRef, and theLock.
const edgeRef& edge::getRef | ( | void | ) | const [inline] |
Definition at line 51 of file edge.h.
References C, idx, myRef, present, objRef::set(), and unsetPending().
void edge::setBoundary | ( | int | b | ) | [inline] |
void edge::reset | ( | void | ) |
Definition at line 4 of file edge.C.
References C, fixNode, objRef::idx, incidentNode, newEdgeRef, newNode, newNodeIdx, nullRef, node::reset(), objRef::reset(), chunk::theEdges, unsetPending(), and waitingFor.
Definition at line 60 of file edge.h.
References boundary, C, elements, fixNode, incidentNode, myRef, newEdgeRef, newNode, newNodeIdx, nodes, pending, present, and waitingFor.
Definition at line 92 of file edge.h.
References elements.
Referenced by collapse(), and split().
void edge::setPending | ( | ) | [inline] |
Definition at line 97 of file edge.h.
References pending.
Referenced by collapse(), and split().
void edge::unsetPending | ( | ) | [inline] |
void edge::checkPending | ( | elemRef | e | ) |
Definition at line 18 of file edge.C.
References objRef::cid, elemRef::getArea(), objRef::idx, mesh, nullRef, pending, and waitingFor.
Definition at line 25 of file edge.C.
References objRef::cid, elemRef::getArea(), objRef::idx, mesh, nullRef, pending, and waitingFor.
int edge::split | ( | int * | m, | |
edgeRef * | e_prime, | |||
int | oIdx, | |||
int | fIdx, | |||
elemRef | requester, | |||
int * | local, | |||
int * | first, | |||
int * | nullNbr | |||
) |
Definition at line 34 of file edge.C.
References chunk::addEdge(), intMsg::anInt, boundary, C, objRef::cid, CkFreeMsg(), fixNode, elemRef::getArea(), IDXL_Side::getList(), getNot(), objRef::idx, incidentNode, mesh, chunk::meshPtr, myRef, newEdgeRef, newNode, newNodeIdx, FEM_Mesh::node, nodes, nullRef, pending, objRef::reset(), setPending(), FEM_Node::shared, chunk::theEdges, chunk::theNodes, waitingFor, node::X(), and node::Y().
void edge::collapse | ( | elemRef | requester, | |
int | kIdx, | |||
int | dIdx, | |||
elemRef | kNbr, | |||
elemRef | dNbr, | |||
edgeRef | kEdge, | |||
edgeRef | dEdge, | |||
node | newN, | |||
double | frac | |||
) |
Definition at line 185 of file edge.C.
References buildLockingCloud(), objRef::cid, fixNode, elemRef::getArea(), getNot(), objRef::idx, incidentNode, localCollapse(), mesh, myRef, newNode, pending, setPending(), translateSharedNodeIDs(), unlockCloudRemoveEdge(), updateCloud(), and waitingFor.
int edge::flipPrevent | ( | elemRef | requester, | |
int | kIdx, | |||
int | dIdx, | |||
elemRef | kNbr, | |||
elemRef | dNbr, | |||
edgeRef | kEdge, | |||
edgeRef | dEdge, | |||
node | newN | |||
) |
Definition at line 248 of file edge.C.
References boolMsg::aBool, intMsg::anInt, C, objRef::cid, CkFreeMsg(), std::distance(), existsOn(), fixNode, chunk::flipPrevent(), IDXL_Side::getRec(), objRef::idx, int, length, chunk::lockLocalChunk(), malloc(), mesh, chunk::meshPtr, myRef, newNode, FEM_Mesh::node, FEM_Node::shared, chunk::theNodes, and chunk::unlockLocalChunk().
int edge::existsOn | ( | FEM_Comm_Rec * | cl, | |
int | chunkID | |||
) | [inline] |
Definition at line 109 of file edge.h.
References count.
Referenced by flipPrevent(), element::split(), element::translateNodeIDs(), and updateCloud().
Definition at line 354 of file edge.C.
References C, objRef::cid, IDXL_Side::getList(), chunk::meshPtr, myRef, FEM_Mesh::node, and FEM_Node::shared.
Referenced by collapse().
void edge::unlockCloudRemoveEdge | ( | int | dIdxlShared, | |
int | kIdxlShared, | |||
FEM_Comm_Rec * | dNodeRec, | |||
FEM_Comm_Rec * | kNodeRec | |||
) |
Definition at line 367 of file edge.C.
References C, objRef::cid, objRef::idx, mesh, myRef, chunk::removeEdge(), and chunk::unlockLocalChunk().
Referenced by collapse().
void edge::localCollapse | ( | int | kIdx, | |
int | dIdx, | |||
elemRef * | req, | |||
node * | newNode, | |||
double | frac, | |||
elemRef * | keepNbr, | |||
elemRef * | delNbr, | |||
edgeRef * | kEdge, | |||
edgeRef * | dEdge, | |||
int | local, | |||
int | first | |||
) |
Definition at line 387 of file edge.C.
References PUP::b, C, objRef::cid, refineClient::collapse(), flag, edgeRef::getBoundary(), objRef::idx, mesh, edgeRef::remove(), chunk::theClient, edgeRef::update(), node::X(), and node::Y().
Referenced by collapse().
void edge::updateCloud | ( | int | kIdx, | |
int | dIdx, | |||
node | newNode, | |||
int * | dIdxl, | |||
int * | kIdxl, | |||
FEM_Comm_Rec ** | dNodeRec, | |||
FEM_Comm_Rec ** | kNodeRec | |||
) |
Definition at line 474 of file edge.C.
References C, objRef::cid, existsOn(), IDXL_Side::getRec(), int, malloc(), mesh, chunk::meshPtr, myRef, FEM_Mesh::node, chunk::nodeReplaceDelete(), and FEM_Node::shared.
Referenced by collapse().
Definition at line 419 of file edge.C.
References intMsg::anInt, C, objRef::cid, CkFreeMsg(), std::distance(), IDXL_Side::getRec(), objRef::idx, length, chunk::lockLocalChunk(), mesh, chunk::meshPtr, myRef, FEM_Mesh::node, FEM_Node::shared, chunk::theNodes, and chunk::unlockLocalChunk().
Referenced by collapse().
edgeRef edge::myRef [private] |
Definition at line 154 of file tri.h.
Referenced by buildLockingCloud(), collapse(), edge(), flipPrevent(), getRef(), init(), operator=(), sanityCheck(), set(), split(), translateSharedNodeIDs(), unlockCloudRemoveEdge(), and updateCloud().
Definition at line 155 of file tri.h.
Referenced by buildLockingCloud(), edge(), flipPrevent(), init(), localCollapse(), operator=(), reset(), set(), split(), translateSharedNodeIDs(), unlockCloudRemoveEdge(), and updateCloud().
int edge::theLock [private] |
Definition at line 159 of file tri.h.
Referenced by edge(), getElement(), getNbrRef(), getNot(), init(), operator=(), sanityCheck(), set(), update(), and updateElement().
Definition at line 11 of file edge.h.
Referenced by checkPending(), collapse(), edge(), isPending(), operator=(), setPending(), split(), and unsetPending().
double edge::length |
Definition at line 13 of file edge.h.
Referenced by checkPending(), collapse(), edge(), isPending(), operator=(), reset(), and split().
Definition at line 14 of file edge.h.
Referenced by collapse(), edge(), flipPrevent(), operator=(), reset(), and split().
Definition at line 15 of file edge.h.
Referenced by collapse(), edge(), operator=(), reset(), and split().
Definition at line 15 of file edge.h.
Referenced by collapse(), edge(), flipPrevent(), operator=(), reset(), and split().
Definition at line 16 of file edge.h.
Referenced by edge(), getBoundary(), operator=(), setBoundary(), and split().
int edge::nodes[2] |
Definition at line 21 of file edge.h.
Referenced by edge(), operator=(), sanityCheck(), setNodes(), split(), and updateNode().