Skip to content

Commit

Permalink
Move StructuralTransformations to MTK
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Feb 28, 2021
1 parent 8a9b870 commit fc815cb
Show file tree
Hide file tree
Showing 16 changed files with 2,349 additions and 1 deletion.
26 changes: 26 additions & 0 deletions LICENSE.md
Expand Up @@ -38,3 +38,29 @@ The ModelingToolkit.jl package is licensed under the MIT "Expat" License:
> SOFTWARE.
>
>
The code in `src/structural_transformation/bipartite_tearing/modia_tearing.jl`,
which is from the [Modia.jl](https://github.com/ModiaSim/Modia.jl) project, is
licensed as follows:

MIT License

Copyright (c) 2017-2018 ModiaSim developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions Project.toml
Expand Up @@ -21,6 +21,7 @@ LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Expand Down Expand Up @@ -51,6 +52,7 @@ Latexify = "0.11, 0.12, 0.13, 0.14"
LightGraphs = "1.3"
MacroTools = "0.5"
NaNMath = "0.3"
NonlinearSolve = "0.3.8"
RecursiveArrayTools = "2.3"
Reexport = "0.2, 1"
Requires = "1.0"
Expand Down
4 changes: 3 additions & 1 deletion src/ModelingToolkit.jl
@@ -1,6 +1,6 @@
module ModelingToolkit

using DiffEqBase, SciMLBase
using DiffEqBase, SciMLBase, Reexport
using Distributed
using StaticArrays, LinearAlgebra, SparseArrays, LabelledArrays
using Latexify, Unitful, ArrayInterface
Expand Down Expand Up @@ -249,6 +249,8 @@ include("systems/systemstructure.jl")
using .SystemStructures

include("systems/alias_elimination.jl")
include("structural_transformation/StructuralTransformations.jl")
@reexport using .StructuralTransformations

include("latexify_recipes.jl")
include("build_function.jl")
Expand Down

0 comments on commit fc815cb

Please sign in to comment.