Skip to content

Commit

Permalink
Fixes for Github tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonkyoung1 committed Oct 17, 2024
1 parent 0647f61 commit 9e14e04
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 867 deletions.
10 changes: 0 additions & 10 deletions build/Makefile_setups
Original file line number Diff line number Diff line change
Expand Up @@ -431,16 +431,6 @@ ifeq ($(SETUP), sphereinbox)
KNOWN_SETUP=yes
endif

ifeq ($(SETUP), sphere)
# sphere setup
ISOTHERMAL=no
PERIODIC=no
IND_TIMESTEPS=yes
GRAVITY=yes
SETUPFILE= velfield_fromcubes.f90 setup_sphere.f90
KNOWN_SETUP=yes
endif

ifeq ($(SETUP), shock)
# shock tube tests
PERIODIC=yes
Expand Down
20 changes: 11 additions & 9 deletions src/main/eos_stamatellos.f90
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ module eos_stamatellos

subroutine init_S07cool()
use part, only:npart,maxradprop
use allocutils, only:allocate_array

print *, "Allocating cooling arrays"
allocate(gradP_cool(npart))
allocate(Gpot_cool(npart))
allocate(duFLD(npart))
allocate(lambda_fld(npart))
allocate(urad_FLD(npart))
allocate(ttherm_store(npart))
allocate(teqi_store(npart))
allocate(opac_store(npart))
allocate(duSPH(npart))
call allocate_array('gradP_cool',gradP_cool,npart)
call allocate_array('Gpot_cool',Gpot_cool,npart)
call allocate_array('duFLD',duFLD,npart)
call allocate_array('lambda_fld',lambda_fld,npart)
call allocate_array('urad_FLD',urad_FLD,npart)
call allocate_array('ttherm_store',ttherm_store,npart)
call allocate_array('teqi_store',teqi_store,npart)
call allocate_array('opac_store',opac_store,npart)
call allocate_array('duSPH',duSPH,npart)
Gpot_cool(:) = 0d0
gradP_cool(:) = 0d0
urad_FLD(:) = 0d0
Expand Down
Loading

0 comments on commit 9e14e04

Please sign in to comment.