Maximum step length DSMAX of electrons and positrons in each body. This parameter is important only for thin bodies; it should be given a value of the order of one tenth of the body thickness or less.
Bases: object
Creates a new MaximumStepLength. One instantiated the module id cannot be changed.
Parameters: |
|
---|
Creates a MaximumStepLength from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a MaximumStepLength from a XML element.
Parameters: | element – XML element |
---|
Maximum step length in cm. The length must be between 0 and 1e20 cm.
The value is stored in a magnitude.Magnitude.
Id of the module.
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: list, penelopetools.api.input.penelope.option.Option
Store the maximum step lengths of each body.
The object MaximumStepLengths is a dictionary where the keys are the body ids and the values, the MaximumStepLength.
Appends an MaximumStepLength to the list of maximum step lengths.
Removes all the maximum step lengths from the list.
Extends the list of maximum step lengths by another list of maximum step lengths.
Creates a MaximumStepLengths from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a MaximumStepLengths from a XML element.
Parameters: | element – XML element |
---|
Inserts a maximum step length at index.
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.
Apply a maximum step length to all modules in the geometry.
Parameters: |
|
---|---|
Return type: |