Go to the source code of this file.
|
| enum struct | InitializationPolicy { Zero =0
, One
, RandomExp
} |
| | This set of initialization policies describes what happens when we need to create a new particle due to an elementary process. For example, when an ionization event creates an electron, these policies control the initial values of the electron's components. These can always be over-written later. More...
|
| |
◆ InitializationPolicy
This set of initialization policies describes what happens when we need to create a new particle due to an elementary process. For example, when an ionization event creates an electron, these policies control the initial values of the electron's components. These can always be over-written later.
The specific meanings are as follows: Zero - set the component to zero One - set the component to one RandomExp - a special flag for the optical depth component used by certain QED processes, which gets a random initial value extracted from an exponential distribution
| Enumerator |
|---|
| Zero | |
| One | |
| RandomExp | |
◆ initializeIntValue()
◆ initializeRealValue()
◆ initialization_policies
Initial value:= {
}
@ RandomExp
Definition DefaultInitialization.H:39
@ Zero
Definition DefaultInitialization.H:39
This map sets the initialization policy for each particle component used in WarpX.