1 c===========================================================================
3 c This file is part of TISEAN
5 c Copyright (c) 1998-2007 Rainer Hegger, Holger Kantz, Thomas Schreiber
7 c TISEAN is free software; you can redistribute it and/or modify
8 c it under the terms of the GNU General Public License as published by
9 c the Free Software Foundation; either version 2 of the License, or
10 c (at your option) any later version.
12 c TISEAN is distributed in the hope that it will be useful,
13 c but WITHOUT ANY WARRANTY; without even the implied warranty of
14 c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 c GNU General Public License for more details.
17 c You should have received a copy of the GNU General Public License
18 c along with TISEAN; if not, write to the Free Software
19 c Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 c===========================================================================
22 c utilities for TISEAN f-sources
23 c===========================================================================
28 if(igetv.eq.-1.and.lopt("V",1).eq.1) igetv=2**15-1
29 if(igetv.eq.-1) igetv=idef
32 function iexv(iverb,item)
33 c 1 if verbosity level includes item
35 iexv=iand(iverb,item)/item
38 c the following functions test for specific numerical verbosity values
40 function iv_io(iverb) ! report i/o activity
44 function iv_echo(iverb) ! echo first line of data read
45 iv_echo=iexv(iverb,128)
48 function iv_cost(iverb) ! current value of cost function
52 function iv_match(iverb) ! cost mismatch
53 iv_match=iexv(iverb,4)
56 function iv_cool(iverb) ! temperature etc. at cooling
60 function iv_vcost(iverb) ! verbose cost if improved
61 iv_vcost=iexv(iverb,16)
64 function iv_vmatch(iverb) ! verbose cost mismatch
65 iv_vmatch=iexv(iverb,32)
68 function iv_10(iverb) ! upo status after 10 points
72 function iv_100(iverb) ! upo status after 100 points
76 function iv_1000(iverb) ! upo status after 1000 points
80 function iv_upo(iverb) ! print orbits found
84 function iv_surr(iverb) ! print iterations / discrepancy
88 function iv_uncorr(iverb) ! neighbour search status
89 iv_uncorr=iexv(iverb,2)
92 function iv_clust(iverb) ! clustering status
93 iv_clust=iexv(iverb,2)