Skip to content

This is a repository that will contains codes and reference to Astrocomputationalphysics. It is intended to guide to the siimulation of galaxy mergers in the future.

License

Notifications You must be signed in to change notification settings

Andresfgomez970/Astrocomputationalphysics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astrocomputationalphysics

This is a repository that will contains codes and reference to Astrocomputationalphysics. It is intended to guide to the simulation of galaxy mergers in the future.

Bubble method

bubble2.c : This program generates the same 10 random particles and then calculate respect to the n (this is a varibale given for the user) generated particle (n<10) al the distances; then sorts them from little to greater. An finnaly when done you can run: "gnuplot gnuplot -c plot_postions.plt ARG1 --persist" to plot all the particles identified in the following way:

  • It gives a color respect to the varible to which the distances are calculated.
  • It paits with another coller the firs ARG1 neighbors to the variable.
  • The rest of the particles are plot with only one color.

About

This is a repository that will contains codes and reference to Astrocomputationalphysics. It is intended to guide to the siimulation of galaxy mergers in the future.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published