3 ! Contributed by Lionel Guez <guez@lmd.ens.fr>
5 character(len
= :), allocatable
:: attr_name(:)
8 character(len
= :), allocatable
:: attr_name(:)
10 type(coord_def
) coordinates
12 write (buffer
, *) attr_name
13 if (buffer
.ne
. " units") stop 1
14 coordinates
= coord_def(attr_name
)
15 write (buffer
, *) coordinates
%attr_name
16 if (buffer
.ne
. " units") stop 2
17 deallocate (attr_name
)
18 deallocate (coordinates
%attr_name
)