changa 3.5
|
Super class for Smooth and Resmooth computation. More...
#include <smooth.h>
Public Member Functions | |
SmoothCompute (TreePiece *_tp, SmoothParams *_params) | |
virtual void | bucketCompare (TreePiece *tp, GravityParticle *p, GenericTreeNode *node, GravityParticle *particles, Vector3D< double > offset, State *state)=0 |
int | doWork (GenericTreeNode *node, TreeWalk *tw, State *state, int chunk, int reqID, bool isRoot, bool &didcomp, int awi) |
Work to be done at each node. | |
void | reassoc (void *ce, int ar, Opt *o) |
void | nodeMissedEvent (int reqID, int chunk, State *state, TreePiece *tp) |
Allow book-keeping of a cache miss. | |
![]() | |
void | setOpt (Opt *opt) |
virtual int | openCriterion (TreePiece *ownerTP, GenericTreeNode *node, int reqID, State *state)=0 |
virtual void | stateReady (State *state, TreePiece *owner, int chunk, int start, int end) |
virtual void | stateReadyPar (TreePiece *tp, int start, int end, CkVec< OffsetNode > &clist, CkVec< RemotePartInfo > &rpilist, CkVec< LocalPartInfo > &lpilist) |
virtual void | fillLists (State *state_, TreePiece *tp, int chunk, int start, int end, CkVec< OffsetNode > &clistforb, CkVec< RemotePartInfo > &rplistforb, CkVec< LocalPartInfo > &lplistforb) |
virtual void | init (void *cE, int activeRung, Opt *opt) |
Associate computeEntity (target bucket or node), activeRung and Optimization with this Compute object. | |
ComputeType | getSelfType () |
OptType | getOptType () |
int | getActiveRung () |
virtual void | initState (State *state) |
virtual void | startNodeProcessEvent (State *state) |
virtual void | finishNodeProcessEvent (TreePiece *owner, State *state) |
Allow book-keeping when finished with a node. | |
virtual void | nodeRecvdEvent (TreePiece *owner, int chunk, State *state, int bucket) |
Allow book-keeping of a cache receive event. | |
virtual void | recvdParticles (ExternalGravityParticle *egp, int num, int chunk, int reqID, State *state, TreePiece *tp, Tree::NodeKey &remoteBucket) |
Allow book-keeping of a cache receive event. | |
virtual void | recvdParticlesFull (GravityParticle *egp, int num, int chunk, int reqID, State *state, TreePiece *tp, Tree::NodeKey &remoteBucket) |
Allow book-keeping of a cache receive event. | |
virtual void | walkDone (State *state) |
virtual void | setComputeEntity (void *ce) |
virtual void * | getComputeEntity () |
virtual State * | getNewState (int d1, int d2) |
virtual State * | getNewState (int d1) |
virtual State * | getNewState () |
virtual void | freeState (State *state) |
Public Attributes | |
SmoothParams * | params |
![]() | |
int | nActive |
Protected Attributes | |
TreePiece * | tp |
![]() | |
Opt * | opt |
void * | computeEntity |
int | activeRung |
ComputeType | type |
Additional Inherited Members | |
![]() | |
Compute (ComputeType t) | |
Super class for Smooth and Resmooth computation.
|
pure virtual |
Implemented in KNearestSmoothCompute, MarkSmoothCompute, and ReSmoothCompute.
|
virtual |
Work to be done at each node.
Implements Compute.
Allow book-keeping of a cache miss.
Reimplemented from Compute.