1 |
subroutine setFortranSim(setThisSim, CnGlobal, CnLocal, c_idents, & |
2 |
CnExcludes, Cexcludes, CnOneTwo, ConeTwo, CnOneThree, ConeThree, & |
3 |
CnOneFour, ConeFour, CmolMembership, Cmfact, CnGroups, & |
4 |
CglobalGroupMembership, status) |
5 |
use definitions |
6 |
use simulation |
7 |
|
8 |
type (simtype) :: setThisSim |
9 |
integer, intent(inout) :: CnGlobal, CnLocal |
10 |
integer, dimension(CnLocal),intent(inout) :: c_idents |
11 |
|
12 |
integer :: CnExcludes |
13 |
integer, dimension(2,CnExcludes), intent(inout) :: Cexcludes |
14 |
|
15 |
integer :: CnOneTwo |
16 |
integer, dimension(2,CnOneTwo), intent(inout) :: ConeTwo |
17 |
|
18 |
integer :: CnOneThree |
19 |
integer, dimension(2,CnOneThree), intent(inout) :: ConeThree |
20 |
|
21 |
integer :: CnOneFour |
22 |
integer, dimension(2,CnOneFour), intent(inout) :: ConeFour |
23 |
|
24 |
integer, dimension(CnGlobal),intent(inout) :: CmolMembership |
25 |
!! Result status, success = 0, status = -1 |
26 |
integer, intent(inout) :: status |
27 |
|
28 |
!! mass factors used for molecular cutoffs |
29 |
real ( kind = dp ), dimension(CnLocal) :: Cmfact |
30 |
integer, intent(in):: CnGroups |
31 |
integer, dimension(CnGlobal), intent(inout):: CglobalGroupMembership |
32 |
|
33 |
call SimulationSetup(setThisSim, CnGlobal, CnLocal, c_idents, & |
34 |
CnExcludes, Cexcludes, CnOneTwo, ConeTwo, CnOneThree, ConeThree, & |
35 |
CnOneFour, ConeFour, CmolMembership, Cmfact, CnGroups, & |
36 |
CglobalGroupMembership, status) |
37 |
|
38 |
end subroutine setFortranSim |
39 |
|
40 |
subroutine setFortranBox(cHmat, cHmatInv, cBoxIsOrthorhombic) |
41 |
use simulation, only : setBox |
42 |
use definitions |
43 |
real(kind=dp), dimension(3,3) :: cHmat, cHmatInv |
44 |
integer :: cBoxIsOrthorhombic |
45 |
|
46 |
call setBox(cHmat, cHmatInv, cBoxIsOrthorhombic) |
47 |
|
48 |
end subroutine setFortranBox |