Program for computing knots, crossings and double negative index from C-link. It has graphic and no-graphic versions.
REQUIRED PACKAGES:
- pkg-config
- qt5
- gsl
- freeglut
- graphviz
- python (2.7)
- pip
- python-tk (only linux)
- virtualenv (from pip)
COMMAND FOR LINUX
sudo apt install make pkg-config build-essential qt5-default libgsl0-dev freeglut3-dev graphviz python2.7 python-pip python-tk
pip2 install virtualenv
COMMAND FOR MAC OX
brew install pkg-config python@2 qt5 freeglut graphviz
brew link qt5 --force
pip2 install virtualenv
TO INSTALL, CALL:
./qtknots/install.sh
TO RUN THE GRAPHIC PROGRAM, CALL:
./qtknots/run.sh
TO RUN THE NON-GRAPHIC PROGRAM, CALL:
./qtknots/no-graphic-run.sh -function file-with-your-function
./qtknots/no-graphic-run.sh -points file-with-your-points
TO CLEAN AFTER INSTALLATION, CALL:
./qtknots/clean.sh
THE PROGRAM ALLOWS TO INPUT FUNCTION FROM THE FILE. THE SAMPLE FILES ARE INCLUDED IN FOLDER "FUNCTION-SAMPLES" - PLEASE FOLLOW THE FORMAT:
name_of_function_without_spaces
power_x power_y real imag
THE PROGRAM ALLOWS TO INPUT KNOT FROM THE FILE BY PROVIDING 4D POINTS. THE SAMPLE FILES ARE INCLUDED IN FOLDER "POINTS-SAMPLES" - PLEASE FOLLOW THE FORMAT:
point1.x point1.y point1.z point1.w
point2.x point2.y point2.z point2.w