Skip to content

Mo move ast to modia #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
440 changes: 408 additions & 32 deletions Manifest.toml

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name = "ModiaBase"
uuid = "ec7bf1ca-419d-4510-bbab-199861c55244"
authors = ["Hilding Elmqvist <Hilding.Elmqvist@Mogram.net>", "Martin Otter <Martin.Otter@dlr.de>"]
version = "0.9.2"
version = "0.10.0"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
DiffRules = "b552c78f-8df3-52c6-915a-8e097449b14b"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
RecursiveFactorization = "f2c3362d-daeb-58d1-803e-2bc74f2840b4"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[compat]
Expand All @@ -21,8 +18,6 @@ DiffRules = "1"
Measurements = "2"
MonteCarloMeasurements = "1"
OrderedCollections = "1"
RecursiveFactorization = "0.2"
StaticArrays = "1"
TimerOutputs = "0.5"
Unitful = "1"
julia = "1.7"
10 changes: 10 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ julia> ]add ModiaBase

## Release Notes

### Version 0.10.0

**Non-backwards** compatible changes

- EquationAndStateInfo.jl and StateSelection.jl moved to Modia (ModiaLang is merged into Modia), because
the AST generation in these files depends on details of CodeGeneration.jl of Modia/ModiaLang.

- TestLinearEquations.jl also moved to Modia/ModiaLang.


### Version 0.9.2

- Minor (efficiency) improvement of linear equation system if iteration variables are SVectors.
Expand Down
1,026 changes: 0 additions & 1,026 deletions src/EquationAndStateInfo.jl

This file was deleted.

16 changes: 4 additions & 12 deletions src/ModiaBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@ Main module of ModiaBase.
module ModiaBase

const path = dirname(dirname(@__FILE__)) # Absolute path of package directory
const Version = "0.9.2"
const Date = "2022-02-23"
const Version = "0.10.0"
const Date = "2022-03-01"

#println("\nImporting ModiaBase Version $Version ($Date)")

using Unitful
using StaticArrays


# append! as needed in EquationAndStateInfo.jl and in ModiaLang/src/CodeGeneration.jl
appendVariable!(v1::Vector{FloatType}, s::FloatType) where {FloatType} = push!(v1,s)
appendVariable!(v1::Vector{FloatType}, v2) where {FloatType} = append!(v1,v2)
using Unitful
using StaticArrays

include("LinearIntegerEquations.jl")

Expand All @@ -41,7 +36,4 @@ using .Simplify
include("Symbolic.jl")
using .Symbolic

include("EquationAndStateInfo.jl")
include("StateSelection.jl")

end
Loading