| 1 | C+-----------------------------------------------------------------------+
|
|---|
| 2 | C| MAIN CODE FOR MADWEIGHT |
|
|---|
| 3 | C| |
|
|---|
| 4 | C| Author: Pierre Artoisenet (UCL-CP3) |
|
|---|
| 5 | C| Olivier Mattelaer (UCL-CP3) |
|
|---|
| 6 | C+-----------------------------------------------------------------------+
|
|---|
| 7 | C| This file is generated automaticly by MADWEIGHT-ANALYZER |
|
|---|
| 8 | C+-----------------------------------------------------------------------+
|
|---|
| 9 | subroutine main_code(x,n_var,num_sol)
|
|---|
| 10 | C+-----------------------------------------------------------------------+
|
|---|
| 11 | C| Central Routine for the change of variable choice |
|
|---|
| 12 | C| - num_sol: number of the solution to charge |
|
|---|
| 13 | C| - x : random number from vegas |
|
|---|
| 14 | C+-----------------------------------------------------------------------+
|
|---|
| 15 |
|
|---|
| 16 | integer num_sol
|
|---|
| 17 | double precision x(20)
|
|---|
| 18 | integer n_var
|
|---|
| 19 | double precision jac_loc
|
|---|
| 20 |
|
|---|
| 21 | C+-----------------------------------------------------------------------+
|
|---|
| 22 | C| Scedullar Part |
|
|---|
| 23 | C+-----------------------------------------------------------------------+
|
|---|
| 24 | if (num_sol.eq.1) then
|
|---|
| 25 |
|
|---|
| 26 | C+-----------------------------------------------------------------------+
|
|---|
| 27 | C| |
|
|---|
| 28 | C| ** Enlarged Contraint Sector global information ** |
|
|---|
| 29 | C| |
|
|---|
| 30 | C| Class: E |
|
|---|
| 31 | C| particle in ECS : 4(missing) 6(missing) 3(visible) |
|
|---|
| 32 | C| 5(visible) |
|
|---|
| 33 | C| blob linked are generated by : |
|
|---|
| 34 | C| |
|
|---|
| 35 | C| |
|
|---|
| 36 | C+-----------------------------------------------------------------------+
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | C+-----------------------------------------------------------------------+
|
|---|
| 42 | C| |
|
|---|
| 43 | C| ENLARGED CONTRAINT SECTOR CLASS E |
|
|---|
| 44 | C| |
|
|---|
| 45 | C+-----------------------------------------------------------------------+
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 | call class_e(x,n_var,jac_loc,4,6,3,5,-1,-2,-3)
|
|---|
| 49 | call block_stat(1,'e-4')
|
|---|
| 50 | if (jac_loc.lt.0d0) return
|
|---|
| 51 |
|
|---|
| 52 | elseif (num_sol.eq.2) then
|
|---|
| 53 |
|
|---|
| 54 | C+-----------------------------------------------------------------------+
|
|---|
| 55 | C| |
|
|---|
| 56 | C| ** Enlarged Contraint Sector global information ** |
|
|---|
| 57 | C| |
|
|---|
| 58 | C| Class: E |
|
|---|
| 59 | C| particle in ECS : 4(missing) 6(missing) 3(visible) |
|
|---|
| 60 | C| 5(visible) |
|
|---|
| 61 | C| blob linked are generated by : |
|
|---|
| 62 | C| |
|
|---|
| 63 | C| |
|
|---|
| 64 | C+-----------------------------------------------------------------------+
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 |
|
|---|
| 69 | C+-----------------------------------------------------------------------+
|
|---|
| 70 | C| |
|
|---|
| 71 | C| ENLARGED CONTRAINT SECTOR CLASS E |
|
|---|
| 72 | C| |
|
|---|
| 73 | C+-----------------------------------------------------------------------+
|
|---|
| 74 |
|
|---|
| 75 |
|
|---|
| 76 | call class_e(x,n_var,jac_loc,4,6,3,5,-1,-2,-3)
|
|---|
| 77 | call block_stat(1,'e-4')
|
|---|
| 78 | if (jac_loc.lt.0d0) return
|
|---|
| 79 |
|
|---|
| 80 | endif
|
|---|