ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/types/AtomTypeProperties.h
Revision: 2427
Committed: Mon Nov 14 21:29:36 2005 UTC (18 years, 7 months ago) by chuckv
Content type: text/plain
File size: 1108 byte(s)
Log Message:
Sutton-Chen almost done. Just need to fix do_forces to use Sutton-Chen.

File Contents

# Content
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_SplitDipole;
17 int is_Quadrupole;
18 int is_Sticky;
19 int is_StickyPower;
20 int is_GayBerne;
21 int is_EAM;
22 int is_Shape;
23 int is_FLARB;
24 int is_SC;
25 int is_MEAM;
26 } AtomTypeProperties;
27 #endif
28 #endif
29
30 #ifdef __FORTRAN90
31
32 type :: AtomTypeProperties
33 SEQUENCE
34 integer :: ident
35 integer :: is_Directional
36 integer :: is_LennardJones
37 integer :: is_Charge
38 integer :: is_Dipole
39 integer :: is_SplitDipole
40 integer :: is_Quadrupole
41 integer :: is_Sticky
42 integer :: is_StickyPower
43 integer :: is_GayBerne
44 integer :: is_EAM
45 integer :: is_Shape
46 integer :: is_FLARB
47 integer :: is_SC
48 integer :: is_MEAM
49 end type AtomTypeProperties
50 #endif