1#ifndef __SMOOTHPARAMS_H
2#define __SMOOTHPARAMS_H
8class SmoothParams :
public PUP::able
43 SmoothParams(CkMigrateMessage *m) : PUP::able(m) { tp = NULL; }
45 virtual void pup(PUP::er &p) {
Class for cross processor data needed for smooth operations.
Definition GravityParticle.h:649
Fundamental type for a particle.
Definition GravityParticle.h:364
A base class from which parameters for all smooth operations can be derived.
Definition smoothparams.h:9
virtual int isSmoothActive(GravityParticle *p)=0
Particle is doing a neighbor search.
int iType
Particle type to smooth over; "TreeActive".
Definition smoothparams.h:11
virtual void initTreeParticle(GravityParticle *p)=0
initialize particles in tree but not smoothed
virtual void pup(PUP::er &p)
required method for remote entry call.
Definition smoothparams.h:45
virtual void postTreeParticle(GravityParticle *p)=0
calculation on all tree particles after all walks are done
virtual void combSmoothCache(GravityParticle *p1, ExternalSmoothParticle *p2)=0
combine cache copy with home particle
virtual void fcnSmooth(GravityParticle *p, int nSmooth, pqSmoothNode *nList)=0
Function to apply to smooth particle and neighbors.
virtual void initSmoothCache(GravityParticle *p)=0
initialize particles as they come into the cache
int activeRung
Currently active rung.
Definition smoothparams.h:12
int bUseBallMax
Definition smoothparams.h:14
virtual void initSmoothParticle(GravityParticle *p)=0
initialize particles to be smoothed
Fundamental structure that holds particle and tree data.
Definition ParallelGravity.h:755
Object for priority queue entry.
Definition smooth.h:13