Changes between Version 10 and Version 11 of FormFactors


Ignore:
Timestamp:
12/12/13 12:38:35 (6 years ago)
Author:
omatt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FormFactors

    v10 v11  
    101101VVS2 = Lorentz(name = 'VVS2',
    102102               spins = [ 3, 3, 1 ],
    103                structure = 'FormFactor(P(-1,1)*P(-1,3) ) * P(-1,1)*P(-1,2)*Metric(1,2)')       
     103               structure = 'FormFactor(P(-1,1)*P(-1,3), P(-1,1)*P(-1,2) ) * P(-1,1)*P(-1,2)*Metric(1,2)')       
    104104}}}
    105105   1. All functions defined liked that need to return a complex number
    106106   2. All argument of such function need to be a complex number, or an expression returning a complex number. It is therefore not possible to provide to the function the set of momenta as argument (since this is a vector).   
     107   3. You can include as many argument as you want for the function.
    107108
    108109Examples of functions.f
    109110{{{
    110 double precision FormFactor(S1):
    111 
    112       double precision S1
     111double complex FormFactor(S1, S2):
     112
     113      double complex S1, S2
    113114      include input.inc ! include all model parameter
    114115     
    115       FormFactor = DLOG( S1**2/MW__EXP__2)
     116      FormFactor = LOG( (S1**2 + S2**2)/MW**2)
    116117      return
    117118      end