3 | | A new |
| 3 | As an example "Hello World" application that shows coupling MPI codes via MUSCLE we will use an extremely simplistic and naive simulation of the Large Hadron Collider (LHC) experiment. The application would model only two accelerators rings: |
| 4 | * Proton Synchrotron Booster (PSB) - the small one, |
| 5 | * Large Hadron Collider (LHC) - the big one. |
| 6 | Both of the aforementioned accelerators act as separated submodels (MUSCLE kernels) and are implemented using the "MPI Ring" code. |
| 7 | In our quasi-simulation we: |
| 8 | * insert a single proton (at an energy of `PSB:InitialEnergy`) into the PSB, |
| 9 | * where it is accelerated (of every `"PSB:DeltaEnergy") whenever it passes a ring node, |
| 10 | * until achieving energy of `PSB:MaxEnergy`, |
| 11 | * then the proton is transmitted from PSB into LHC, |
| 12 | * where it is accelerated further unit it increase energy to the level of `LHC:MaxEnergy` (simulation stops). |