robertoccu / ior-curved

A library to trace curved trajectories of light according to variations of the index of refraction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ior-curved

A library to trace curved trajectories of light according to variations of the index of refraction.

Installation

To download this library, you can use the command line:

git clone https://github.com/adolfomunoz/ior-curved.git

To compile all of the executables you can use cmake, as follows:

mkdir build
cd build
cmake -G "Unix Makefiles" .. -DCMAKE_BUILD_TYPE=Release
make

This downloads (or updates) all the required dependencies into the external subfolder and compiles all the provided examples and tests and moves the executable files to the bin subfolder. Other cmake generators (such as Visual Studio) have not been tested but might work as well.

Once the external dependencies are downloaded, they won't be updated automatically, but they can be updated manually as follows

make update

About

A library to trace curved trajectories of light according to variations of the index of refraction

License:GNU General Public License v3.0


Languages

Language:C++ 52.2%Language:CMake 47.8%