| 1 |
< |
#ifdef __C |
| 1 |
> |
#ifdef __OOPSE_C |
| 2 |
|
|
| 3 |
|
#ifndef __FSIMULATION |
| 4 |
|
|
| 6 |
|
/** This header provides dual access for the simulation structure between |
| 7 |
|
fortran and C for the simtype structure. NOTE: Sequence of struct |
| 8 |
|
components must match between C and fortran and in general be packed |
| 9 |
< |
double,int,char. |
| 9 |
> |
RealType,int,char. |
| 10 |
|
*/ |
| 11 |
|
typedef struct{ |
| 12 |
– |
double dielect; |
| 12 |
|
int SIM_uses_PBC; |
| 13 |
|
int SIM_uses_DirectionalAtoms; |
| 14 |
|
int SIM_uses_LennardJones; |
| 22 |
|
int SIM_uses_Shapes; |
| 23 |
|
int SIM_uses_FLARB; |
| 24 |
|
int SIM_uses_RF; |
| 25 |
+ |
int SIM_uses_SF; |
| 26 |
+ |
int SIM_uses_SP; |
| 27 |
+ |
int SIM_uses_SC; |
| 28 |
+ |
int SIM_uses_MNM; |
| 29 |
+ |
int SIM_uses_BoxDipole; |
| 30 |
+ |
int SIM_uses_AtomicVirial; |
| 31 |
|
} simtype; |
| 32 |
< |
#endif //__FSIMULATION |
| 33 |
< |
#endif //__C |
| 32 |
> |
#endif /*__FSIMULATION*/ |
| 33 |
> |
#endif /*__OOPSE_C*/ |
| 34 |
|
|
| 35 |
|
#ifdef __FORTRAN90 |
| 36 |
|
|
| 37 |
|
type, public :: simtype |
| 38 |
|
PRIVATE |
| 39 |
|
SEQUENCE |
| 35 |
– |
!! Dielectric Constant for reaction field |
| 36 |
– |
real ( kind = dp ) :: dielect = 0.0_dp |
| 40 |
|
!! Periodic Boundry Conditions |
| 41 |
|
logical :: SIM_uses_PBC |
| 42 |
|
logical :: SIM_uses_DirectionalAtoms |
| 51 |
|
logical :: SIM_uses_Shapes |
| 52 |
|
logical :: SIM_uses_FLARB |
| 53 |
|
logical :: SIM_uses_RF |
| 54 |
+ |
logical :: SIM_uses_SF |
| 55 |
+ |
logical :: SIM_uses_SP |
| 56 |
+ |
logical :: SIM_uses_SC |
| 57 |
+ |
logical :: SIM_uses_MNM |
| 58 |
+ |
logical :: SIM_uses_BoxDipole |
| 59 |
+ |
logical :: SIM_uses_AtomicVirial |
| 60 |
|
end type simtype |
| 61 |
|
|
| 62 |
|
#endif |