| 1 |
gezelter |
264 |
subroutine setFortranSim(setThisSim, CnGlobal, CnLocal, c_idents, & |
| 2 |
|
|
CnLocalExcludes, CexcludesLocal, CnGlobalExcludes, CexcludesGlobal, & |
| 3 |
|
|
CmolMembership, Cmfact, CnGroups, CglobalGroupMembership, & |
| 4 |
|
|
status) |
| 5 |
|
|
use definitions, ONLY : dp |
| 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 :: CnLocalExcludes |
| 13 |
|
|
integer, dimension(2,CnLocalExcludes), intent(inout) :: CexcludesLocal |
| 14 |
|
|
integer :: CnGlobalExcludes |
| 15 |
|
|
integer, dimension(CnGlobalExcludes), intent(inout) :: CexcludesGlobal |
| 16 |
|
|
integer, dimension(CnGlobal),intent(inout) :: CmolMembership |
| 17 |
|
|
!! Result status, success = 0, status = -1 |
| 18 |
|
|
integer, intent(inout) :: status |
| 19 |
|
|
|
| 20 |
|
|
!! mass factors used for molecular cutoffs |
| 21 |
|
|
real ( kind = dp ), dimension(CnLocal) :: Cmfact |
| 22 |
|
|
integer, intent(in):: CnGroups |
| 23 |
|
|
integer, dimension(CnGlobal), intent(inout):: CglobalGroupMembership |
| 24 |
|
|
|
| 25 |
|
|
call SimulationSetup(setThisSim, CnGlobal, CnLocal, c_idents, & |
| 26 |
|
|
CnLocalExcludes, CexcludesLocal, CnGlobalExcludes, CexcludesGlobal, & |
| 27 |
|
|
CmolMembership, Cmfact, CnGroups, CglobalGroupMembership, & |
| 28 |
|
|
status) |
| 29 |
|
|
end subroutine setFortranSim |
| 30 |
|
|
|
| 31 |
|
|
subroutine setFortranBox(cHmat, cHmatInv, cBoxIsOrthorhombic) |
| 32 |
|
|
use simulation, only : setBox |
| 33 |
|
|
use definitions, ONLY : dp |
| 34 |
|
|
real(kind=dp), dimension(3,3) :: cHmat, cHmatInv |
| 35 |
|
|
integer :: cBoxIsOrthorhombic |
| 36 |
|
|
|
| 37 |
|
|
call setBox(cHmat, cHmatInv, cBoxIsOrthorhombic) |
| 38 |
|
|
|
| 39 |
|
|
end subroutine setFortranBox |