... | ... | @@ -94,13 +94,16 @@ participant simulation |
|
|
participant compoundTracker
|
|
|
participant trackerA
|
|
|
participant trackerB
|
|
|
participant trackerC
|
|
|
database HDF5
|
|
|
user screen
|
|
|
actor screen
|
|
|
simulation -> compoundTracker : beforeStep
|
|
|
|
|
|
activate compoundTracker
|
|
|
compoundTracker -> trackerA : beforeStep
|
|
|
compoundTracker -> trackerB : beforeStep
|
|
|
trackerB -> trackerB : note start time
|
|
|
compoundTracker -> trackerC : beforeStep
|
|
|
deactivate compoundTracker
|
|
|
|
|
|
simulation -> simulation : step
|
... | ... | @@ -110,7 +113,8 @@ activate simulation |
|
|
activate compoundTracker
|
|
|
compoundTracker -> trackerA : planetsChanged
|
|
|
compoundTracker -> trackerB : planetsChanged
|
|
|
trackerB -> trackerB : note start time
|
|
|
compoundTracker -> trackerB : planetsChanged
|
|
|
trackerC -> screen : print planet position\nvelocity and mass
|
|
|
deactivate compoundTracker
|
|
|
deactivate simulation
|
|
|
|
... | ... | @@ -120,6 +124,7 @@ activate compoundTracker |
|
|
trackerA -> HDF5 : write disk state
|
|
|
compoundTracker -> trackerB : afterStep
|
|
|
trackerB -> screen : print time spent
|
|
|
compundTracker -> trackerC : afterStep
|
|
|
deactivate compoundTracker
|
|
|
deactivate simulation
|
|
|
|
... | ... | |