Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/init_fields.f90
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module init_fields
real(cp), public :: amp_s1,amp_s2,amp_v1,amp_b1,amp_xi1,amp_xi2

!----- Entropy at CMB and ICB (input):
integer, public, parameter :: n_s_bounds=20
integer, public, parameter :: n_s_bounds=100
real(cp), public :: s_bot(4*n_s_bounds) ! input variables for tops,bots
real(cp), public :: s_top(4*n_s_bounds)
complex(cp), public, allocatable :: tops(:,:)
Expand Down
2 changes: 1 addition & 1 deletion src/preCalculations.f90
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ subroutine preCalc(tscheme)
botconduc = rho0(n_r_max)*kappa(n_r_max)*temp0(n_r_max)
end if

if ( ktops == 1 .and. kbots == 1 ) then ! Fixed entropy
if ( ktops == 1 .and. kbots == 1 .and. ( tops(0,0) == 0.0_cp .and. bots(0,0) == 0.0_cp )) then ! Fixed entropy

tops(0,0)=0.0_cp
bots(0,0)=sq4pi
Expand Down