Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Improved error reporting in the param reader
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 23, 2021
1 parent b8d31d0 commit 0456a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ module subroutine io_param_reader(self, unit, iotype, v_list, iostat, iomsg)
read(param_value, *, err = 667, iomsg = iomsg) param%maxid
case ("NPLMAX", "NTPMAX", "GMTINY", "MIN_GMFRAG", "PARTICLE_OUT", "FRAGMENTATION", "SEED", "YARKOVSKY", "YORP") ! Ignore SyMBA-specific, not-yet-implemented, or obsolete input parameters
case default
write(iomsg,*) "Unknown parameter -> ",param_name
write(*,*) "Unknown parameter -> ",param_name
iostat = -1
return
end select
Expand Down
2 changes: 1 addition & 1 deletion src/symba/symba_collision.f90
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ module function symba_collision_casemerge(system, param, family, x, v, mass, rad
param%Ecollisions = param%Ecollisions + pe
param%Euntracked = param%Euntracked - pe

! Update any encounter lists that have the removedbodies in them so that they instead point to the new
! Update any encounter lists that have the removed bodies in them so that they instead point to the new
do k = 1, system%plplenc_list%nenc
do j = 1, nfamily
i = family(j)
Expand Down

0 comments on commit 0456a56

Please sign in to comment.