Package madgraph :: Package loop :: Module loop_exporters :: Class LoopProcessExporterFortranMatchBox
[hide private]
[frames] | no frames]

Class LoopProcessExporterFortranMatchBox

source code

                                 object --+            
                                          |            
                        LoopExporterFortran --+        
                                              |        
                         object --+           |        
                                  |           |        
   iolibs.export_v4.VirtualExporter --+       |        
                                      |       |        
iolibs.export_v4.ProcessExporterFortran --+   |        
                                          |   |        
  iolibs.export_v4.ProcessExporterFortranSA --+        
                                              |        
                   LoopProcessExporterFortranSA --+    
                                                  |    
              LoopProcessOptimizedExporterFortranSA --+
                                                      |
                             object --+               |
                                      |               |
       iolibs.export_v4.VirtualExporter --+           |
                                          |           |
    iolibs.export_v4.ProcessExporterFortran --+       |
                                              |       |
      iolibs.export_v4.ProcessExporterFortranSA --+   |
                                                  |   |
    iolibs.export_v4.ProcessExporterFortranMatchBox --+
                                                      |
                                                     LoopProcessExporterFortranMatchBox

Class to take care of exporting a set of loop matrix elements in the Fortran format.

Instance Methods [hide private]
 
get_color_string_lines(self, matrix_element)
Return the color matrix definition lines for this matrix element.
source code
 
get_JAMP_lines(self, *args, **opts)
Adding leading color part of the colorflow
source code
 
get_ME_identifier(self, matrix_element, group_number=None, group_elem_number=None)
To not mix notations between borns and virtuals we call it here also MG5
source code

Inherited from LoopProcessOptimizedExporterFortranSA: __init__, copy_template, finalize, fix_coef_specs, get_context, link_TIR, link_files_from_Subprocesses, loop_optimized_additional_template_setup, set_group_loops, set_optimized_output_specific_replace_dict_entries, setup_check_sa_replacement_dictionary, write_COLLIER_interface, write_CT_interface, write_GOLEM_interface, write_TIR_interface, write_color_flow_coefs_data_file, write_color_matrix_data_file, write_compute_color_flows, write_global_specs, write_loop_matrix_element_v4, write_loop_num, write_loopmatrix, write_mp_compute_loop_coefs, write_polynomial_subroutines, write_tir_cache_size_include

Inherited from LoopProcessExporterFortranSA: cat_coeff, compiler_choice, convert_model, generate_general_replace_dict, generate_loop_subprocess, generate_subprocess_directory, get_SubProc_folder_name, get_amp_to_jamp_map, get_color_matrix, loop_additional_template_setup, make, make_model_symbolic_link, make_source_links, split_HELASCALLS, turn_to_mp_calls, write_born_amps_and_wfs, write_bornmatrix, write_check_sa, write_f2py_check_sa, write_f2py_makefile, write_f2py_splitter, write_improve_ps, write_loop_makefile_definitions, write_process_info_file

Inherited from LoopExporterFortran: get_aloha_model, link_CutTools, write_mp_files

Inherited from iolibs.export_v4.ProcessExporterFortranSA: create_MA5_cards, export_model_files, write_check_sa_splitOrders, write_matrix_element_v4, write_procdef_mg5, write_source_makefile

Inherited from iolibs.export_v4.ProcessExporterFortran: coeff, create_default_madanalysis5_cards, create_proc_charac, create_run_card, export_helas, export_processes, format_integer_list, get_JAMP_coefs, 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_source_libraries_list, get_split_orders_lines, modify_grouping, pass_information_from_cmd, 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_pdf_opendata, write_pmass_file, write_props_file

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  default_opt = {'clean': False, 'complex_mass': False, 'cuttool...

Inherited from LoopProcessOptimizedExporterFortranSA: all_tir, forbid_loop_grouping, template_dir

Inherited from LoopProcessExporterFortranSA: MadLoop_banner, madloop_makefile_name

Inherited from LoopExporterFortran: include_names

Inherited from iolibs.export_v4.ProcessExporterFortranMatchBox: matrix_template

Inherited from iolibs.export_v4.ProcessExporterFortran: grouped_mode

Inherited from iolibs.export_v4.VirtualExporter: check, exporter, output, sa_symmetry

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_color_string_lines(self, matrix_element)

source code 

Return the color matrix definition lines for this matrix element. Split rows in chunks of size n.

Overrides: iolibs.export_v4.ProcessExporterFortranMatchBox.get_color_string_lines

get_JAMP_lines(self, *args, **opts)

source code 

Adding leading color part of the colorflow

Overrides: iolibs.export_v4.ProcessExporterFortran.get_JAMP_lines

get_ME_identifier(self, matrix_element, group_number=None, group_elem_number=None)

source code 

To not mix notations between borns and virtuals we call it here also MG5

Overrides: LoopProcessExporterFortranSA.get_ME_identifier

Class Variable Details [hide private]

default_opt

Value:
{'clean': False,
 'complex_mass': False,
 'cuttools_dir': '',
 'export_format': 'madloop_matchbox',
 'fortran_compiler': 'gfortran',
 'loop_dir': '',
 'mp': True,
 'output_dependencies': 'external',
...