Skip to content

Commit

Permalink
Make radtype have default (#8)
Browse files Browse the repository at this point in the history
This is mentioned in the README. Resolves
#7
  • Loading branch information
TyBalduf authored Jan 16, 2025
1 parent 707579e commit dd6d888
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/main.f90
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@ subroutine get_arguments(config, error)
call fatal_error(error, "No solvent specified, use --solvent <solvent name>.")
return
end if

if (.not. allocated(config%radtype)) then
call fatal_error(error, "No radii type specified, use --radii [cpcm, smd, cosmo].")
return
end if

call set_defaults(config)

Expand All @@ -200,6 +195,10 @@ subroutine set_defaults(config)
config%qmodel = "ceh"
end if

if (.not. allocated(config%radtype)) then
config%radtype = "cpcm"
end if

end subroutine set_defaults

subroutine check_terminate(err)
Expand Down

0 comments on commit dd6d888

Please sign in to comment.