sahrk / DGGRID

A command-line application that generates and manipulates icosahedral discrete global grids.
GNU Affero General Public License v3.0
78 stars 26 forks source link

Convert physical constants to constexpr for type safety #34

Closed r-barnes closed 3 years ago

r-barnes commented 3 years ago

Using macros for constants makes it harder to reason about type safety. constexpr is a better way to go.