File: common.fh

package info (click to toggle)
pnetcdf 1.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,812 kB
  • sloc: ansic: 85,298; f90: 10,707; fortran: 9,283; cpp: 8,864; makefile: 3,084; perl: 2,833; sh: 2,538; yacc: 1,227; lex: 216
file content (58 lines) | stat: -rw-r--r-- 1,677 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
!******************************************************************************

!  File:        common.fh

!  Purpose:        This file is the global common, visible to all modules,
!                containing such things as physical constants, runtime
!                parameters, etc.

        implicit none



#include "physicaldata.fh"

!                Simulation time and timestep

        double precision        time, dt

!                Simulation step number and beginning step number; my processing
!                element (PE) number, the PE number of the "master" processor,
!                and the total number of PEs

        integer nstep, nbegin, MyPE, MasterPE, NumPEs

        common /floats/ time, dt

        common /intgrs/ nstep, nbegin, MyPE, MasterPE, NumPEs

! add the runtime parameters needed explicitly
        character(len=128) :: basenm

        common /runtime_char/ basenm

!==============================================================================

!                Numerical constants

        include 'definitions.fh'

!==============================================================================

!                PARAMESH adaptive mesh refinement (AMR) declarations

        include 'tree.fh'

!==============================================================================

!                Message-Passing Interface (MPI) library subroutines & constants

        integer info_used
        logical use_nonblocking_io
        logical indep_io

        double precision chk_t(3), corner_t(3), nocorner_t(3)
        common /timers/ chk_t, corner_t, nocorner_t, info_used, &
                        use_nonblocking_io, indep_io