Skip to content

Commit b6d9e71

Browse files
committed
up
1 parent 29e3dd6 commit b6d9e71

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

src/Catalyst.jl

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,43 @@ const CatalystEqType = Union{Reaction, Equation}
8787
# The symbol used for conserved quantities in conservation law eliminations.
8888
const CONSERVED_CONSTANT_SYMBOL =
8989

90+
### Package Main ###
9091

91-
92-
# base system type and features
93-
include("reactionsystem.jl")
92+
# The `Reaction` structure and its functions.
93+
include("reaction_structure.jl.jl")
9494
export isspecies
95-
export Reaction, ReactionSystem, ismassaction, oderatelaw, jumpratelaw, isspatial
95+
export Reaction
96+
export get_noise_scaling, has_noise_scaling
97+
98+
# The `ReactionSystem` structure and its functions.
99+
include("reactionsystem_structure.jl.jl")
100+
export ReactionSystem, isspatial
101+
export species, nonspecies, reactionparams, reactions, speciesmap, paramsmap
102+
export numspecies, numreactions, numreactionparams, setdefaults!
103+
export make_empty_network, reactionparamsmap
104+
export dependants, dependents, substoichmat, prodstoichmat, netstoichmat
105+
export reactionrates
106+
export isequivalent
107+
export set_default_noise_scaling
108+
109+
# depreciated functions to remove in future releases
110+
export params, numparams
111+
112+
# Conversions of the `ReactionSystem` structure.
113+
include("reactionsystem_conversions.jl.jl")
96114
export ODEProblem,
97115
SDEProblem, JumpProblem, NonlinearProblem, DiscreteProblem,
98116
SteadyStateProblem
117+
export ismassaction, oderatelaw, jumpratelaw
118+
export symmap_to_varmap
119+
120+
# Network analysis functionality.
121+
include("network_analysis.jl.jl")
122+
export reactioncomplexmap, reactioncomplexes, incidencemat
123+
export complexstoichmat
124+
export complexoutgoingmat, incidencematgraph, linkageclasses, deficiency, subnetworks
125+
export linkagedeficiencies, isreversible, isweaklyreversible
126+
export conservationlaws, conservedquantities, conservedequations, conservationlaw_constants
99127

100128
# reaction_network macro
101129
const ExprValues = Union{Expr, Symbol, Float64, Int, Bool}
@@ -108,22 +136,6 @@ include("registered_functions.jl")
108136
export mm, mmr, hill, hillr, hillar
109137

110138
# functions to query network properties
111-
include("networkapi.jl")
112-
export species, nonspecies, reactionparams, reactions, speciesmap, paramsmap
113-
export numspecies, numreactions, numreactionparams, setdefaults!, symmap_to_varmap
114-
export make_empty_network, reactionparamsmap
115-
export dependants, dependents, substoichmat, prodstoichmat, netstoichmat
116-
export conservationlaws, conservedquantities, conservedequations, conservationlaw_constants
117-
export isequivalent
118-
export set_default_noise_scaling, get_noise_scaling, has_noise_scaling
119-
120-
# depreciated functions to remove in future releases
121-
export params, numparams
122-
123-
# network analysis functions
124-
export reactioncomplexmap, reactioncomplexes, incidencemat, reactionrates, complexstoichmat
125-
export complexoutgoingmat, incidencematgraph, linkageclasses, deficiency, subnetworks
126-
export linkagedeficiencies, isreversible, isweaklyreversible
127139

128140
# for Latex printing of ReactionSystems
129141
include("latexify_recipes.jl")

0 commit comments

Comments
 (0)