Skip to content

Commit

Permalink
Version change to v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zekeriyasari committed Aug 24, 2020
1 parent 48c2b19 commit 15202f3
Show file tree
Hide file tree
Showing 44 changed files with 4,352 additions and 9,667 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Causal"
uuid = "c45f814d-238a-4fdc-b3d7-673e55950ac7"
authors = ["Zekeriya Sarı <zekeriya.sari@deu.edu.tr>", "Serkan Günel <serkan.gunel@deu.edu.tr>"]
version = "1.0.0"
version = "0.3.0"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
6 changes: 1 addition & 5 deletions docs/build/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions docs/build/manual/components/sinks/printer/index.html

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions docs/build/manual/components/sinks/scope/index.html

Large diffs are not rendered by default.

12 changes: 2 additions & 10 deletions docs/build/manual/components/sinks/sinks/index.html

Large diffs are not rendered by default.

60 changes: 12 additions & 48 deletions docs/build/manual/components/sinks/writer/index.html

Large diffs are not rendered by default.

44 changes: 6 additions & 38 deletions docs/build/manual/components/sources/clock/index.html

Large diffs are not rendered by default.

34 changes: 5 additions & 29 deletions docs/build/manual/components/sources/generators/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

58 changes: 11 additions & 47 deletions docs/build/manual/connections/link/index.html

Large diffs are not rendered by default.

41 changes: 7 additions & 34 deletions docs/build/manual/connections/pin/index.html

Large diffs are not rendered by default.

38 changes: 9 additions & 29 deletions docs/build/manual/connections/port/index.html

Large diffs are not rendered by default.

33 changes: 6 additions & 27 deletions docs/build/manual/models/model/index.html

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions docs/build/manual/models/simulation/index.html

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions docs/build/manual/models/taskmanager/index.html

Large diffs are not rendered by default.

12 changes: 2 additions & 10 deletions docs/build/manual/plugins/plugins/index.html

Large diffs are not rendered by default.

62 changes: 9 additions & 53 deletions docs/build/manual/utilities/buffers/index.html

Large diffs are not rendered by default.

16 changes: 2 additions & 14 deletions docs/build/manual/utilities/callback/index.html

Large diffs are not rendered by default.

16 changes: 2 additions & 14 deletions docs/build/modeling_and_simulation/modeling/index.html

Large diffs are not rendered by default.

12 changes: 2 additions & 10 deletions docs/build/modeling_and_simulation/simulation/index.html

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions docs/build/search/index.html

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions docs/build/search_index.js

Large diffs are not rendered by default.

122 changes: 29 additions & 93 deletions docs/build/tutorials/algebraic_loops/index.html

Large diffs are not rendered by default.

946 changes: 290 additions & 656 deletions docs/build/tutorials/breaking_algebraic_loops_plot1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,030 changes: 321 additions & 709 deletions docs/build/tutorials/breaking_algebraic_loops_with_memory_incorrect_plot1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
946 changes: 290 additions & 656 deletions docs/build/tutorials/breaking_algebraic_loops_with_memory_plot1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 11 additions & 34 deletions docs/build/tutorials/coupled_systems/index.html

Large diffs are not rendered by default.

9,568 changes: 3,153 additions & 6,415 deletions docs/build/tutorials/coupled_systems_plot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 9 additions & 46 deletions docs/build/tutorials/defining_new_components/index.html

Large diffs are not rendered by default.

197 changes: 38 additions & 159 deletions docs/build/tutorials/larger_model_plot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 3 additions & 15 deletions docs/build/tutorials/model_construction/index.html

Large diffs are not rendered by default.

127 changes: 29 additions & 98 deletions docs/build/tutorials/model_simulation/index.html

Large diffs are not rendered by default.

146 changes: 28 additions & 118 deletions docs/build/tutorials/simple_model_plot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions src/components/sources/generators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@ macro def_source(ex)
Note that the parameter name of output is TR. But, since the parameter name TR of trigger of the compnent
is generated by `gensym`, we get rid of duplicate parameter names.
DRAWBACK: Since the parameter symbols TR, HS, CB, ID is constructed with `gensym`, the user can define a once
only in a single Julia session. An MWE to this is as follows
julia> struct MyType{T1} # Define a type
x::T1
end
julia> struct MyType{T2} # Redefinition of MyType is not allowed.
x::T2
end
ERROR: invalid redefinition of constant MyType
Stacktrace:
[1] top-level scope at REPL[2]:1
=#
ex.args[2].head == :(<:) && ex.args[2].args[2] == :AbstractSource ||
error("Invalid usage. The type should be a subtype of AbstractSource.\n$ex")
Expand Down

0 comments on commit 15202f3

Please sign in to comment.