Load and Run
A guide to using axcli's load and run commands
On this page, you'll learn about:
Both the
axcli loadandaxcli runcommands and their differencesWhen to use
runand when to useloadAxinite's backends
axcli load
axcli loadThe load command takes a template file and computes the timesteps of the system. Afterwards, dumps the data to a file.
axcli load <TEMPLATE> [OUTFILE] [-b|--backend BACKEND]axcli run
axcli runaxcli's run command takes a template file and loads it while simultaneously showing it.
axcli <TEMPLATE> [-b|--backend BACKEND][-f|--frontend FRONTEND]run vs load
run vs loadThe run command and the load command have different purposes. run is meant to be used for testing, or as an alternative to live if on a high-end computer. load can handle large simulations better due to the fact that it can use JIT.
Trying out a template file from the catalog
Simulating 30 days of 1 hour timesteps
Simulating 30 days of 5 minute timesteps
Simulating a full rocket launch
Testing out whether thrust works on the rocket
Backends
Axinite comes included with many built in backends, which you can learn more about here. You can pass in:
eulerfor a Euler's method backend.euler_nojitfor a Euler's method backend without JIT.verletfor a Verlet method backend.verlet_nojitfor a Verlet backend without JIT.
Last updated