#include <chunk.h>
Inheritance diagram for chunk:


Definition at line 50 of file chunk.h.
| chunk::chunk | ( | int | nChunks | ) |
Definition at line 19 of file chunk.C.
References cid, numChunks, refineResultsStorage, and ArrayElementT< T >::thisIndex.
Referenced by joinCommLists().
| chunk::chunk | ( | CkMigrateMessage * | ) | [inline] |
| chunk::chunk | ( | chunkMsg * | ) |
Definition at line 834 of file tri.C.
References cid, CkFreeMsg(), chunkMsg::nChunks, numChunks, refineResultsStorage, TCharm::resume(), TCharmClient1D::tcharmClientInit(), ArrayElementT< T >::thisIndex, and TCharmClient1D::thread.
| chunk::chunk | ( | CkMigrateMessage * | m | ) | [inline] |
| chunk::chunk | ( | chunkMsg * | ) |
| chunk::chunk | ( | CkMigrateMessage * | m | ) | [inline] |
| void chunk::refineElement | ( | int | idx, | |
| double | volume | |||
| ) |
Definition at line 33 of file chunk.C.
References cid, mesh, modified, numElements, refineInProgress, and theElements.
| void chunk::refineElement | ( | int | idx | ) |
Definition at line 48 of file chunk.C.
References cid, getVolume(), mesh, modified, numElements, refineInProgress, and theElements.
| void chunk::refiningElements | ( | ) |
Definition at line 63 of file chunk.C.
References adjustMesh(), cid, Converse::CkMyPe(), CthYield(), getVolume(), mesh, modified, numChunks, numElements, print(), refineInProgress, and theElements.
| void chunk::coarsenElement | ( | int | idx, | |
| double | volume | |||
| ) |
Definition at line 98 of file chunk.C.
References cid, coarsenInProgress, mesh, modified, numElements, and theElements.
| void chunk::coarseningElements | ( | ) |
Definition at line 113 of file chunk.C.
References Converse::CkMyPe(), coarsenInProgress, CthYield(), getVolume(), mesh, modified, numElements, print(), and theElements.
| void chunk::improveMesh | ( | ) |
| void chunk::relocatePoints | ( | ) |
| void chunk::flippingElements | ( | ) |
| void chunk::unlockChunk | ( | int | lh | ) |
Definition at line 164 of file chunk.C.
References free(), prioLockStruct::holder, insertLock(), lock, lockCount, lockHolder, lockList, lockPrio, prioLockStruct::next, prioLockStruct::prio, and removeLock().
Referenced by edge::buildLockingCloud(), edge::flipPrevent(), lockChunk(), element::lockLF(), element::refineCP(), element::refineLE(), and element::refineLF().
| void chunk::unlockLocalChunk | ( | int | lh | ) |
Definition at line 267 of file chunk.C.
References lock, lockCount, lockHolder, and lockPrio.
Referenced by edge::buildLockingCloud(), edge::flipPrevent(), element::lockArc(), element::lockLF(), element::refineCP(), element::refineLE(), element::refineLF(), element::unlockArc1(), element::unlockArc2(), unlockChunk(), and edge::unlockCloudRemoveEdge().
| void chunk::removeLock | ( | int | lh | ) |
Definition at line 243 of file chunk.C.
References free(), prioLockStruct::holder, lockList, and prioLockStruct::next.
Referenced by lockLocalChunk().
| void chunk::insertLock | ( | int | lh, | |
| double | prio | |||
| ) |
Definition at line 213 of file chunk.C.
References prioLockStruct::holder, lockList, malloc(), prioLockStruct::next, and prioLockStruct::prio.
Referenced by lockLocalChunk().
| void chunk::print | ( | ) |
Definition at line 282 of file chunk.C.
References debug_counter, debug_print(), getAccessLock(), and releaseAccessLock().
Referenced by coarseningElements(), and refiningElements().
| void chunk::out_print | ( | ) |
Definition at line 290 of file chunk.C.
References cid, nodes, numChunks, numElements, numNodes, theElements, and theNodes.
Referenced by multipleRefine().
| void chunk::updateNodeCoord | ( | nodeMsg * | ) |
Definition at line 328 of file chunk.C.
References CkFreeMsg(), nodeMsg::coord, nodeMsg::idx, numNodes, and theNodes.
| void chunk::relocationVote | ( | nodeVoteMsg * | ) |
Definition at line 335 of file chunk.C.
References CkFreeMsg(), nodeVoteMsg::newCoord, numNodes, nodeVoteMsg::oldCoord, and theNodes.
Definition at line 349 of file chunk.C.
References doubleMsg::aDouble, intMsg::anInt, CkFreeMsg(), numElements, and theElements.
Referenced by checkRefine(), coarseningElements(), refine(), refineElement(), and refiningElements().
| void chunk::setTargetVolume | ( | doubleMsg * | ) |
Definition at line 358 of file chunk.C.
References doubleMsg::aDouble, cid, CkFreeMsg(), doubleMsg::idx, mesh, modified, numElements, refineInProgress, and theElements.
Referenced by refine().
| void chunk::resetTargetVolume | ( | doubleMsg * | ) |
Definition at line 371 of file chunk.C.
References doubleMsg::aDouble, CkFreeMsg(), doubleMsg::idx, modified, numElements, and theElements.
Definition at line 473 of file chunk.C.
References refMsg::cid, cid, objRef::cid, faceOnSurface(), refMsg::idx, objRef::idx, mesh, numChunks, numElements, theElements, and theNodes.
Referenced by deriveFaces().
| refMsg * chunk::findRemoteNeighbor | ( | threeNodeMsg * | ) |
Definition at line 511 of file chunk.C.
References cid, refMsg::cid, CkFreeMsg(), threeNodeMsg::coords, refMsg::idx, numElements, and theElements.
Definition at line 410 of file chunk.C.
References intMsg::anInt, getAccessLock(), releaseAccessLock(), and theElements.