libsim  Versione 7.1.9
vol7d_dballe_class_var_du.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 if (associated(this%/**/vol7d_poly_name%/**/vol7d_poly_types_v)) then
19 do i =1,size(this%/**/vol7d_poly_name%/**/vol7d_poly_types_v)
20 
21 if (this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%btable(:1) == "*") then
22  j=firsttrue(this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%btable(2:) == dballevar(:)%btable)
23 else
24  j=firsttrue(this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%btable == dballevar(:)%btable)
25 end if
26 
27  if ( j > 0 )then
28  if(.not.c_e(this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%description))this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%description = dballevar(j)%description
29  if(.not.c_e(this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%unit))this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%unit = dballevar(j)%unit
30  if(.not.c_e(this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%scalefactor))this%/**/vol7d_poly_name%/**/vol7d_poly_types_v(i)%scalefactor = dballevar(j)%scalefactor
31  end if
32 end do
33 endif
34 

Generated with Doxygen.