Skip to content

Commit

Permalink
Remove Decapodes_v0.1 files
Browse files Browse the repository at this point in the history
  • Loading branch information
lukem12345 authored and mehalter committed Apr 24, 2023
1 parent a40d7a1 commit b3c2476
Show file tree
Hide file tree
Showing 31 changed files with 65 additions and 1,967 deletions.
127 changes: 0 additions & 127 deletions src/Debug.jl

This file was deleted.

47 changes: 36 additions & 11 deletions src/Decapodes.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,41 @@
module Decapodes

using Requires
using Catlab
using Catlab.Theories
import Catlab.Theories: otimes, oplus, compose, , , , associate, associate_unit, Ob, Hom, dom, codom
using Catlab.Present
using Catlab.Programs
using Catlab.CategoricalAlgebra
using Catlab.WiringDiagrams
using Catlab.WiringDiagrams.DirectedWiringDiagrams
using LinearAlgebra
using MLStyle
using Base.Iterators

include("Decapodes2/decapodes.jl")
include("Diagrams.jl")
include("OpenDiagrams.jl")
include("Schedules.jl")
include("Simulations.jl")
include("Examples.jl")
import Unicode

export normalize_unicode, DerivOp, append_dot,
SchDecapode, SchNamedDecapode, AbstractDecapode, AbstractNamedDecapode, Decapode, NamedDecapode, SummationDecapode, fill_names!, expand_operators, add_constant!, add_parameter, infer_types!, resolve_overloads!, op1_inf_rules_1D, op2_inf_rules_1D, op1_inf_rules_2D, op2_inf_rules_2D, op1_res_rules_1D, op2_res_rules_1D, op1_res_rules_2D, op2_res_rules_2D,
Term, Var, Judge, Eq, AppCirc1, AppCirc2, App1, App2, Plus, Tan, term, parse_decapode,
VectorForm, PhysicsState, findname, findnode,
compile, compile_env, gensim, closest_point, flat_op,
AbstractMeshKey, loadmesh, Icosphere, Rectangle_30x10, Torus_30x10, Point_Map,
Open, OpenSummationDecapodeOb, OpenSummationDecapode, unique_by, unique_by!, oapply,
CartesianPoint, SpherePoint, r, theta, phi, TangentBasis, θhat, ϕhat,
average_rewrite

normalize_unicode(s::String) = Unicode.normalize(s, compose=true, stable=true, chartransform=Unicode.julia_chartransform)
normalize_unicode(s::Symbol) = Symbol(normalize_unicode(String(s)))
DerivOp = Symbol("∂ₜ")
append_dot(s::Symbol) = Symbol(string(s)*'\U0307')

include("decapodeacset.jl")
include("language.jl")
include("composition.jl")
include("coordinates.jl")
include("visualization.jl")
include("simulation.jl")
include("meshes.jl")
include("rewrite.jl")

function __init__()
@require CairoMakie="13f3f980-e62b-5c42-98c6-ff1f3baf88f0" include("Debug.jl")
@require AlgebraicPetri="4f99eebe-17bf-4e98-b6a1-2c4f205a959b" include("PetriNets.jl")
end
end
38 changes: 0 additions & 38 deletions src/Decapodes2/decapodes.jl

This file was deleted.

Loading

0 comments on commit b3c2476

Please sign in to comment.