ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/interface_implementation/forceFactory.F90
Revision: 234
Committed: Fri Jan 10 21:56:06 2003 UTC (21 years, 5 months ago) by mmeineke
File size: 446 byte(s)
Log Message:
started some additions to wrap LJ down to fortran. INCOMPLETE!

File Contents

# Content
1 subroutine forceFactory(forceName,status,forceSetup)
2 use TraPPE_ExFF
3 use lj_ff
4 character(len = *) :: forceName
5 integer, intent(out) :: status
6 external forceSetup
7
8 status = 0
9 select case (forceName)
10
11 case ("TraPPE_Ex")
12 call forceSetup(new_TraPPE_ExFF,doTraPPE_ExFF)
13 case("LJ")
14 call forceSetup(new_lj_atype,init_ljFF,do_lj_ff)
15 case default
16 status = -1
17 return
18 end select
19
20
21
22
23
24
25 end subroutine forceFactory