better structure. most of task 1 done
This commit is contained in:
BIN
nbody/reference/1990ApJ___356__359H.pdf
Normal file
BIN
nbody/reference/1990ApJ___356__359H.pdf
Normal file
Binary file not shown.
BIN
nbody/reference/N_Body_project_2022.pdf
Normal file
BIN
nbody/reference/N_Body_project_2022.pdf
Normal file
Binary file not shown.
23
nbody/reference/notes.md
Normal file
23
nbody/reference/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
|
Reference in New Issue
Block a user