1 |
#ifdef __C |
2 |
#ifndef TYPES_ATOMTYPEPROPERTIES_H |
3 |
#define TYPES_ATOMTYPEPROPERTIES_H |
4 |
|
5 |
/** |
6 |
* This header provides dual access for the AtomTypeProperties between |
7 |
* fortran and C. NOTE: The sequence of struct components MUST match |
8 |
* between C and Fortran and in general be packed double,int,char. |
9 |
*/ |
10 |
typedef struct{ |
11 |
int ident; |
12 |
int is_Directional; |
13 |
int is_LennardJones; |
14 |
int is_Charge; |
15 |
int is_Dipole; |
16 |
int is_Quadrupole; |
17 |
int is_Sticky; |
18 |
int is_GayBerne; |
19 |
int is_EAM; |
20 |
int is_Shape; |
21 |
int is_FLARB; |
22 |
} AtomTypeProperties; |
23 |
#endif |
24 |
#endif |
25 |
|
26 |
#ifdef __FORTRAN90 |
27 |
|
28 |
type :: AtomTypeProperties |
29 |
SEQUENCE |
30 |
integer :: ident |
31 |
logical :: is_Directional |
32 |
logical :: is_LennardJones |
33 |
logical :: is_Charge |
34 |
logical :: is_Dipole |
35 |
logical :: is_Quadrupole |
36 |
logical :: is_Sticky |
37 |
logical :: is_GayBerne |
38 |
logical :: is_EAM |
39 |
logical :: is_Shape |
40 |
logical :: is_FLARB |
41 |
end type AtomTypeProperties |
42 |
#endif |