libsim Versione 7.2.4
vol7d_dballe_class_nana.F90
1! Copyright (C) 2010 ARPA-SIM <urpsim@smr.arpa.emr.it>
2! authors:
3! Davide Cesari <dcesari@arpa.emr.it>
4! Paolo Patruno <ppatruno@arpa.emr.it>
5
6! This program is free software; you can redistribute it and/or
7! modify it under the terms of the GNU General Public License as
8! published by the Free Software Foundation; either version 2 of
9! the License, or (at your option) any later version.
10
11! This program is distributed in the hope that it will be useful,
12! but WITHOUT ANY WARRANTY; without even the implied warranty of
13! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14! GNU General Public License for more details.
15
16! You should have received a copy of the GNU General Public License
17! along with this program. If not, see <http://www.gnu.org/licenses/>.
18!type /**/VOL7D_POLY_TYPES_V
19
20if (associated(this%vol7d%anavar%/**/vol7d_poly_types_v))then
21 nanavar/**/vol7d_poly_types_v=size(this%vol7d%anavar%/**/vol7d_poly_types_v(:))
22 allocate (lanavar/**/vol7d_poly_types_v(nanavar/**/vol7d_poly_types_v))
23 lanavar/**/vol7d_poly_types_v(nanavar/**/vol7d_poly_types_v)=.false.
24 if (present(anavar))then
25 lanavar/**/vol7d_poly_types_v(:)=.false.
26 do i=1,size(anavar)
27 where (anavar(i) == this%vol7d%anavar%/**/vol7d_poly_types_v(:)%btable)
28 lanavar/**/vol7d_poly_types_v(:)=.true.
29 end where
30 end do
31 else
32 lanavar/**/vol7d_poly_types_v(:)=c_e(this%vol7d%anavar%/**/vol7d_poly_types_v(:)%btable)
33 end if
34else
35 allocate (lanavar/**/vol7d_poly_types_v(0))
36end if
37
38if (associated(this%vol7d%anavarattr%/**/vol7d_poly_types_v))then
39 nanaattr/**/vol7d_poly_types_v=size(this%vol7d%anaattr%/**/vol7d_poly_types_v(:))
40 allocate (lanaattr/**/vol7d_poly_types_v(nanaattr/**/vol7d_poly_types_v))
41 lanaattr/**/vol7d_poly_types_v(nanaattr/**/vol7d_poly_types_v)=.false.
42 if (present(anaattr))then
43 lanaattr/**/vol7d_poly_types_v(:)=.false.
44 do i=1,size(anaattr)
45 where (anaattr(i) == this%vol7d%anaattr%/**/vol7d_poly_types_v(:)%btable)
46 lanaattr/**/vol7d_poly_types_v(:)=.true.
47 end where
48 end do
49 else
50 lanaattr/**/vol7d_poly_types_v(:)=c_e(this%vol7d%anaattr%/**/vol7d_poly_types_v(:)%btable)
51 end if
52else
53 allocate (lanaattr/**/vol7d_poly_types_v(0))
54end if
55
56!# end type /**/VOL7D_POLY_TYPES_V
57

Generated with Doxygen.