Skip to content

Commit aa99d78

Browse files
committed
Restructure
1 parent faea015 commit aa99d78

File tree

93 files changed

+1491
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1491
-97
lines changed

Assets/Resources/t1m2.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Resources/t1m2/AccuracyTests.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<scene>
2+
<description text="One particle orbiting a fixed point along an elliptical orbit. A special orbit will be displayed for the analytical solution for this scene. Observe how the simulation trajectory differs from the analytical solution, and change time steps to see how that affects the trajectory."/>
3+
<scenetag tag="AccuracyTestScene"/>
4+
5+
<duration time="250.0"/>
6+
<integrator type="explicit-euler" dt="0.005"/>
7+
<maxsimfreq max="500.0"/>
8+
9+
<!-- The sun -->
10+
<particle m="1.0" px="0.0" py="0.0" vx="0.0" vy="0.0" fixed="1" radius="0.06"/>
11+
<!-- Earth -->
12+
<particle m="1.0" px="8.0" py="0.0" vx="0.0" vy="2.236050808" fixed="0" radius="0.06"/>
13+
14+
<gravitationalforce i="0" j="1" G="100"/>
15+
16+
<particlecolor i="0" r="1.0" g="1.0" b="0.2"/>
17+
<particlecolor i="1" r="0.0" g="0.8" b="0.4"/>
18+
19+
<backgroundcolor r="0.0" g="0.0" b="0.0"/>
20+
21+
<particlepath i="1" duration="250.0" r="0.0" g="0.8" b="0.4"/>
22+
</scene>

Assets/Resources/t1m2/AccuracyTests/test00explicit.xml.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<scene>
2+
<description text="One particle orbiting a fixed point along an elliptical orbit. A special orbit will be displayed for the analytical solution for this scene. Observe how the simulation trajectory differs from the analytical solution, and change time steps to see how that affects the trajectory."/>
3+
<scenetag tag="AccuracyTestScene"/>
4+
5+
<duration time="500.0"/>
6+
<integrator type="symplectic-euler" dt="0.1"/>
7+
<maxsimfreq max="500.0"/>
8+
9+
<!-- The sun -->
10+
<particle m="1.0" px="0.0" py="0.0" vx="0.0" vy="0.0" fixed="1" radius="0.06"/>
11+
<!-- Earth -->
12+
<particle m="1.0" px="8.0" py="0.0" vx="0.0" vy="2.236050808" fixed="0" radius="0.06"/>
13+
14+
<gravitationalforce i="0" j="1" G="100"/>
15+
16+
<particlecolor i="0" r="1.0" g="1.0" b="0.2"/>
17+
<particlecolor i="1" r="0.0" g="0.8" b="0.4"/>
18+
19+
<backgroundcolor r="0.0" g="0.0" b="0.0"/>
20+
21+
<particlepath i="1" duration="250.0" r="0.0" g="0.8" b="0.4"/>
22+
</scene>

Assets/Resources/t1m2/AccuracyTests/test00symplectic.xml.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Resources/t1m2/GravityTests.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<scene>
2+
<description text="The earth orbiting the sun. In these units, one simulation second corresponds to one real year. Intended to benchmark the simulation against an analytical solution, to provide a basic test of the gravitational force, and to highlight differences between explicit, forward-backward, and implicit Euler. Notice how the orbit spirals outward with explicit Euler."/>
3+
4+
<duration time="4.0"/>
5+
<integrator type="explicit-euler" dt="0.001"/>
6+
<maxsimfreq max="500.0"/>
7+
8+
<!-- The sun -->
9+
<particle m="0.331436e6" px="0.0" py="0.0" vx="0.0" vy="0.0" fixed="0" radius="0.06"/>
10+
<!-- Earth -->
11+
<particle m="1.0" px="1.0" py="0.0" vx="0.0" vy="6.28316" fixed="0" radius="0.02"/>
12+
13+
<gravitationalforce i="0" j="1" G="0.000118419"/>
14+
15+
<particlecolor i="0" r="1.0" g="1.0" b="0.2"/>
16+
<particlecolor i="1" r="0.0" g="0.8" b="0.4"/>
17+
18+
<backgroundcolor r="0.0" g="0.0" b="0.0"/>
19+
20+
<particlepath i="1" duration="20.0" r="0.0" g="0.8" b="0.4"/>
21+
</scene>

Assets/Resources/t1m2/GravityTests/test00explicit.xml.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<scene>
2+
<description text="The earth orbiting the sun. In these units, one simulation second corresponds to one real year. Intended to benchmark the simulation against an analytical solution, to provide a basic test of the gravitational force, and to highlight differences between explicit, forward-backward, and implicit Euler. Notice how the orbit remains stable with forward backward Euler."/>
3+
4+
<duration time="4.0"/>
5+
<integrator type="symplectic-euler" dt="0.001"/>
6+
<maxsimfreq max="500.0"/>
7+
8+
<!-- The sun -->
9+
<particle m="0.331436e6" px="0.0" py="0.0" vx="0.0" vy="0.0" fixed="0" radius="0.06"/>
10+
<!-- Earth -->
11+
<particle m="1.0" px="1.0" py="0.0" vx="0.0" vy="6.28316" fixed="0" radius="0.02"/>
12+
13+
<gravitationalforce i="0" j="1" G="0.000118419"/>
14+
15+
<particlecolor i="0" r="1.0" g="1.0" b="0.2"/>
16+
<particlecolor i="1" r="0.0" g="0.8" b="0.4"/>
17+
18+
<backgroundcolor r="0.0" g="0.0" b="0.0"/>
19+
20+
<particlepath i="1" duration="20.0" r="0.0" g="0.8" b="0.4"/>
21+
</scene>

0 commit comments

Comments
 (0)