Add possibility to have an external state

This commit is contained in:
Guilhem Lavaux 2024-04-25 18:11:02 +02:00
parent be64c7fd7a
commit 924047de22
3 changed files with 25 additions and 18 deletions

View file

@ -72,7 +72,9 @@ namespace CosmoTool {
void
fetchNeighbours(const typename SPHTree::coords &c, SPHState *state = 0);
void fetchNeighbours(const typename SPHTree::coords &c, uint32_t newNsph);
void fetchNeighbours(
const typename SPHTree::coords &c, uint32_t newNsph,
SPHState *state = 0);
void fetchNeighboursOnVolume(
const typename SPHTree::coords &c, ComputePrecision radius);
const typename SPHTree::coords &getCurrentCenter() const {