aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-12-26 05:01:29 -0800
committerbnewbold <bnewbold@robocracy.org>2016-12-26 05:01:31 -0800
commit3983ac71d8911234342386aed897d6d2f9fef13f (patch)
tree3646646feddeb5fbc5ce8b3176e2a7bae9753f34 /examples
parentc12c61cb0f34df3421b9e967e74c0603f9e44a0f (diff)
downloadmodelthing-3983ac71d8911234342386aed897d6d2f9fef13f.tar.gz
modelthing-3983ac71d8911234342386aed897d6d2f9fef13f.zip
remove metadata.toml
Grab name and decription from modelica source. Only keep around examples in .toml (so far unimplemented)
Diffstat (limited to 'examples')
-rw-r--r--examples/classic_gravitation/examples.toml (renamed from examples/classic_gravitation/metadata.toml)4
-rw-r--r--examples/classic_gravitation/model.modelica1
-rw-r--r--examples/hodgkin_huxley/model.modelica1
-rw-r--r--examples/lotka_volterra/examples.toml (renamed from examples/lotka_volterra/metadata.toml)4
-rw-r--r--examples/van_der_pol/examples.toml (renamed from examples/van_der_pol/metadata.toml)0
5 files changed, 2 insertions, 8 deletions
diff --git a/examples/classic_gravitation/metadata.toml b/examples/classic_gravitation/examples.toml
index 9f43ae7..516b16c 100644
--- a/examples/classic_gravitation/metadata.toml
+++ b/examples/classic_gravitation/examples.toml
@@ -1,8 +1,4 @@
-[model]
-name-en = "Classic Gravitation"
-description-en = "Newtonian"
-
[examples]
[examples.earth_surface]
diff --git a/examples/classic_gravitation/model.modelica b/examples/classic_gravitation/model.modelica
index e0f7b60..7d5d327 100644
--- a/examples/classic_gravitation/model.modelica
+++ b/examples/classic_gravitation/model.modelica
@@ -1,4 +1,5 @@
model ClassicGravitation
+ "Newtonian"
parameter Real G=6.674e-11 "Gravitational Constant";
Real m1(unit="kilogram") "mass #1";
Real m2(unit="kilogram") "mass #2";
diff --git a/examples/hodgkin_huxley/model.modelica b/examples/hodgkin_huxley/model.modelica
index 9153799..532bdac 100644
--- a/examples/hodgkin_huxley/model.modelica
+++ b/examples/hodgkin_huxley/model.modelica
@@ -1,4 +1,5 @@
model HodgkinHuxley
+ "Predator-Prey Model"
parameter Real G_Na =120 "conductance";
parameter Real G_K =36 "conductance";
parameter Real G_lk =0.3 "conductance";
diff --git a/examples/lotka_volterra/metadata.toml b/examples/lotka_volterra/examples.toml
index 9753537..0f5fb85 100644
--- a/examples/lotka_volterra/metadata.toml
+++ b/examples/lotka_volterra/examples.toml
@@ -1,8 +1,4 @@
-[model]
-name-en = "Lotka–Volterra equations"
-description-en = "Predator-Prey Model"
-
[examples]
[examples.mathworld]
diff --git a/examples/van_der_pol/metadata.toml b/examples/van_der_pol/examples.toml
index e69de29..e69de29 100644
--- a/examples/van_der_pol/metadata.toml
+++ b/examples/van_der_pol/examples.toml