#include <charm.h>
#include "cooling.h"
#include "cosmoType.h"
#include "SFC.h"
#include <vector>
Go to the source code of this file.
Classes | |
class | BucketGravityRequest |
Object to bookkeep a Bucket Walk. More... | |
class | ExternalGravityParticle |
Information needed to calculate gravity. More... | |
class | extraSPHData |
Extra data needed for SPH. More... | |
class | extraStarData |
Extra data needed for Stars. More... | |
class | GravityParticle |
Fundamental type for a particle. More... | |
class | ExternalSmoothParticle |
Class for cross processor data needed for smooth operations. More... | |
Macros | |
#define | GP_DEBUG_EXTRAS |
#define | IMAGAS CkAssert(isGas()) |
#define | IMASTAR CkAssert(isStar()) |
#define | TYPE_GAS (1<<0) |
#define | TYPE_DARK (1<<1) |
#define | TYPE_STAR (1<<2) |
#define | TYPE_DELETED (1<<3) |
#define | TYPE_PHOTOGENIC (1<<4) |
#define | TYPE_NbrOfACTIVE (1<<5) |
#define | TYPE_SMOOTHACTIVE (1<<6) |
#define | TYPE_SINK (1<<7) |
#define | TYPE_SINKING (1<<8) |
#define | TYPE_NEWSINKING (1<<9) |
#define | TYPE_PROMOTED (1<<10) |
#define | TYPE_FEEDBACK (1<<11) |
#define | TYPE_MAXTYPE (1<<12) |
Functions | |
int | TYPETest (const GravityParticle *a, unsigned int b) |
Test for a type flag. | |
int | TYPESet (GravityParticle *a, unsigned int b) |
Set a type flag. | |
int | TYPEReset (GravityParticle *a, unsigned int b) |
Unset a type flag. | |
int | TYPEClear (GravityParticle *a) |
void | unDeleteParticle (GravityParticle *p) |
unmark particle as deleted | |
void | deleteParticle (GravityParticle *p) |
mark particle as deleted | |
GravityParticle | StarFromGasParticle (GravityParticle *p) |
Create star particle from gas particle Note that new memory is allocated for the extradata. | |
int | TYPETest (ExternalSmoothParticle *a, unsigned int b) |
Defines the fundamental particle data structures.
#define IMAGAS CkAssert(isGas()) |
Debugging macro to be sure you are accessing gas properties from a gas particle.
#define IMASTAR CkAssert(isStar()) |
Debugging macro to be sure you are accessing star properties from a star particle.