38#include "implicit_f.inc"
42 INTEGER ,
INTENT(IN) :: NUMTABL
43 TYPE(
table_4d_) ,
INTENT(IN) :: TABLE(NUMTABL)
47 INTEGER I,J,K,L,M,N,LEN,NPT,NDIM
49 my_real,
DIMENSION(:) ,
ALLOCATABLE :: ytmp
55 IF (table(n)%NOTABLE <= 0) cycle
59 npt =
SIZE(table(n)%X(i)%VALUES)
61 CALL write_db(table(n)%X(i)%VALUES,npt)
69 ELSE IF (ndim == 2)
THEN
76 ytmp(m) = table(n)%Y2D(i,j)
80 ELSE IF (ndim == 3)
THEN
81 len = ldim(1)*ldim(2)*ldim(3)
88 ytmp(m) = table(n)%Y3D(i,j,k)
93 ELSE IF (ndim == 4)
THEN
94 len = ldim(1)*ldim(2)*ldim(3)*ldim(4)
102 ytmp(m) = table(n)%Y4D(i,j,k,l)
109 IF (
ALLOCATED(ytmp))
DEALLOCATE(ytmp)