Bases: penelopetools.api.input.penelope.option.Option
Store the properties for the dump and resume of a simulation. A simulation will be resumed if the resume filename exists in the simulation folder. The internal counters of the simulation will be dump into a file at the specified interval if a dump filename is specified.
Parameters: |
|
---|
Filename of the dump file where the simulation data are saved in case the simulation run is interrupted (DUMPTO). If the attribute is deleted, no dump is performed.
Interval (in seconds) where the simulation results are saved in the dump file (DUMPP). A dump filename must be specified for the dump to occur.
The value is stored in a magnitude.Magnitude.
Filename of the dump file to resume the simulation from the point where it was left (RESUME). If the attribute is deleted, the resume from dump function is disabled.
Returns a HTML representation of this option.
Returns the lines of this option to create a IN file.
Returns a XML representation of this option.
Bases: penelopetools.api.input.penelope.option.Option
Store the seeds of the random-number generator (RSEED).
Parameters: |
|
---|
Creates a RandomNumberSeeds from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a RandomNumberSeeds from a XML element.
Parameters: | element – XML element |
---|
First seed of the random number generator. If the seed is deleted, the seed is determined at the execution of the simulation (real random). The value is stored in a magnitude.Magnitude.
First seed of the random number generator. If the seed is deleted, the seed is determined at the execution of the simulation (real random). The value is stored in a magnitude.Magnitude.
Returns a HTML representation of this option.
Returns the lines of this option to create a IN file.
Returns a XML representation of this option.
Bases: penelopetools.api.input.penelope.option.Option
Parameters of the simulation job.
Parameters: |
|
---|
Creates a Simulation from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a Simulation from a XML element.
Parameters: | element – XML element |
---|
Seeds for the random number generator. The random number seeds is a RandomNumberSeeds.
Desired number of simulated showers (NSIMSH). The number of simulated showers can not be less than 1. If the attribute is deleted, the number of showers is set to 1e38 (i.e. infinity).
The value is stored in a magnitude.Magnitude.
Allotted simulation time in seconds (TIME). The time can not be less than 1 second. If the attribute is deleted, the time is set to 1e38 (i.e. infinity).
The value is stored in a magnitude.Magnitude.
Returns a HTML representation of this option.
Returns the lines of this option to create a IN file.
Returns a XML representation of this option.