initial commit
This commit is contained in:
BIN
nbody/1990ApJ___356__359H.pdf
Normal file
BIN
nbody/1990ApJ___356__359H.pdf
Normal file
Binary file not shown.
BIN
nbody/N_Body_project_2021-2.pdf
Normal file
BIN
nbody/N_Body_project_2021-2.pdf
Normal file
Binary file not shown.
BIN
nbody/N_Body_project_2022.pdf
Normal file
BIN
nbody/N_Body_project_2022.pdf
Normal file
Binary file not shown.
450091
nbody/data/data.ascii
Normal file
450091
nbody/data/data.ascii
Normal file
File diff suppressed because it is too large
Load Diff
50010
nbody/data/data.txt
Normal file
50010
nbody/data/data.txt
Normal file
File diff suppressed because it is too large
Load Diff
1009
nbody/data/data0.txt
Normal file
1009
nbody/data/data0.txt
Normal file
File diff suppressed because it is too large
Load Diff
1009
nbody/data/data0_noise.txt
Normal file
1009
nbody/data/data0_noise.txt
Normal file
File diff suppressed because it is too large
Load Diff
9914
nbody/data/data1.txt
Normal file
9914
nbody/data/data1.txt
Normal file
File diff suppressed because it is too large
Load Diff
23
nbody/notes.md
Normal file
23
nbody/notes.md
Normal file
@@ -0,0 +1,23 @@
|
||||
###
|
||||
|
||||
# Comparing with the analytical potential
|
||||
|
||||
Plot a log-log plot of rho(r):
|
||||
- the discrete solution has poissonian error: 1/sqrt(N) where N is the number of particles in the bins
|
||||
|
||||
=> ensure the discretization is consistent
|
||||
|
||||
|
||||
# Comparing forces
|
||||
- Use newtons law by considering only the inner shells:
|
||||
F_i = GM(R_i)/R_i^2
|
||||
|
||||
|
||||
=> this should all be done with the .ascii file (All particles, not yet meshed)
|
||||
|
||||
|
||||
|
||||
|
||||
## Task2
|
||||
a) start with only the monopole and compare with the direct summation
|
||||
only then build the tree code
|
0
nbody/utils/load.py
Normal file
0
nbody/utils/load.py
Normal file
Reference in New Issue
Block a user