31INTEGER,
INTENT(IN) :: ndq
32DOUBLE PRECISION,
DIMENSION(:),
ALLOCATABLE :: xr
36 if (
allocated(
btij))
deallocate(
btij)
39 call show_error (
"Impossible to allocate memory"//char(0), &
40 "Function: FZBT"//char(0),
"Table: BTij"//char(0))
50 call show_error (
"Impossible to allocate memory"//char(0), &
51 "Function: FZBT"//char(0),
"Table: FZSij"//char(0))
58if (
allocated(xr))
deallocate(xr)
61 call show_error (
"Impossible to allocate memory"//char(0), &
62 "Function: FZBT"//char(0),
"Table: Xr"//char(0))
100 btij(
m,3) = (
btij(
m,3)*xr(1)*xr(2) +1)*xr(1)*xr(2)
105if (
allocated(xr))
deallocate(xr)
113LOGICAL FUNCTION grbt(GrToBT, NDTR)
121INTEGER,
INTENT(IN) :: ndtr
122DOUBLE PRECISION,
DIMENSION(NDTR,NSP,NSP),
INTENT(IN) :: grtobt
124if (
allocated(
btij))
deallocate(
btij)
125allocate(
btij(ndtr,3), stat=
err)
127 call show_error (
"Impossible to allocate memory"//char(0), &
128 "Function: GRBT"//char(0),
"Table: BTij"//char(0))
logical function grbt(grtobt, ndtr)
logical function fzbt(ndq)
void show_error(char *error, int val, GtkWidget *win)
show error message
double precision, dimension(:,:,:), allocatable fzsij
double precision, dimension(:), allocatable xi
integer, dimension(:), allocatable nbspbs
double precision, dimension(:,:), allocatable btij
double precision, dimension(:,:,:), allocatable sij