1
#ifndef __DENSITY_GRID_H__
2
#define __DENSITY_GRID_H__
5
// Compile time adjustable parameters
12
#include "drl_layout.h"
26
void Subtract(Node &n, bool first_add, bool fine_first_add, bool fineDensity);
27
void Add(Node &n, bool fineDensity );
28
float GetDensity(float Nx, float Ny, bool fineDensity);
30
// Contructor/Destructor
37
void Subtract( Node &N );
39
void fineSubtract( Node &N );
40
void fineAdd( Node &N );
42
// new dynamic variables -- SBM
43
float (*fall_off)[RADIUS*2+1];
44
float (*Density)[GRID_SIZE];
45
deque<Node> (*Bins)[GRID_SIZE];
47
// old static variables
48
//float fall_off[RADIUS*2+1][RADIUS*2+1];
49
//float Density[GRID_SIZE][GRID_SIZE];
50
//deque<Node *> Bins[GRID_SIZE][GRID_SIZE];
55
#endif // __DENSITY_GRID_H__