ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/md_code/atype_typedefs.F90
Revision: 247
Committed: Mon Jan 27 18:28:11 2003 UTC (21 years, 5 months ago) by chuckv
File size: 988 byte(s)
Log Message:
added generic atypes

File Contents

# Content
1 !! module defines atypes available to simulation
2
3 module atype_typedefs
4 use definitions, only: dp
5 implicit none
6
7
8 !! Atype for lennard-jones module
9 type :: lj_atype
10
11 !! Unique number for place in linked list
12 integer :: atype_number = 0
13 !! Unique indentifier number (ie atomic no, etc)
14 integer :: atype_ident = 0
15 !! Mass of Particle
16 real ( kind = dp ) :: mass = 0.0_dp
17 !! Lennard-Jones epslon
18 real ( kind = dp ) :: epsilon = 0.0_dp
19 !! Lennard-Jones Sigma
20 real ( kind = dp ) :: sigma = 0.0_dp
21 !! Lennard-Jones Sigma Squared
22 real ( kind = dp ) :: sigma2 = 0.0_dp
23 !! Lennard-Jones Sigma to sixth
24 real ( kind = dp ) :: sigma6 = 0.0_dp
25 !! Pointer for linked list creation
26 type (lj_atype), pointer :: next => null()
27 type (lj_atype), pointer :: prev => null()
28 end type lj_atype
29 !! Pointer list for ljAtype
30 type :: lj_identPtrList
31 type(lj_atype), pointer :: this => null()
32 end type lj_identPtrList
33
34 end module atype_typedefs