ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE_old/src/mdtools/libmdCode/fForceField.h
(Generate patch)

Comparing trunk/OOPSE_old/src/mdtools/libmdCode/fForceField.h (file contents):
Revision 356 by gezelter, Mon Mar 17 20:42:57 2003 UTC vs.
Revision 357 by mmeineke, Mon Mar 17 20:54:25 2003 UTC

# Line 1 | Line 1
1 #ifdef __C
1   #ifndef __FFORCEFIELD
2   #define __FFORCEFIELD
4 /** This header provides dual access for the force field 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  const int LB_MIXING_RULE = 1;
11  const int EXPLICIT_MIXING_RULE = 2;
12  int LJ_Mixing_Policy;
13  int use_RF;
14 } ffstruct;
15 #endif //__FFORCEFIELD
16 #endif //__C
3  
4 < #ifdef  __FORTRAN90
4 > #define LB_MIXING_RULE 1
5 > #define EXPLICIT_MIXING_RULE 2
6  
7 < type, public :: ffstruct
21 <   PRIVATE
22 <   SEQUENCE
23 <   integer :: LB_mixing_rule
24 <   integer :: Explicit_mixing_rule
25 <   integer :: LJ_Mixing_Policy
26 <   logical :: use_RF_c
27 < end type simtype
7 >
8   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines