]> Devoid-pointer.net GitWeb - Nine-Q.git/commitdiff
Limit maximum indifferent/shared electrolyte concentration so we do not
authorMichal Malý <madcatxster@devoid-pointer.net>
Wed, 24 Dec 2014 01:27:26 +0000 (02:27 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Wed, 24 Dec 2014 01:27:26 +0000 (02:27 +0100)
exceed the range where McInnes approximation is valid

src/problem_generators/problem_generator.ads

index 9f15b76e8bb4d53cc6740e18c4f3d45742aaa301..e8e72e16419070b4f3a75457ecea5caab2681b94 100644 (file)
@@ -100,8 +100,8 @@ private
     type SS_Float is digits 17;
     subtype Stochiometric_Count is Positive range 1 .. 5;
 
-    ELECTROLYTE_CONCENTRATION_LOG_MAX: constant SS_Float := 0.176;
-    ELECTROLYTE_CONCENTRATION_LOG_MIN: constant SS_Float := -4.0;
+    ELECTROLYTE_CONCENTRATION_LOG_MAX: constant SS_Float := -2.0;
+    ELECTROLYTE_CONCENTRATION_LOG_MIN: constant SS_Float := -4.5;
     MOLAR_WEIGHT_MAX: constant SS_Float := 450.0;
     MOLAR_WEIGHT_MIN: constant SS_Float := 45.0;
     PKS_MAX: constant SS_Float := 54.0;