Fixes for SPH. Workaround for buggy gadget headers. Fixed borg generation for newer API.
This commit is contained in:
parent
bb94130bcd
commit
b639bcedaf
8 changed files with 55 additions and 11 deletions
|
@ -60,9 +60,10 @@ namespace CosmoTool
|
|||
typedef void (*runParticleValue)(ValType& t);
|
||||
|
||||
public:
|
||||
typedef SPHCell *P_SPHCell;
|
||||
struct SPHState
|
||||
{
|
||||
boost::shared_ptr<SPHCell *[]> ngb;
|
||||
boost::shared_ptr<P_SPHCell[]> ngb;
|
||||
boost::shared_ptr<CoordType[]> distances;
|
||||
typename SPHTree::coords currentCenter;
|
||||
int currentNgb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue