Skip to content

Conversation

@alikateic
Copy link

@alikateic alikateic commented Sep 4, 2023

Fix #6 closes #18
Fix #10

Copy link
Member

@BeastyBlacksmith BeastyBlacksmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be a good idea to run a formatter like JuliaFormatter.jl over the code and also add some tests for MSD. (You can just copy the starting conditions of MQD and then calculate the expected values by hand)

Comment on lines 34 to 41
world2 = World(
v0=1.0,
n_dogs=100,
boxsize=50.0,
motion=BrownianMotion(noise=0.5, friction=1.0),
sheeps=DenseSheeps(20, n_sheeps=20),
)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally speaking it is not a good idea to have more collectors than items, since you might end up in the situation where all items are picked up and in the best case the simulation will just get stuck in that state

@BeastyBlacksmith
Copy link
Member

For posteriority:

  • fix on 32-bit
  • write tests for MSD
  • end simulation if there are no sheep on the grid anymore
  • refactor msd and mqd thresholds to be part of the MQD/MSD structs and make those fields of the ClustertimeSimulation to ease requesting values
  • implement getMSD(simulation)/getMQD(simulation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set up CI Port missing Simulations

2 participants