hyperion-rt / hyperion

Hyperion Radiative Transfer Code
http://www.hyperion-rt.org
BSD 2-Clause "Simplified" License
52 stars 26 forks source link

Do consistency checking at write time #94

Open astrofrog opened 10 years ago

astrofrog commented 10 years ago

The issue at the moment is that a lot of the consistency checking is being done when parameters are being set. While this should be the case for sanity checking, consistency checking parameters is more delicate because one may end up in an inconsistent state while setting a parameter and then removing the inconsistency in the next step. So it's ok for the state to be inconsistent when setting parameters, as long as it's fixed when the file is eventually written out.

astrofrog commented 10 years ago

Things that need consistency checks: