PPL Logo

edgeRef Class Reference

#include <tri.h>

Inheritance diagram for edgeRef:

Inheritance graph
[legend]
Collaboration diagram for edgeRef:

Collaboration graph
[legend]

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)

Detailed Description

Definition at line 41 of file tri.h.


Constructor & Destructor Documentation

edgeRef::edgeRef (  )  [inline]

Definition at line 43 of file tri.h.

edgeRef::edgeRef ( int  c,
int  i 
) [inline]

Definition at line 44 of file tri.h.

edgeRef::edgeRef (  )  [inline]

Definition at line 37 of file ref.h.

edgeRef::edgeRef ( int  chunkId,
int  objIdx 
) [inline]

Definition at line 38 of file ref.h.

References objRef::cid, and objRef::idx.


Member Function Documentation

void edgeRef::updateElement ( chunk C,
elemRef  oldval,
elemRef  newval 
)

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().

Here is the caller graph for this function:

int edgeRef::lock ( chunk C  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

int edgeRef::locked ( chunk C  )  const

Definition at line 56 of file tri.C.

References intMsg::anInt, chunk::cid, objRef::cid, CkFreeMsg(), objRef::idx, mesh, and chunk::theEdges.

Here is the call graph for this function:

void edgeRef::update ( elemRef oldval,
elemRef newval,
int  b 
)

Definition at line 9 of file ref.C.

References objRef::cid, objRef::idx, and mesh.

Referenced by edge::localCollapse(), and element::split().

Here is the caller graph for this function:

elemRef edgeRef::getNbr ( elemRef  m  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void edgeRef::remove (  ) 

Definition at line 23 of file ref.C.

References objRef::cid, objRef::idx, and mesh.

Referenced by edge::localCollapse().

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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().

Here is the caller graph for this function:

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.

Here is the call graph for this function:

void edgeRef::resetEdge (  ) 

Definition at line 85 of file ref.C.

References objRef::cid, objRef::idx, and mesh.

Referenced by element::split().

Here is the caller graph for this function:

int edgeRef::isPending ( elemRef  e  ) 

Definition at line 65 of file ref.C.

References intMsg::anInt, objRef::cid, CkFreeMsg(), objRef::idx, and mesh.

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void edgeRef::checkPending ( elemRef  e  ) 

Definition at line 90 of file ref.C.

References objRef::cid, objRef::idx, and mesh.

Referenced by element::split().

Here is the caller graph for this function:

void edgeRef::checkPending ( elemRef  e,
elemRef  ne 
)

Definition at line 95 of file ref.C.

References objRef::cid, objRef::idx, and mesh.


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:22:47 2020 for Charm++ by  doxygen 1.5.5