The "Input" variable must not appear in the PIVP. It is created and initialized with a parameter named "input".
'),
option(
binomial_reduction,
quadratic_reduction,
reduction_methods,
_Reduction,
'Determines if the binomial reduction has to be performed'
'Determines if the quadratic reduction has to be performed'
),
sort_output(PIVP,Output,PIVP_sorted),
format_pivp(PIVP_sorted,P,Name_list),
main_compiler(P,Name_list,Input).
%! compile_from_ode(+Input, +Output)
%
% Same as compile_from_pivp but load ODE from the current ode system
compile_from_ode(Input,Output):-
biocham_command,
type(Input,name),
type(Output,name),
doc('Compile the current ODE system in a CRN, Input is usually "time" but could be the name of a new species, Output have to be the name of an existing variable.'),
option(
quadratic_reduction,
reduction_methods,
_Reduction,
'Determines if the quadratic reduction has to be performed'
),
option(
lazy_negatives,
yesno,
_Lazyness,
'Switch between systematic and lazy introduction of molecular species for negative values'
),
(
% test the polynomiality of the current ode_system