Package aloha :: Module aloha_writers :: Class ALOHAWriterForFortran
[hide private]
[frames] | no frames]

Class ALOHAWriterForFortran

source code

WriteALOHA --+
             |
            ALOHAWriterForFortran

routines for writing out Fortran

Instance Methods [hide private]
 
define_header(self, name=None)
Define the Header of the fortran file.
source code
 
define_momenta(self)
Define the Header of the fortran file.
source code
 
change_var_format(self, name)
Formatting the variable name to Fortran format
source code
 
change_number_format(self, number)
Formating the number
source code
 
define_expression(self) source code
 
define_symmetry(self, new_nb) source code
 
define_foot(self)
Prototype for language specific footer
source code
 
write(self, mode='self') source code
 
write_combined(self, lor_names, mode='self', offshell=None)
Write routine for combine ALOHA call (more than one coupling)
source code

Inherited from WriteALOHA: __init__, collect_variables, define_content, make_all_lists, make_call_list, make_declaration_list, make_momentum_conservation, pass_to_HELAS, write_indices_part, write_obj, write_obj_Add, write_obj_Mult, write_obj_Var

Class Variables [hide private]
  extension = '.f'
  declare_dict = {'F': 'double complex F%d(*)', 'S': 'double com...
  zero_pattern = re.compile(r'0+$')

Inherited from WriteALOHA: power_symbol, type_to_size, type_to_variable

Method Details [hide private]

define_header(self, name=None)

source code 

Define the Header of the fortran file. This include

  • function tag
  • definition of variable
Overrides: WriteALOHA.define_header

define_momenta(self)

source code 

Define the Header of the fortran file. This include

  • momentum conservation -definition of the impulsion

change_var_format(self, name)

source code 

Formatting the variable name to Fortran format

Overrides: change_var_format

change_number_format(self, number)

source code 

Formating the number

Overrides: change_number_format

define_foot(self)

source code 

Prototype for language specific footer

Overrides: WriteALOHA.define_foot
(inherited documentation)

Class Variable Details [hide private]

declare_dict

Value:
{'F': 'double complex F%d(*)',
 'S': 'double complex S%d(*)',
 'T': 'double complex T%s(*)',
 'V': 'double complex V%d(*)'}