This writes a (hopefully) user understandable interpretation of the results to os. The return value indicates if a problem was reported.
496 os <<
write(1, rt,
"The kinetic function cannot take positive values for positive parameter values.\n",
497 "This means the reaction will never proceed in the forward direction.");
503 os <<
write(1, rt,
"The kinetic function never equals zero for positive parameter values.\n",
504 "This is unexpected for reversible reactions.");
510 os <<
write(1, rt,
"The kinetic function cannot take negative values for positive parameter values.\n",
511 "This means the reaction will never proceed in the backwards direction.");
517 os <<
write(2, rt,
"The kinetic function is always invalid for positive parameter values.\n",
"");
522 os <<
write(1, rt,
"The kinetic function can be invalid even if metabolite concentrations and parameter values are positive.\n",
"");
531 os <<
write(1, rt,
"The kinetic function cannot take positive values for the actual parameter values.\n",
532 "This means the reaction will never proceed in the forward direction.");
538 os <<
write(1, rt,
"The kinetic function never equals zero for the actual parameter values.\n",
539 "This is unexpected for reversible reactions.");
545 os <<
write(1, rt,
"The kinetic function cannot take negative values for the actual parameter values.\n",
546 "This means the reaction will never proceed in the backwards direction.");
552 os <<
write(2, rt,
"The kinetic function is always invalid for the actual parameter values.\n",
"");
557 os <<
write(1, rt,
"The kinetic function can be invalid for the actual parameter values even if metabolite concentrations are positive.\n",
"");
567 for (i = 0; i < imax; ++i)
574 os <<
write(0, rt,
"The kinetic function is always negative for positive parameter values if substrate \""
576 +
"\" is set to zero.\n" ,
577 "This is the expected behaviour for reversible reactions. Without substrates the reaction can only proceed backwards.");
581 os <<
write(1, rt,
"Copasi could not show that the kinetic function is always negative for positive parameter values if substrate \""
583 +
"\" is set to zero.\n" ,
"");
588 os <<
write(2, rt,
"The kinetic function is never negative for positive parameter values if substrate \""
590 +
"\" is set to zero.\n" ,
591 "This means the reaction never proceeds backwards even if no substrate is present. This is unexpected for a reversible reaction.");
597 os <<
write(2, rt,
"The kinetic function is always invalid for positive parameter values if substrate \""
599 +
"\" is set to zero.\n" ,
"");
604 os <<
write(1, rt,
"The kinetic function can be invalid for positive parameter values if substrate \""
606 +
"\" is set to zero.\n" ,
"");
615 os <<
write(0, rt,
"The kinetic function is always negative for the actual parameter values if substrate \""
617 +
"\" is set to zero.\n" ,
618 "This is the expected behaviour for reversible reactions. Without substrates the reaction can only proceed backwards.");
622 os <<
write(1, rt,
"Copasi could not show that the kinetic function is always negative for the actual parameter values if substrate \""
624 +
"\" is set to zero.\n" ,
"");
629 os <<
write(2, rt,
"The kinetic function is never negative for the actual parameter values if substrate \""
631 +
"\" is set to zero.\n" ,
632 "This means the reaction never proceeds backwards even if no substrate is present. This is unexpected for a reversible reaction.");
638 os <<
write(2, rt,
"The kinetic function is always invalid for the actual parameter values if substrate \""
640 +
"\" is set to zero.\n" ,
"");
645 os <<
write(1, rt,
"The kinetic function can be invalid for the actual parameter values if substrate \""
647 +
"\" is set to zero.\n" ,
"");
656 for (i = 0; i < imax; ++i)
663 os <<
write(0, rt,
"The kinetic function is always positive for positive parameter values if product \""
665 +
"\" is set to zero.\n" ,
666 "This is the expected behaviour for reversible reactions. With products absent the reaction can only proceed forward.");
670 os <<
write(1, rt,
"Copasi could not show that the kinetic function is always positive for positive parameter values if product \""
672 +
"\" is set to zero.\n" ,
"");
677 os <<
write(2, rt,
"The kinetic function is never positive for positive parameter values if product \""
679 +
"\" is set to zero.\n" ,
680 "This means the reaction never proceeds forward even if no product is present. This is unexpected for a reversible reaction.");
686 os <<
write(2, rt,
"The kinetic function is always invalid for positive parameter values if product \""
688 +
"\" is set to zero.\n" ,
"");
693 os <<
write(1, rt,
"The kinetic function can be invalid for positive parameter values if product \""
695 +
"\" is set to zero.\n" ,
"");
704 os <<
write(0, rt,
"The kinetic function is always positive for the actual parameter values if product \""
706 +
"\" is set to zero.\n" ,
707 "This is the expected behaviour for reversible reactions. With products absent the reaction can only proceed forward.");
711 os <<
write(1, rt,
"Copasi could not show that the kinetic function is always positive for the actual parameter values if product \""
713 +
"\" is set to zero.\n" ,
"");
718 os <<
write(2, rt,
"The kinetic function is never positive for the actual parameter values if product \""
720 +
"\" is set to zero.\n" ,
721 "This means the reaction never proceeds forward even if no product is present. This is unexpected for a reversible reaction.");
727 os <<
write(2, rt,
"The kinetic function is always invalid for the actual parameter values if substrate \""
729 +
"\" is set to zero.\n" ,
"");
734 os <<
write(1, rt,
"The kinetic function can be invalid for the actual parameter values if substrate \""
736 +
"\" is set to zero.\n" ,
"");
750 os <<
write(0, rt,
"The kinetic function is positive for positive parameter values.\n",
"");
754 os <<
write(1, rt,
"Copasi could not show that the kinetic function is positive for positive parameter values.\n",
"");
760 os <<
write(2, rt,
"The kinetic function is always zero for positive parameter values.\n",
"");
765 os <<
write(1, rt,
"The kinetic function can be zero even if substrate concentrations and parameter values are positive.\n",
"");
771 os <<
write(2, rt,
"The kinetic function is always negative for positive parameter values.\n",
"");
776 os <<
write(1, rt,
"The kinetic function can be negative even if substrate concentrations and parameter values are positive.\n",
"");
782 os <<
write(2, rt,
"The kinetic function is always invalid for positive parameter values.\n",
"");
787 os <<
write(1, rt,
"The kinetic function can be invalid even if substrate concentrations and parameter values are positive.\n",
"");
796 os <<
write(0, rt,
"The kinetic function is positive for the actual parameter values.\n",
"");
800 os <<
write(1, rt,
"Copasi could not show that the kinetic function is positive for the actual parameter values.\n",
"");
806 os <<
write(2, rt,
"The kinetic function is always zero for the actual parameter values.\n",
"");
811 os <<
write(1, rt,
"The kinetic function can be zero for the actual parameter values even if substrate concentrations are positive.\n",
"");
817 os <<
write(2, rt,
"The kinetic function is always negative for the actual parameter values.\n",
"");
822 os <<
write(1, rt,
"The kinetic function can be negative for the actual parameter values even if substrate concentrations are positive.\n",
"");
828 os <<
write(2, rt,
"The kinetic function is always invalid for the actual parameter values.\n",
"");
833 os <<
write(1, rt,
"The kinetic function can be invalid for the actual parameter values even if substrate concentrations are positive.\n",
"");
843 for (i = 0; i < imax; ++i)
850 os <<
write(0, rt,
"The kinetic function is always zero for positive parameter values if substrate \""
852 +
"\" is set to zero.\n" ,
"");
856 os <<
write(1, rt,
"Copasi could not show that the kinetic function is always zero for positive parameter values if substrate \""
858 +
"\" is set to zero.\n" ,
"");
863 os <<
write(2, rt,
"The kinetic function is never zero for positive parameter values if substrate \""
865 +
"\" is set to zero.\n" ,
"");
871 os <<
write(2, rt,
"The kinetic function is always invalid for positive parameter values if substrate \""
873 +
"\" is set to zero.\n" ,
"");
878 os <<
write(1, rt,
"The kinetic function can be invalid for positive parameter values if substrate \""
880 +
"\" is set to zero.\n" ,
"");
889 os <<
write(0, rt,
"The kinetic function is always zero for the actual parameter values if substrate \""
891 +
"\" is set to zero.\n" ,
"");
895 os <<
write(1, rt,
"Copasi could not show that the kinetic function is always zero for the actual parameter values if substrate \""
897 +
"\" is set to zero.\n" ,
"");
902 os <<
write(2, rt,
"The kinetic function is never zero for the actual parameter values if substrate \""
904 +
"\" is set to zero.\n" ,
"");
910 os <<
write(2, rt,
"The kinetic function is always invalid for the actual parameter values if substrate \""
912 +
"\" is set to zero.\n" ,
"");
917 os <<
write(1, rt,
"The kinetic function can be invalid for the actual parameter values if substrate \""
919 +
"\" is set to zero.\n" ,
"");
static std::string write(int level, bool rt, const std::string &text, const std::string &longText)