Class to take care of exporting a set of loop matrix elements in the
Fortran format.
|
|
|
write_makefile_TIR(self,
writer,
link_tir_libs,
tir_libs,
tir_include=[ ] )
Create the file makefile which links to the TIR libraries. |
source code
|
|
|
convert_model_to_mg4(self,
model,
wanted_lorentz=[ ] ,
wanted_couplings=[ ] )
Caches the aloha model created here when writing out the aloha
fortran subroutine. |
source code
|
|
|
get_ME_identifier(self,
matrix_element)
A function returning a string uniquely identifying the matrix element
given in argument so that it can be used as a prefix to all MadLoop5
subroutines and common blocks related to it. |
source code
|
|
|
|
|
|
|
|
|
|
|
make(self)
Compiles the additional dependences for loop (such as CutTools). |
source code
|
|
|
cat_coeff(self,
ff_number,
frac,
is_imaginary,
Nc_power,
Nc_value=3)
Concatenate the coefficient information to reduce it to (fraction,
is_imaginary) |
source code
|
|
|
get_amp_to_jamp_map(self,
col_amps,
n_amps)
Returns a list with element 'i' being a list of tuples corresponding
to all apparition of amplitude number 'i' in the jamp number 'j' with
coeff 'coeff_j'. |
source code
|
|
|
|
|
generate_loop_subprocess(self,
matrix_element,
fortran_model)
Generate the Pxxxxx directory for a loop subprocess in MG4
standalone, including the necessary loop_matrix.f, born_matrix.f and
include files. |
source code
|
|
|
link_files_from_Subprocesses(self,
proc_name='
' )
To link required files from the Subprocesses directory to the
different P* ones |
source code
|
|
|
generate_general_replace_dict(self,
matrix_element)
Generates the entries for the general replacement dictionary used for
the different output codes for this exporter |
source code
|
|
|
|
|
|
|
|
|
write_improve_ps(self,
writer,
matrix_element)
Write out the improve_ps subroutines which modify the PS point given
in input and slightly deform it to achieve exact onshellness on all
external particles as well as perfect energy-momentum conservation |
source code
|
|
|
write_loop_num(self,
writer,
matrix_element,
fortran_model)
Create the file containing the core subroutine called by CutTools
which contains the Helas calls building the loop |
source code
|
|
|
write_CT_interface(self,
writer,
matrix_element,
optimized_output=False)
Create the file CT_interface.f which contains the subroutine defining
the loop HELAS-like calls along with the general interfacing
subroutine. |
source code
|
|
|
split_HELASCALLS(self,
writer,
replace_dict,
template_name,
masterfile,
helas_calls,
entry_name,
bunch_name,
n_helas=2000,
required_so_broadcaster=' LOOP_REQ_SO_DONE ' ,
continue_label=1000)
Finish the code generation with splitting. |
source code
|
|
|
write_loopmatrix(self,
writer,
matrix_element,
fortran_model,
noSplit=False)
Create the loop_matrix.f file. |
source code
|
|
|
write_bornmatrix(self,
writer,
matrix_element,
fortran_model)
Create the born_matrix.f file for the born process as for a standard
tree-level computation. |
source code
|
|
|
write_born_amps_and_wfs(self,
writer,
matrix_element,
fortran_model,
noSplit=False)
Writes out the code for the subroutine MP_BORN_AMPS_AND_WFS which
computes just the external wavefunction and born amplitudes in
multiple precision. |
source code
|
|
Inherited from LoopExporterFortran :
__init__ ,
get_aloha_model ,
link_CutTools ,
write_mp_files
Inherited from iolibs.export_v4.ProcessExporterFortranSA :
export_model_files ,
finalize_v4_directory ,
write_check_sa_splitOrders ,
write_source_makefile
Inherited from iolibs.export_v4.ProcessExporterFortran :
coeff ,
export_helas ,
format_integer_list ,
get_JAMP_coefs ,
get_JAMP_lines ,
get_JAMP_lines_split_order ,
get_amp2_lines ,
get_color_data_lines ,
get_den_factor_line ,
get_helicity_lines ,
get_ic_line ,
get_icolamp_lines ,
get_leshouche_lines ,
get_mg5_info_lines ,
get_pdf_lines ,
get_process_info_lines ,
get_split_orders_lines ,
replace_make_opt_c_compiler ,
replace_make_opt_f_compiler ,
set_chosen_SO_index ,
set_compiler ,
set_cpp_compiler ,
set_fortran_compiler ,
write_configs_file ,
write_configs_file_from_diagrams ,
write_helamp_madspin ,
write_leshouche_file ,
write_maxamps_file ,
write_maxparticles_file ,
write_nexternal_file ,
write_nexternal_madspin ,
write_ngraphs_file ,
write_pmass_file ,
write_procdef_mg5 ,
write_props_file
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|