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

Class ALOHAWriterForGPU

source code

   WriteALOHA --+    
                |    
ALOHAWriterForCPP --+
                    |
                   ALOHAWriterForGPU

Nested Classes [hide private]

Inherited from ALOHAWriterForCPP: writer

Instance Methods [hide private]
 
get_header_txt(self, name=None, couplings=None, mode='')
Define the Header of the fortran file.
source code
 
get_h_text(self, couplings=None)
Return the full contents of the .h file
source code

Inherited from ALOHAWriterForCPP: change_number_format, change_var_format, define_expression, define_symmetry, get_declaration_txt, get_fct_format, get_foot_txt, get_momenta_txt, get_one_momenta_def, shift_indices, write, write_combined, write_combined_cc

Inherited from WriteALOHA: __init__, define_argument_list, define_content, get_P_sign, get_momentum_conservation_sign, make_call_list, make_declaration_list, pass_to_HELAS, write_MultContainer, write_MultVariable, write_indices_part, write_obj, write_obj_Add, write_variable, write_variable_id

Class Variables [hide private]
  extension = '.cu'
  realoperator = '.re'
  imagoperator = '.im'
  ci_definition = 'complex<double> cI = mkcmplx(0., 1.);\n'

Inherited from ALOHAWriterForCPP: remove_double, type2def

Inherited from WriteALOHA: power_symbol, type_to_size, type_to_variable

Method Details [hide private]

get_header_txt(self, name=None, couplings=None, mode='')

source code 

Define the Header of the fortran file. This include

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

get_h_text(self, couplings=None)

source code 

Return the full contents of the .h file

Overrides: ALOHAWriterForCPP.get_h_text