Skip to content

Commit 185517d

Browse files
committed
namespace extensions
1 parent c544c15 commit 185517d

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
4040
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
4141

4242
[extensions]
43-
CUDAExt = ["CUDA", "Adapt"]
44-
MTKExt = ["ModelingToolkit", "Symbolics"]
45-
SymbolicsExt = ["Symbolics", "MacroTools"]
43+
NetworkDynamicsCUDAExt = ["CUDA", "Adapt"]
44+
NetworkDynamicsMTKExt = ["ModelingToolkit", "Symbolics"]
45+
NetworkDynamicsSymbolicsExt = ["Symbolics", "MacroTools"]
4646

4747
[compat]
4848
Adapt = "4.0.4"
File renamed without changes.
File renamed without changes.

ext/CUDAExt.jl renamed to ext/NetworkDynamicsCUDAExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module CUDAExt
1+
module NetworkDynamicsCUDAExt
22
using NetworkDynamics: Network, NetworkLayer, ComponentBatch,
33
KAAggregator, AggregationMap, SparseAggregator,
44
LazyGBufProvider, EagerGBufProvider, LazyGBuf,

ext/MTKExt.jl renamed to ext/NetworkDynamicsMTKExt.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module MTKExt
1+
module NetworkDynamicsMTKExt
22

33
using ModelingToolkit: Symbolic, iscall, operation, arguments, build_function
44
using ModelingToolkit: ModelingToolkit, Equation, ODESystem, Differential
@@ -13,7 +13,7 @@ using NetworkDynamics: NetworkDynamics, set_metadata!,
1313
PureFeedForward, FeedForward, NoFeedForward, PureStateMap
1414
import NetworkDynamics: VertexModel, EdgeModel, AnnotatedSym
1515

16-
include("MTKUtils.jl")
16+
include("MTKExt_utils.jl")
1717

1818
"""
1919
VertexModel(sys::ODESystem, inputs, outputs;
@@ -477,7 +477,7 @@ _all_rhs_symbols(eqs) = mapreduce(eq->get_variables(eq.rhs), ∪, eqs, init=Set{
477477

478478
using PrecompileTools: @compile_workload
479479
@compile_workload begin
480-
include("precompile_workload.jl")
480+
include("MTKExt_precomp_workload.jl")
481481
end
482482

483483
end

ext/SymbolicsExt.jl renamed to ext/NetworkDynamicsSymbolicsExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module SymbolicsExt
1+
module NetworkDynamicsSymbolicsExt
22

33
using Symbolics: Symbolics, @variables, Num
44
using MacroTools: postwalk, @capture

0 commit comments

Comments
 (0)