Changeset 29865 in project
 Timestamp:
 10/07/13 07:58:24 (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

release/4/nemo/trunk/examples/PFC/winograd.nemo
r29864 r29865 7 7 8 8 (const vtraub = 55) 9 10 (fun exp1 (x) (if (x < 100) then 0.0 else exp (x))) 11 12 (fun vtrap (x y) 13 (if (abs (x / y) < 1e6) 14 then (y * (1  x / y / 2)) 15 else (x / (exp1 (x / y)  1)))) 16 17 (fun vtrap_CaL (x c) 18 (if (abs (x / c) < 1e6) 19 then (c + (x / 2)) 20 else (x / (1  exp ( neg(x) / c))))) 9 21 10 22 (component (type defaults) … … 14 26 ) 15 27 16 17 (fun exp1 (x) (if (x < 100) then 0.0 else exp (x)))18 19 (fun vtrap (x y)20 (if (abs (x / y) < 1e6)21 then (y * (1  x / y / 2))22 else (x / (exp1 (x / y)  1))))23 24 (fun vtrap_CaL (x c)25 (if (abs (x / c) < 1e6)26 then (c + (x / 2))27 else (x / (1  exp ( neg(x) / c)))))28 29 28 (component (type membranecapacitance) 30 29 (const c = 1) … … 33 32 34 33 (component (type geometry) (name soma) 35 (const L = 1 00)36 (const diam = 1 00)34 (const L = 18.8) 35 (const diam = 18.8) 37 36 (output L diam )) 38 37
Note: See TracChangeset
for help on using the changeset viewer.