Trees | Indices | Help |
---|
|
object --+ | dict --+ | core.base_objects.PhysicsObject --+ | HelasCallWriter --+ | FortranHelasCallWriter
The class for writing Helas calls in Fortran, starting from HelasWavefunctions and HelasAmplitudes.
Includes the function generate_helas_call, which automatically generates the Fortran Helas call based on the Lorentz structure of the interaction.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|
|||
self_dict =
|
|||
sort_wf =
|
|||
sort_amp =
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Set up special Helas calls (wavefunctions and amplitudes) that can not be done automatically by generate_helas_call |
Return the function for writing the wavefunction corresponding to the key. If the function doesn't exist, generate_helas_call is called to automatically create the function.
|
Return the function for writing the amplitude corresponding to the key. If the function doesn't exist, generate_helas_call is called to automatically create the function.
|
Routine for automatic generation of Fortran Helas calls according to just the spin structure of the interaction. First the call string is generated, using a dictionary to go from the spin state of the calling wavefunction and its mothers, or the mothers of the amplitude, to letters. Then the call function is generated, as a lambda which fills the call string with the information of the calling wavefunction or amplitude. The call has different structure, depending on the spin of the wavefunction and the number of mothers (multiplicity of the vertex). The mother wavefunctions, when entering the call, must be sorted in the correct way - this is done by the sorted_mothers routine. Finally the call function is stored in the relevant dictionary, in order to be able to reuse the function the next time a wavefunction with the same Lorentz structure is needed. |
Gives a list of mother wavefunctions sorted according to
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 08:02:12 2012 | http://epydoc.sourceforge.net |