private Grid createGrid(SharedDataManager sharedDataManager) {
DistributedGridFactory gridFactory = new DistributedGridFactory(
localSettings, partitions[workerID],
cells, sharedDataManager);
return gridFactory.create();
}
private ParticleBoundaries createParticleBoundaries(SharedDataManager sharedDataManager) {
DoubleBox simulationAreaInParticleDimensions = new DoubleBox(