Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
N Body Simulation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This server has been upgraded to GitLab release
17.10
.
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Armin Damon Riess
N Body Simulation
Commits
cfeef013
Commit
cfeef013
authored
2 years ago
by
Armin Damon Riess
Browse files
Options
Downloads
Patches
Plain Diff
change output file, plot energy
parent
e0625408
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
out/data.txt
+120
-0
120 additions, 0 deletions
out/data.txt
out/mid.txt
+0
-200
0 additions, 200 deletions
out/mid.txt
plots/mid.png
+0
-0
0 additions, 0 deletions
plots/mid.png
plots/plot.png
+0
-0
0 additions, 0 deletions
plots/plot.png
plots/plot.py
+2
-2
2 additions, 2 deletions
plots/plot.py
with
122 additions
and
202 deletions
out/data.txt
0 → 100644
+
120
−
0
View file @
cfeef013
-6.6992e+13
-6.60576e+13
-6.55073e+13
-6.52215e+13
-6.51594e+13
-6.53159e+13
-6.56442e+13
-6.60801e+13
-6.64514e+13
-6.66628e+13
-6.68389e+13
-6.69497e+13
-6.69661e+13
-6.69953e+13
-6.70412e+13
-6.70578e+13
-6.70686e+13
-6.70099e+13
-6.69913e+13
-6.69693e+13
-6.7031e+13
-6.70585e+13
-6.70279e+13
-6.69943e+13
-6.70039e+13
-6.6982e+13
-6.69542e+13
-6.69374e+13
-6.69678e+13
-6.69919e+13
-6.70018e+13
-6.70132e+13
-6.70079e+13
-6.69618e+13
-6.68973e+13
-6.68512e+13
-6.68523e+13
-6.68732e+13
-6.68939e+13
-6.68475e+13
-6.67637e+13
-6.66429e+13
-6.65647e+13
-6.65389e+13
-6.65599e+13
-6.66045e+13
-6.66335e+13
-6.66808e+13
-6.67007e+13
-6.66669e+13
-6.6593e+13
-6.6522e+13
-6.64481e+13
-6.64263e+13
-6.63906e+13
-6.63711e+13
-6.63565e+13
-6.63748e+13
-6.63652e+13
-6.63837e+13
-6.64198e+13
-6.64334e+13
-6.63986e+13
-6.63763e+13
-6.63939e+13
-6.63913e+13
-6.64133e+13
-6.64861e+13
-6.658e+13
-6.66823e+13
-6.67645e+13
-6.67906e+13
-6.67192e+13
-6.66191e+13
-6.65598e+13
-6.64593e+13
-6.63576e+13
-6.63242e+13
-6.63543e+13
-6.63814e+13
-6.6418e+13
-6.64551e+13
-6.64566e+13
-6.64512e+13
-6.64504e+13
-6.64743e+13
-6.65321e+13
-6.66088e+13
-6.66154e+13
-6.65544e+13
-6.64995e+13
-6.64576e+13
-6.64288e+13
-6.64392e+13
-6.64305e+13
-6.63964e+13
-6.63997e+13
-6.64191e+13
-6.63738e+13
-6.63268e+13
-6.63029e+13
-6.62779e+13
-6.62594e+13
-6.62474e+13
-6.62328e+13
-6.61983e+13
-6.61639e+13
-6.61139e+13
-6.61356e+13
-6.61979e+13
-6.62031e+13
-6.62073e+13
-6.62188e+13
-6.63118e+13
-6.64291e+13
-6.65251e+13
-6.66092e+13
-6.66771e+13
-6.67361e+13
-6.67431e+13
\ No newline at end of file
This diff is collapsed.
Click to expand it.
out/mid.txt
deleted
100644 → 0
+
0
−
200
View file @
e0625408
2.01189
2.00847
2.00163
1.99142
1.97791
1.96114
1.94123
1.91834
1.89275
1.86493
1.83702
1.81487
1.80006
1.79107
1.78666
1.78567
1.78735
1.79071
1.79522
1.80021
1.80535
1.81019
1.81446
1.81803
1.82084
1.82282
1.82405
1.82473
1.8252
1.8258
1.82659
1.82769
1.82916
1.83083
1.83264
1.83443
1.8361
1.83756
1.83885
1.83981
1.84045
1.84085
1.84092
1.8408
1.8405
1.84014
1.83982
1.83964
1.83968
1.84
1.84048
1.84113
1.84196
1.84282
1.84366
1.84452
1.84538
1.8462
1.84697
1.84778
1.84859
1.84936
1.85017
1.85111
1.85209
1.85311
1.85432
1.85563
1.85706
1.85874
1.86065
1.86267
1.86471
1.8668
1.86882
1.87068
1.87226
1.87367
1.87491
1.87595
1.87683
1.87767
1.87843
1.87914
1.8798
1.8805
1.88124
1.88208
1.8831
1.88429
1.88563
1.88707
1.88853
1.88994
1.8913
1.89266
1.89401
1.89537
1.89663
1.8978
1.89875
1.8995
1.90002
1.9004
1.90075
1.9011
1.90149
1.90194
1.9025
1.90311
1.90381
1.90458
1.90552
1.90658
1.90785
1.90926
1.91081
1.91232
1.91379
1.91521
1.91661
1.91787
1.91896
1.91985
1.92067
1.92136
1.92204
1.92273
1.92349
1.92429
1.92526
1.92631
1.92747
1.92856
1.92967
1.93071
1.93169
1.93261
1.93348
1.93428
1.93496
1.93554
1.93606
1.93661
1.93712
1.93769
1.93828
1.93899
1.9398
1.94074
1.9418
1.943
1.94423
1.94543
1.94658
1.94772
1.94886
1.94988
1.95078
1.95154
1.95232
1.95306
1.95376
1.95438
1.95501
1.95558
1.9561
1.95665
1.95725
1.95785
1.9584
1.95903
1.95968
1.96039
1.96121
1.96221
1.96335
1.96467
1.96608
1.96762
1.96913
1.97066
1.97224
1.97387
1.97542
1.97687
1.9782
1.97948
1.9806
1.98159
1.98244
1.98317
1.98371
1.98415
1.98446
1.98462
1.9846
1.98445
1.9843
1.98424
\ No newline at end of file
This diff is collapsed.
Click to expand it.
plots/mid.png
deleted
100644 → 0
+
0
−
0
View file @
e0625408
19.8 KiB
This diff is collapsed.
Click to expand it.
plots/plot.png
0 → 100644
+
0
−
0
View file @
cfeef013
29.9 KiB
This diff is collapsed.
Click to expand it.
plots/plot
_mid
.py
→
plots/plot.py
+
2
−
2
View file @
cfeef013
import
numpy
as
np
import
matplotlib.pyplot
as
plt
data
=
np
.
loadtxt
(
'
../out/
mid
.txt
'
)
data
=
np
.
loadtxt
(
'
../out/
data
.txt
'
)
steps
=
np
.
linspace
(
0
,
len
(
data
),
len
(
data
))
plt
.
plot
(
steps
,
data
)
plt
.
savefig
(
'
mid.png
'
)
\ No newline at end of file
plt
.
savefig
(
'
plot.png
'
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment