ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/templatesBranch10-28-03/OOPSE/libmdtools/fSimulation.h
Revision: 824
Committed: Mon Oct 27 22:07:49 2003 UTC (20 years, 9 months ago)
Content type: text/plain
File size: 933 byte(s)
Log Message:
This commit was manufactured by cvs2svn to create branch
'templatesBranch10-28-03'.

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 dielect;
11     int SIM_uses_PBC;
12     int SIM_uses_LJ;
13     int SIM_uses_sticky;
14     int SIM_uses_dipoles;
15     int SIM_uses_RF;
16     int SIM_uses_GB;
17     int SIM_uses_EAM;
18     } simtype;
19     #endif //__FSIMULATION
20     #endif //__C
21    
22     #ifdef __FORTRAN90
23    
24     type, public :: simtype
25     PRIVATE
26     SEQUENCE
27     !! Dielectric Constant for reaction field
28     real ( kind = dp ) :: dielect = 0.0_dp
29     !! Periodic Boundry Conditions
30     logical :: SIM_uses_PBC
31     logical :: SIM_uses_LJ
32     logical :: SIM_uses_sticky
33     logical :: SIM_uses_dipoles
34     logical :: SIM_uses_RF
35     logical :: SIM_uses_GB
36     logical :: SIM_uses_EAM
37     end type simtype
38     #endif