ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/types/AtomTypeProperties.h
Revision: 1628
Committed: Thu Oct 21 20:15:31 2004 UTC (19 years, 8 months ago) by gezelter
Content type: text/plain
File size: 890 byte(s)
Log Message:
Breaky Breaky.   Fixey Fixey.

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     int is_LennardJones;
13     int is_Electrostatic;
14     int is_Charge;
15     int is_Dipole;
16     int is_Sticky;
17     int is_GayBerne;
18     int is_EAM;
19     int is_Shape;
20     int is_FLARB;
21     } AtomTypeProperties;
22     #endif
23     #endif
24    
25     #ifdef __FORTRAN90
26    
27     type, public :: AtomTypeProperties
28     PRIVATE
29     SEQUENCE
30     integer :: ident
31     logical :: is_LennardJones
32     logical :: is_Electrostatic
33     logical :: is_Charge
34     logical :: is_Dipole
35     logical :: is_Sticky
36     logical :: is_GayBerne
37     logical :: is_EAM
38     logical :: is_Shape
39     logical :: is_FLARB
40     end type AtomTypeProperties
41     #endif