Debian Codegraph @

contrib/iapbs/src/wrapper_inc.f

raw
1 c-----------------------------------------------------------------------
2 c
3 c iAPBS variables definition
4 c
5 c Similar type of varibles are bunched together (integer/integer and
6 c real/real) to mimize fortran/C passing incompatability.
7 c
8 c For detailed description of individual variables please see
9 c APBS manual.
10 c
11 c-----------------------------------------------------------------------
12 c INTEGER(kind=4), allocatable, dimension(:) :: ARRINFO, MAXPROCS
13 c INTEGER(kind=4), allocatable, dimension(:) :: ARRERR
14 c INTEGER(kind=4) NPROC,MPIINFO4,MPICOMM4,ME4,MPISELF,MPIERRS(1)
15 c INTEGER(kind=4) ME,NP,MPIDP,MEROOT,IONE,IERR
16
17 integer :: MAXION, NATOMS
18 parameter (MAXION = 10, NATOMS = 50000)
19
20 c-----------------------------------------------------------------------
21 c int ispara; /**< 1 => is a parallel calculation,
22 c * 0 => is not */
23 integer ispara
24
25 c-----------------------------------------------------------------------
26 double precision r_param(9)
27
28 c-----------------------------------------------------------------------
29 integer :: i_param(25)
30
31
32 c-----------------------------------------------------------------------
33 c int dime[3]; /**< Grid dimensions */
34 c int pdime[3]; /**< Grid of processors to be used in
35 c * calculation */
36 c
37 integer :: dime(3), pdime(3)
38
39 c-----------------------------------------------------------------------
40 c double grid[3]; /**< Grid spacings */
41 c double glen[3]; /**< Grid side lengths. */
42 c double center[3]; /**< Grid center. If ispart = 0, then this is
43 c * only meaningful if cmeth = 0. However, if
44 c * ispart = 1 and cmeth = 0, then this is the
45 c * center of the non-disjoint (overlapping)
46 c * partition. If ispart = 1 and cmeth = 1, then
47 c * this is the vector that must be added to the
48 c * center of the molecule to give the center of
49 c * the non-disjoint partition. */c
50 c double cglen[3]; /**< Coarse grid side lengths */
51 c double fglen[3]; /**< Fine grid side lengths */
52 c double ccenter[3]; /**< Coarse grid center. */
53 c double fcenter[3]; /**< Fine grid center. */
54 c double ofrac; /**< Overlap fraction between procs */
55 c
56 double precision grid(3), glen(3), center(3), cglen(3), fglen(3)
57 double precision ccenter(3), fcenter(3), ofrac
58
59 c-----------------------------------------------------------------------
60 c mobile ion definition
61 c
62 c double ionq[MAXION]; /**< Counterion charges (in e) */
63 c double ionc[MAXION]; /**< Counterion concentrations (in M) */
64 c double ionr[MAXION]; /**< Counterion radii (in A) */
65 c
66 double precision ionq(MAXION), ionc(MAXION), ionrr(MAXION)
67
68 c-----------------------------------------------------------------------
69 c atom
70 c double position[3]; /**< Atomic position */
71 c double radius; /**< Atomic radius */
72 c double charge; /**< Atomic charge */
73 c these are defined inside of CHARMM
74
75 c-----------------------------------------------------------------------
76 c radii from wmain get saved in a_radius
77 c double precision a_radius(NATOMS)
78