|
|
@ -6,6 +6,7 @@ module box
|
|
|
|
|
|
|
|
|
|
|
|
real(kind=dp) :: box_bd(6) !Global box boundaries
|
|
|
|
real(kind=dp) :: box_bd(6) !Global box boundaries
|
|
|
|
character(len=3) :: box_bc !Box boundary conditions (periodic or shrinkwrapped)
|
|
|
|
character(len=3) :: box_bc !Box boundary conditions (periodic or shrinkwrapped)
|
|
|
|
|
|
|
|
logical :: bound_called
|
|
|
|
!The subbox variables contain values for each subbox, being the boxes read in through some
|
|
|
|
!The subbox variables contain values for each subbox, being the boxes read in through some
|
|
|
|
!command. Currently only mode_merge will require sub_boxes, for mode_create it will always
|
|
|
|
!command. Currently only mode_merge will require sub_boxes, for mode_create it will always
|
|
|
|
!allocate to only 1 sub_box
|
|
|
|
!allocate to only 1 sub_box
|
|
|
@ -27,6 +28,7 @@ module box
|
|
|
|
!Initialize some box functions
|
|
|
|
!Initialize some box functions
|
|
|
|
box_bd(:) = 0.0_dp
|
|
|
|
box_bd(:) = 0.0_dp
|
|
|
|
box_bc = 'ppp'
|
|
|
|
box_bc = 'ppp'
|
|
|
|
|
|
|
|
bound_called=.false.
|
|
|
|
end subroutine box_init
|
|
|
|
end subroutine box_init
|
|
|
|
|
|
|
|
|
|
|
|
subroutine alloc_sub_box(n)
|
|
|
|
subroutine alloc_sub_box(n)
|
|
|
|