Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Andrew Johnson <2127fcd7d4ed063d703ae1f99a7b936e7fa1f0b7@users.noreply.github.com>
mit-crpg/openmc,amandalund/openmc,amandalund/openmc,mit-crpg/openmc,paulromano/openmc,paulromano/openmc,amandalund/openmc,walshjon/openmc,shikhar413/openmc,paulromano/openmc,shikhar413/openmc,walshjon/openmc,walshjon/openmc,shikhar413/openmc,shikhar413/openmc,walshjon/openmc,mit-crpg/openmc,paulromano/openmc,mit-crpg/openmc,amandalund/openmc