ready for another run ?
This commit is contained in:
@@ -11,7 +11,7 @@ module bloubspace
|
||||
type t_bloubs
|
||||
character(8) :: nick
|
||||
logical :: alive
|
||||
integer :: num
|
||||
integer :: num ! ???
|
||||
real :: px, py, pz
|
||||
real :: vx, vy, vz
|
||||
real :: radius
|
||||
@@ -23,18 +23,25 @@ module bloubspace
|
||||
subroutine random_pv (blb)
|
||||
type(t_bloubs), intent (inout) :: blb
|
||||
|
||||
blb%px = 1.3 * (rand() - 0.50)
|
||||
blb%py = 0.50 + rand() * 0.50
|
||||
blb%pz = 2.0 * (rand() - 0.50)
|
||||
blb%px = 1.35 * (rand() - 0.50)
|
||||
blb%py = 0.50 + (rand() * 0.50)
|
||||
blb%pz = 1.90 * (rand() - 0.50)
|
||||
|
||||
blb%vx = (rand() - 0.5) / 2.500
|
||||
blb%vy = (rand() - 0.5) / 4.000
|
||||
blb%vy = (rand() - 0.1) / 4.000
|
||||
blb%vz = (rand() - 0.5) / 2.500
|
||||
|
||||
blb%alive = .TRUE.
|
||||
|
||||
end subroutine
|
||||
! ----------------------------------------------------------------
|
||||
! Load a blbs file into an array of bloubs
|
||||
|
||||
! ----------------------------------------------------------------
|
||||
! Dump an array of bloubs to a blbs file.
|
||||
|
||||
! ----------------------------------------------------------------
|
||||
! Display a bloub content to stderr
|
||||
|
||||
subroutine display_bloub (blb, message)
|
||||
type(t_bloubs), intent (in) :: blb
|
||||
@@ -127,7 +134,7 @@ module bloubspace
|
||||
|
||||
subroutine green_soylent (blb)
|
||||
type(t_bloubs), intent (inout) :: blb
|
||||
if (blb%age .gt. 5) then
|
||||
if (blb%age .gt. 8) then
|
||||
blb%alive = .FALSE.
|
||||
endif
|
||||
end subroutine
|
||||
|
||||
Reference in New Issue
Block a user