forked from N-BodyShop/gasoline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dumpvoxel.h
40 lines (25 loc) · 910 Bytes
/
dumpvoxel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef DUMPVOXEL_HINCLUDED
#define DUMPVOXEL_HINCLUDED
/* Rewrite to use particles Interface in dumpframe! so pkd can be avoided */
#include "pkd.h"
#include "dumpframe.h"
/* PST */
struct inDumpVoxel {
double dTime;
double dStep;
/* Other info */
int iRender; /* Rendering */
int iEncode; /* Encoding */
/* Particle Filters */
double dMassStarMin,dMassStarMax;
double dMassGasMin, dMassGasMax;
double dMassDarkMin,dMassDarkMax;
int bNonLocal; /* Is this data going non-local? */
int bVDetails;
char fileout[160];
};
void dfSetupVoxel( struct DumpFrameContext *df, double dTime, double dStep, struct inDumpVoxel *vin );
void dfAddParticlesVoxel( PKD pkd, int type, double dMassMin, double dMassMax);
void dfRenderVoxel( PKD pkd, struct inDumpVoxel *in );
void dfFinishVoxel( struct DumpFrameContext *df, double dTime, double dStep, struct inDumpVoxel *in );
#endif