changa 3.5
|
A base class from which parameters for all smooth operations can be derived. More...
#include <smoothparams.h>
Public Member Functions | |
virtual void | fcnSmooth (GravityParticle *p, int nSmooth, pqSmoothNode *nList)=0 |
Function to apply to smooth particle and neighbors. | |
virtual int | isSmoothActive (GravityParticle *p)=0 |
Particle is doing a neighbor search. | |
virtual void | initSmoothParticle (GravityParticle *p)=0 |
initialize particles to be smoothed | |
virtual void | initTreeParticle (GravityParticle *p)=0 |
initialize particles in tree but not smoothed | |
virtual void | postTreeParticle (GravityParticle *p)=0 |
calculation on all tree particles after all walks are done | |
virtual void | initSmoothCache (GravityParticle *p)=0 |
initialize particles as they come into the cache | |
virtual void | combSmoothCache (GravityParticle *p1, ExternalSmoothParticle *p2)=0 |
combine cache copy with home particle | |
PUPable_abstract (SmoothParams) | |
SmoothParams (CkMigrateMessage *m) | |
virtual void | pup (PUP::er &p) |
required method for remote entry call. | |
Public Attributes | |
int | iType |
Particle type to smooth over; "TreeActive". | |
int | activeRung |
Currently active rung. | |
TreePiece * | tp |
int | bUseBallMax |
A base class from which parameters for all smooth operations can be derived.
|
pure virtual |
combine cache copy with home particle
p1 | pointer to "home" particle data |
p2 | pointer to particle data being flushed back from a remote treepiece. |
This method enables commutative/associative operations to be performed on remote data by combining data accumulated by a remote processor in p2 with the data on the home particle, p1. Any accumulators used in this function should be initialized in initSmoothCache() to avoid double counting.
Implemented in BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, DenDvDxSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
|
pure virtual |
Function to apply to smooth particle and neighbors.
Implemented in BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, DenDvDxSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
|
pure virtual |
initialize particles as they come into the cache
p | pointer to incoming particle data from remote processor |
Implemented in BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, DenDvDxSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
|
pure virtual |
initialize particles to be smoothed
Implemented in BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, DenDvDxSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
|
pure virtual |
initialize particles in tree but not smoothed
Implemented in BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, DenDvDxSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
|
pure virtual |
Particle is doing a neighbor search.
Implemented in BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, DenDvDxSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
|
pure virtual |
calculation on all tree particles after all walks are done
Implemented in BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, DenDvDxSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
|
inlinevirtual |
required method for remote entry call.
Reimplemented in AGORApreCheckSmoothParams, BHAccreteSmoothParams, BHDensitySmoothParams, BHIdentifySmoothParams, BHSinkMergeSmoothParams, CollisionSmoothParams, DenDvDxNeighborSmParams, DenDvDxSmoothParams, DensitySmoothParams, DistDeletedGasSmoothParams, DistStellarFeedbackSmoothParams, MarkSmoothParams, PressureSmoothParams, SIDMSmoothParams, SinkAccreteSmoothParams, SinkAccreteTestSmoothParams, SinkFormSmoothParams, SinkFormTestSmoothParams, and SinkingAverageSmoothParams.
int SmoothParams::bUseBallMax |
limit fBall growth for bFastGas