ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/fSimulation.h
Revision: 569
Committed: Tue Jul 1 21:33:45 2003 UTC (21 years ago) by mmeineke
Content type: text/plain
File size: 1294 byte(s)
Log Message:
working on adding the box matrix to everything.

File Contents

# User Rev Content
1 mmeineke 377 #ifdef __C
2     #ifndef __FSIMULATION
3     #define __FSIMULATION
4     /** This header provides dual access for the simulation structure between
5     fortran and C for the simtype structure. NOTE: Sequence of struct
6     components must match between C and fortran and in general be packed
7     double,int,char.
8     */
9     typedef struct{
10     double rlist;
11     double rcut;
12     double rrf;
13     double rt;
14     double dielect;
15     int SIM_uses_PBC;
16     int SIM_uses_LJ;
17     int SIM_uses_sticky;
18     int SIM_uses_dipoles;
19     int SIM_uses_RF;
20     int SIM_uses_GB;
21     int SIM_uses_EAM;
22     } simtype;
23     #endif //__FSIMULATION
24     #endif //__C
25    
26     #ifdef __FORTRAN90
27    
28     type, public :: simtype
29     PRIVATE
30     SEQUENCE
31     !! List Cutoff
32     real ( kind = dp ) :: rlist = 0.0_dp
33     !! Radial cutoff
34     real ( kind = dp ) :: rcut = 0.0_dp
35     !! Reaction Field sphere radius
36     real ( kind = dp ) :: rrf = 0.0_dp
37     !! Taper radius for dipole and reaction field switching function
38     real ( kind = dp ) :: rt = 0.0_dp
39     !! Dielectric Constant for reaction field
40     real ( kind = dp ) :: dielect = 0.0_dp
41     !! Periodic Boundry Conditions
42     logical :: SIM_uses_PBC
43     logical :: SIM_uses_LJ
44     logical :: SIM_uses_sticky
45     logical :: SIM_uses_dipoles
46     logical :: SIM_uses_RF
47     logical :: SIM_uses_GB
48     logical :: SIM_uses_EAM
49     end type simtype
50     #endif