2. Getting Started

2.1. PyPI build

If you used PyPI to build the project, Download the input template to your working directory

wget https://raw.githubusercontent.com/sayanadhikari/PPDyn/main/input.ini

Now, either create a python script in your working directory or use your python console

from PPDyn import ppdyn
from PPDyn.ppdplot import animate
import time

start = time.time()
ppdyn(input)
end = time.time()
print("Elapsed (after compilation) = %s"%(end - start)+" seconds")
animate()

2.2. GNU Make build

If you used GNU Make to build the project, upon successful compilation, run the code using following command

ppdyn --i input.ini