ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/types/AtomTypeProperties.h
Revision: 1937
Committed: Thu Jan 13 19:40:37 2005 UTC (19 years, 5 months ago) by tim
Content type: text/plain
File size: 916 byte(s)
Log Message:
port to SGI platform

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_Charge;
15     int is_Dipole;
16 gezelter 1930 int is_Quadrupole;
17 gezelter 1628 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 1930 integer :: is_Directional
32     integer :: is_LennardJones
33     integer :: is_Charge
34     integer :: is_Dipole
35     integer :: is_Quadrupole
36     integer :: is_Sticky
37     integer :: is_GayBerne
38     integer :: is_EAM
39     integer :: is_Shape
40     integer :: is_FLARB
41 gezelter 1628 end type AtomTypeProperties
42     #endif