Skip to content

Commit

Permalink
Fix some coords
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelMess committed Aug 8, 2024
1 parent 1b20d71 commit 08fd479
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/simulator/Cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ def case4() -> Tuple[List[Particle], List[Constraint], Callable[[np.float64], np
"""
particles: List[Particle] = Indexer.indexer([
Particle(np.array([0, 0], dtype=np.float64)),
Particle(np.array([25, -25], dtype=np.float64)),
Particle(np.array([25, 25], dtype=np.float64)),
Particle(np.array([50, 0], dtype=np.float64)),
Particle(np.array([75, -25], dtype=np.float64)),
Particle(np.array([75, 25], dtype=np.float64)),
Particle(np.array([100, 0], dtype=np.float64)),
Particle(np.array([125, -25], dtype=np.float64)),
Particle(np.array([125, 25], dtype=np.float64)),
Particle(np.array([150, 0], dtype=np.float64)),
])

Expand Down Expand Up @@ -176,11 +176,11 @@ def case5() -> Tuple[List[Particle], List[Constraint], Callable[[np.float64], np
"""
particles: List[Particle] = Indexer.indexer([
Particle(np.array([0, 0], dtype=np.float64), static=True),
Particle(np.array([25, -25], dtype=np.float64)),
Particle(np.array([25, 25], dtype=np.float64)),
Particle(np.array([50, 0], dtype=np.float64)),
Particle(np.array([75, -25], dtype=np.float64)),
Particle(np.array([75, 25], dtype=np.float64)),
Particle(np.array([100, 0], dtype=np.float64)),
Particle(np.array([125, -25], dtype=np.float64)),
Particle(np.array([125, 25], dtype=np.float64)),
Particle(np.array([150, 0], dtype=np.float64), static=True),
])

Expand Down

0 comments on commit 08fd479

Please sign in to comment.