aboutsummaryrefslogtreecommitdiffstats
path: root/examples/classic_gravitation
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/classic_gravitation
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/classic_gravitation')
-rw-r--r--examples/classic_gravitation/examples.toml (renamed from examples/classic_gravitation/metadata.toml)4
-rw-r--r--examples/classic_gravitation/model.modelica1
2 files changed, 1 insertions, 4 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";