2. Installation and Building

Download this code from GitHub and prepare compilation environment (c++ compiler, c++11 standard library). On the terminal, move to Particle_trajectory/src directory from your download directory and make code by just typing

make

After waiting for several seconds, a execute file trajectory.out is created in the src directory. You can copy this file and run on a working directory or set PATH and use from anywhere.

Note: You are also able to compile the code manually from the src directory with a command (in case of gcc compiler with -O3 option):

g++ -O3 -o trajectory.out *cpp */*cpp -std=c++11 -fopenmp

Last updated