ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/types/AtomTypeProperties.h
Revision: 1632
Committed: Fri Oct 22 20:21:36 2004 UTC (19 years, 8 months ago) by gezelter
Content type: text/plain
File size: 922 byte(s)
Log Message:
More on AtomType and DirectionalAtomType

File Contents

# User Rev Content
1 gezelter 1628 #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 gezelter 1632 int is_Directional;
13 gezelter 1628 int is_LennardJones;
14     int is_Electrostatic;
15     int is_Charge;
16     int is_Dipole;
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 gezelter 1632 type :: AtomTypeProperties
29 gezelter 1628 SEQUENCE
30     integer :: ident
31 gezelter 1632 logical :: is_Directional
32 gezelter 1628 logical :: is_LennardJones
33     logical :: is_Electrostatic
34     logical :: is_Charge
35     logical :: is_Dipole
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