PPL Logo

elemRef Class Reference

#include <ref.h>

Inheritance diagram for elemRef:

Inheritance graph
[legend]
Collaboration diagram for elemRef:

Collaboration graph
[legend]

Public Member Functions

 elemRef ()
 elemRef (int chunkId, int objIdx)
double getVolume ()
void setTargetVolume (double ta)
void resetTargetVolume (double ta)
void pup (PUP::er &p)
 elemRef ()
 elemRef (int c, int i)
int checkIfLongEdge (chunk *C, edgeRef e)
double getArea (chunk *C)
void setTargetArea (chunk *C, double ta)
void updateEdges (chunk *C, edgeRef e0, edgeRef e1, edgeRef e2)
void unsetDependency (chunk *C)
void setDependent (chunk *C, int anIdx, int aCid)
int hasDependent (chunk *C)
 elemRef ()
 elemRef (int chunkId, int objIdx)
void update (edgeRef &oldval, edgeRef &newval)
double getArea ()
void setTargetArea (double ta)
void resetTargetArea (double ta)
void remove ()

Detailed Description

Definition at line 36 of file ref.h.


Constructor & Destructor Documentation

elemRef::elemRef (  )  [inline]

Definition at line 38 of file ref.h.

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

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

Definition at line 39 of file ref.h.

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

elemRef::elemRef (  )  [inline]

Definition at line 54 of file tri.h.

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

Definition at line 55 of file tri.h.

elemRef::elemRef (  )  [inline]

Definition at line 58 of file ref.h.

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

Definition at line 59 of file ref.h.

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


Member Function Documentation

double elemRef::getVolume ( void   ) 

Definition at line 32 of file ref.C.

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

Here is the call graph for this function:

void elemRef::setTargetVolume ( double  ta  ) 

Definition at line 46 of file ref.C.

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

void elemRef::resetTargetVolume ( double  ta  ) 

Definition at line 54 of file ref.C.

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

void elemRef::pup ( PUP::er p  )  [inline]

Reimplemented from objRef.

Definition at line 43 of file ref.h.

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

int elemRef::checkIfLongEdge ( chunk C,
edgeRef  e 
)

Definition at line 85 of file tri.C.

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

Referenced by element::checkNeighbor().

Here is the call graph for this function:

Here is the caller graph for this function:

double elemRef::getArea ( chunk C  ) 

Definition at line 71 of file tri.C.

References doubleMsg::aDouble, chunk::cid, objRef::cid, CkFreeMsg(), objRef::idx, mesh, and chunk::theElements.

Referenced by edge::checkPending(), edge::collapse(), element::refineNeighbor(), and edge::split().

Here is the call graph for this function:

Here is the caller graph for this function:

void elemRef::setTargetArea ( chunk C,
double  ta 
)

Definition at line 150 of file tri.C.

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

void elemRef::updateEdges ( chunk C,
edgeRef  e0,
edgeRef  e1,
edgeRef  e2 
)

Definition at line 99 of file tri.C.

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

void elemRef::unsetDependency ( chunk C  ) 

Definition at line 122 of file tri.C.

References chunk::cid, objRef::cid, objRef::idx, chunk::isRefining(), mesh, chunk::setModified(), chunk::setRefining(), and chunk::theElements.

Referenced by element::tellDepend().

Here is the call graph for this function:

Here is the caller graph for this function:

void elemRef::setDependent ( chunk C,
int  anIdx,
int  aCid 
)

Definition at line 108 of file tri.C.

References chunk::cid, objRef::cid, objRef::idx, chunk::isRefining(), mesh, objRef::objRef(), chunk::setModified(), chunk::setRefining(), and chunk::theElements.

Referenced by element::refineNeighbor().

Here is the call graph for this function:

Here is the caller graph for this function:

int elemRef::hasDependent ( chunk C  ) 

Definition at line 136 of file tri.C.

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

Referenced by element::refineNeighbor().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 111 of file ref.C.

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

double elemRef::getArea (  ) 

Definition at line 101 of file ref.C.

References doubleMsg::aDouble, objRef::cid, CkFreeMsg(), objRef::idx, and mesh.

Here is the call graph for this function:

void elemRef::setTargetArea ( double  ta  ) 

Definition at line 116 of file ref.C.

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

void elemRef::resetTargetArea ( double  ta  ) 

Definition at line 121 of file ref.C.

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

void elemRef::remove (  ) 

Definition at line 126 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:23:02 2020 for Charm++ by  doxygen 1.5.5