21INTEGER (KIND=c_int) FUNCTION initchains (VTLT, VAAA, VACA, VHOMO, V121, VTAILLC, VNUMA) bind (C,NAME='initchains_')
32INTEGER (KIND=c_int),
INTENT(IN) :: vtlt, vaaa, vaca, vhomo, v121, vtaillc, vnuma
52 if (vaaa == 1)
aaaa=.true.
53 if (vaca == 1)
acac=.true.
59 write (6,
'("CHAINS:: AAAA= ",l1,", ACAC= ",l1,", NO_HOMO= ",l1,", ISOLATED= ",l1)')
aaaa,
acac,
no_homo,
isolated
74DOUBLE PRECISION :: tamp, etamp
75DOUBLE PRECISION,
DIMENSION(:),
ALLOCATABLE :: ctab
79 call show_error (
"Impossible to allocate memory"//char(0), &
80 "Function: RECHAINS"//char(0),
"Table: CTAB"//char(0))
84if (
allocated(
red))
deallocate(
red)
87 call show_error (
"Impossible to allocate memory"//char(0), &
88 "Function: RECHAINS"//char(0),
"Table: RED"//char(0))
95 call show_error (
"Impossible to allocate memory"//char(0), &
96 "Function: RECHAINS"//char(0),
"Table: MOYRED"//char(0))
103 call show_error (
"Impossible to allocate memory"//char(0), &
104 "Function: RECHAINS"//char(0),
"Table: ECTYPE"//char(0))
128 tamp = tamp + ctab(
i)
131if (tamp .eq. 0.0)
then
144 call show_error (
"Impossible to allocate memory"//char(0), &
145 "Function: RECHAINS"//char(0),
"Table: TOTPSTEP"//char(0))
169if (
allocated(
red))
deallocate(
red)
170if (
allocated(ctab))
deallocate(ctab)
integer function chains()
integer function rechains()
integer(kind=c_int) function initchains(vtlt, vaaa, vaca, vhomo, v121, vtaillc, vnuma)
void show_error(char *error, int val, GtkWidget *win)
show error message
double precision, dimension(:), allocatable moyred
double precision, dimension(:), allocatable totpstep
integer, dimension(:), allocatable nbspbs
double precision, dimension(:), allocatable red
double precision, dimension(:), allocatable ectype
integer, dimension(:,:), allocatable, target nring
subroutine moyenne(tableau, longtm, moytab)
subroutine ect_type(moyenne, tableau, longte, ec_type)