BUG: Calculations continues with bad input
soofstad opened this issue · comments
Stig Oskar Ofstad commented
Describe the bug
Fatal errors are just logged, and then ignored. As in; the calculation continues.
To Reproduce
One example is to create a fluid with a component that does not exist in the fluidDatabase.
Neqsim will then log ERROR: Component X does not exists
, without raising an exception.
Expected behavior
I, as a user of the neqsim library, would expect bad input to raise an exception, so that I avoid getting potentially bad results without knowing.
Even Solbraa commented
Thanks. I will have a look at it together with @Sviatose