34 call show_error (
"Impossible to allocate memory"//char(0), &
35 "Function: ALLOCRINGS"//char(0),
"Table: NRING"//char(0))
39if (
allocated(
pna))
deallocate(
pna)
42 call show_error (
"Impossible to allocate memory"//char(0), &
43 "Function: ALLOCRINGS"//char(0),
"Table: PNA"//char(0))
50 call show_error (
"Impossible to allocate memory"//char(0), &
51 "Function: ALLOCRINGS"//char(0),
"Table: MAXPNA"//char(0))
58 call show_error (
"Impossible to allocate memory"//char(0), &
59 "Function: ALLOCRINGS"//char(0),
"Table: MINPNA"//char(0))
77 call show_error (
"Impossible to allocate memory"//char(0), &
78 "Function: ALLOCRINGS"//char(0),
"Table: AMPAT"//char(0))
110INTEGER (KIND=c_int) FUNCTION initrings (VRINGS, VTAILLD, VTLT, VNUMA, VABAB, VHOMO) bind (C,NAME='initrings_')
121INTEGER (KIND=c_int),
INTENT(IN) :: vrings, vtailld, vtlt, vnuma, vabab, vhomo
146 if (vabab .eq. 1)
abab=.true.
147 if (vhomo .eq. 1)
no_homo=.true.
151 write (6,
'("RINGS:: ABAB= ",l1,", NO_HOMO= ",l1,", NUMA= ",i5,", TAILLR= ",i2)')
abab,
no_homo,
numa,
taillr
166if (vrings.eq.1 .or. vrings.eq.2)
then
179if (vrings .le. 1)
then
183if (vrings .eq. 2)
then
integer(kind=c_int) function initrings(vrings, vtailld, vtlt, vnuma, vabab, vhomo)
logical function allocrings()
void show_error(char *error, int val, GtkWidget *win)
show error message
integer, dimension(:,:), allocatable ampat
integer, dimension(:), allocatable nbspbs
integer, dimension(:,:), allocatable maxpna
integer, dimension(:,:), allocatable minpna
integer, dimension(:,:,:), allocatable pna
integer, dimension(:,:), allocatable, target nring
integer function guttman_rings()
integer function king_rings()
integer function primitive_rings()