Skip to content

Commit

Permalink
[indent-bot] standardised indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice committed Jul 24, 2020
1 parent d1ccbe3 commit 13263ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/setup/set_fixedentropycore.f90
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ subroutine get_rho_from_p_s(pres,S,rho)
rho = rho - corr
enddo

return
return

end subroutine get_rho_from_p_s

Expand Down Expand Up @@ -300,4 +300,4 @@ subroutine calc_mass_from_rho(r,rho,m)

end subroutine calc_mass_from_rho

end module setfixedentropycore
end module setfixedentropycore
4 changes: 2 additions & 2 deletions src/setup/setup_dustsettle.f90
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module setup
implicit none
public :: setpart

private
private
integer :: npartx,norbit
real :: Rdisc_au,Rmax_au
real :: H0,HonR,dtg,smincgs,smaxcgs,sindex
Expand Down Expand Up @@ -365,4 +365,4 @@ subroutine read_setupfile(filename,ierr)

end subroutine read_setupfile
!----------------------------------------------------------------
end module setup
end module setup
16 changes: 8 additions & 8 deletions src/setup/setup_star.f90
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,8 @@ subroutine write_setupfile(filename,gamma,polyk)
call write_inopt(mcore,'mcore','Mass of sink particle stellar core',iunit)
endif
elseif (isoftcore == 2) then
call write_inopt(hdens,'hdens','Radius of core softening',iunit)
call write_inopt(mcore,'mcore','Initial guess for mass of sink particle stellar core',iunit)
call write_inopt(hdens,'hdens','Radius of core softening',iunit)
call write_inopt(mcore,'mcore','Initial guess for mass of sink particle stellar core',iunit)
endif
else
call write_inopt(isinkcore,'isinkcore','Add a sink particle stellar core',iunit)
Expand Down Expand Up @@ -848,12 +848,12 @@ subroutine read_setupfile(filename,gamma,polyk,ierr)

! star properties
if (isoftcore == 0) then
if (need_densityfile) then
call read_inopt(densityfile,'densityfile',db,errcount=nerr)
else
call read_inopt(Mstar,'Mstar',db,errcount=nerr)
if (need_rstar) call read_inopt(Rstar,'Rstar',db,errcount=nerr)
endif
if (need_densityfile) then
call read_inopt(densityfile,'densityfile',db,errcount=nerr)
else
call read_inopt(Mstar,'Mstar',db,errcount=nerr)
if (need_rstar) call read_inopt(Rstar,'Rstar',db,errcount=nerr)
endif
endif

! relax star options
Expand Down

0 comments on commit 13263ba

Please sign in to comment.