| 1 | #ifdef __OPENMD_C | 
| 2 | #ifndef __FFORCEOPTIONS | 
| 3 | #define __FFORCEOPTIONS | 
| 4 |  | 
| 5 | #define GEOMETRIC_MIXING_RULE  1 | 
| 6 | #define ARITHMETIC_MIXING_RULE 2 | 
| 7 | #define CUBIC_MIXING_RULE 3 | 
| 8 | #define HHG_MIXING_RULE 4 | 
| 9 |  | 
| 10 | typedef  struct{ | 
| 11 | int DistanceMixingRule; | 
| 12 | int EnergyMixingRule; | 
| 13 | RealType vdw12scale; | 
| 14 | RealType vdw13scale; | 
| 15 | RealType vdw14scale; | 
| 16 | RealType electrostatic12scale; | 
| 17 | RealType electrostatic13scale; | 
| 18 | RealType electrostatic14scale; | 
| 19 | RealType GayBerneMu; | 
| 20 | RealType GayBerneNu; | 
| 21 | } ForceOptions; | 
| 22 |  | 
| 23 |  | 
| 24 | #endif | 
| 25 | #endif /*__OPENMD_C*/ | 
| 26 |  | 
| 27 | #ifdef  __FORTRAN90 | 
| 28 |  | 
| 29 | INTEGER, PARAMETER:: GEOMETRIC_MIXING_RULE  = 1 | 
| 30 | INTEGER, PARAMETER:: ARITHMETIC_MIXING_RULE = 2 | 
| 31 | INTEGER, PARAMETER:: CUBIC_MIXING_RULE = 3 | 
| 32 | INTEGER, PARAMETER:: HHG_MIXING_RULE = 4 | 
| 33 |  | 
| 34 | type :: ForceOptions | 
| 35 | SEQUENCE | 
| 36 | integer :: DistanceMixingRule | 
| 37 | integer :: EnergyMixingRule | 
| 38 | real(kind=dp) :: vdw12scale | 
| 39 | real(kind=dp) :: vdw13scale | 
| 40 | real(kind=dp) :: vdw14scale | 
| 41 | real(kind=dp) :: electrostatic12scale | 
| 42 | real(kind=dp) :: electrostatic13scale | 
| 43 | real(kind=dp) :: electrostatic14scale | 
| 44 | real(kind=dp) :: GayBerneMu | 
| 45 | real(kind=dp) :: GayBerneNu | 
| 46 | end type ForceOptions | 
| 47 |  | 
| 48 | #endif |