Changes between Version 10 and Version 11 of FormFactors
 Timestamp:
 12/12/13 12:38:35 (6 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

FormFactors
v10 v11 101 101 VVS2 = Lorentz(name = 'VVS2', 102 102 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)') 104 104 }}} 105 105 1. All functions defined liked that need to return a complex number 106 106 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. 107 108 108 109 Examples of functions.f 109 110 {{{ 110 double precision FormFactor(S1):111 112 double precision S1111 double complex FormFactor(S1, S2): 112 113 double complex S1, S2 113 114 include input.inc ! include all model parameter 114 115 115 FormFactor = DLOG( S1**2/MW__EXP__2)116 FormFactor = LOG( (S1**2 + S2**2)/MW**2) 116 117 return 117 118 end