SecDec/general/src/subexp/formfortran.m [ Mathematica Files ]

[ Top ] [ Mathematica Files ]

NAME

    formfortran.m

USAGE

  is called by subandexpand*l*h*.m to complete the epsilon expansion, and write the fortran files f*.f
  into the appropriate subdirectories 

USES

  parts.m, ExpOpt.m, 

  USED BY 
    
  subandexpand*l*h*.m

PURPOSE

  writes the fortran files f*.f in the appropriate subdirectories

INPUTS

  from subandexpand*l*h*:
  n: number of integration variables
  path, srcdir: where to load parts.m, ExpOpt.m from
  logi, lini, higheri: the number of logarithmic, linear and higher order poles respectively

  originally from formindlist.m:
  integrandfunctionlist: contains the list of exponents of each variable, together with the number of functions
  with the identical exponent structure
  store[*,*]: the functions associated with the integrandfunctionlist
   
  originally from symbsub.m:
  sizemu:the number of pieces the integrand is split into after subtraction.
  epspower[*]:the power of epsilon as a prefactor in piece * of the subtraction
  numcoeff[*]:the O(1) prefactor of the piece * of the subtraction
  set[*]: if {x,a} were an element of set[*], this indicates that the piece * of the subtraction is to 
   be differentiated 'a' times wrt x, and x is then to be set to zero
  exponents[*,**]: the exponent of variable z[**] in piece * of the subtraction


  RESULT
  using output from symbsub.m, creates explicit form of the integrands, performs IBP where desired,
  performs eps expansion to the required order, optimizes these expressions, and writes them to files
  f*.f in the appropriate subdirectory in fortran syntax, ready to be numerically integrated.

SEE ALSO

  subandexpand*l*h*.m, formindlist.m, symbsub.m, parts.m, ExpOpt.m, sqrtsimp.m