7 !! Reading of a value of a physical parameter from the phys_para file.
11 !! Copyright 2009-2013 Ralf Greve
15 !! This file is part of SICOPOLIS.
17 !! SICOPOLIS is free software: you can redistribute it and/or modify
18 !! it under the terms of the GNU General Public License as published by
19 !! the Free Software Foundation, either version 3 of the License, or
20 !! (at your option) any later version.
22 !! SICOPOLIS is distributed in the hope that it will be useful,
23 !! but WITHOUT ANY WARRANTY; without even the implied warranty of
24 !! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 !! GNU General Public License for more details.
27 !! You should have received a copy of the GNU General Public License
28 !! along with SICOPOLIS. If not, see <http://www.gnu.org/licenses/>.
30 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33 !> Reading of a value of a physical parameter from the phys_para file.
34 !<------------------------------------------------------------------------------
40 integer(i4b) :: n_unit
42 character ::
check, ch_dummy
43 character (len=*),
parameter :: form1=
'(a)', form3=
'(15x)'
50 read(n_unit,form1,advance=
'no')
check
53 read(n_unit,form1) ch_dummy
54 read(n_unit,form1,advance=
'no')
check
57 if (
check /=
'%')
then
58 read(n_unit,form3,advance=
'no')