Version: SMASH-3.1
Minimum non-empty ensembles

Instead of defining the number of events it is possible to define a minimum number of ensembles in which an interaction took place. Using this option by providing a Minimum_Nonempty_Ensembles section in the input file, events will be calculated until the desired number of non-empty ensembles is generated. If the Nevents key is not specified, this section with all its required keys must be present in the SMASH input file.

Without parallel ensembles (Ensembles: 1) the number of ensembles is equal to the number of events, so that this option will provide the desired number of non-empty events.


Maximum_Ensembles_Run — int, required

Maximum number of ensembles run. This number serves as a safeguard against SMASH unexpectedly running for a long time.


Number — int, required

The number of desired non-empty ensembles.


Examples

In the following example, the number of desired non-empty events is 1000 with a maximum number of 2000 events to be calculated. In this case the calculation will stop either if 1000 events are not empty or 2000 events have been calculated.

General:
  Modus: Collider
  Minimum_Nonempty_Ensembles:
      Number: 1000
      Maximum_Ensembles_Run: 2000
  Ensembles: 1

In contrast to the first example, in the next example we use 20 parallel ensembles. Here, the maximum number of ensembles run is 2000. The calculation will continue until either this number of ensembles is reached or 1000 ensembles contain interactions. Note that an event consists of 20 ensembles. The 20 ensembles run in parallel, so the number of non-empty ensembles in the ouput is between 1000 and 1019.

General:
  Modus: Collider
  Minimum_Nonempty_Ensembles:
      Number: 1000
      Maximum_Ensembles_Run: 2000
  Ensembles: 20