Default build :
$ cmake -S . -B Build -G Ninja
$ cd Build
$ ninjaIn order to enable optimizations :
$ cmake -S . -B Build -G Ninja -DCMAKE_BUILD_TYPE=Release
$ cd Build
$ ninjaTo run the default configuration
$ ninja runOther usefull targets are :
$ ninja doc
$ ninja plot
$ ninja vmdA file containing cartesian coordinates of a particle system. The format is the following :
> 0 1
> type x y z
> type x y z First line is the number of input types Type is ignored here
When the input is parsed we need to be checking for duplicates particles as it's physically wrong to have two particles at the same place
These are the main formulas used in the simulation
Then the correction Lennard Jones and Forces with sigmoid for points between
R_c - dr < r_ij < R_c + dr
to keep the equation continuous and differentiable (necessary as we are
considering a cut off radius)
Velocity Verlet
-> with Verlet lists (sorted for efficiency)
PDB formatted file with the simulation state at different time steps, by default results are dumped every iterations
CSV for the Temperatures, Kinetic Energy, Potential Energy, Sum of the energies by default results are also dumped every iterations
https://fortranwiki.org/fortran/show/Keywords
https://fortran-lang.org/en/learn/
https://en.wikipedia.org/wiki/Lennard-Jones_potential
https://en.wikipedia.org/wiki/Periodic_boundary_conditions
https://en.wikipedia.org/wiki/Verlet_integration
https://www.biostat.jhsph.edu/~iruczins/teaching/260.655/links/pdbformat.pdf
https://curc.readthedocs.io/en/latest/programming/OpenMP-Fortran.html