Local density of a nuclear system : calculations and plotting using C++11, Armadillo and PovRay
.
├── AUTHORS
├── bin
├── doc
├── Doxyfile
├── headers
├── Makefile
├── obj
├── pres
| └── visu
├── README.md
├── rho.arma
├── src
└── tests
- doc : documentation (generated using doxygen)
- bin : binary files
- headers : headers (.h files)
- src : source files (.cpp files)
- obj : obj (.o files)
- pres : presentation (launch using
firefox pres/index.html
ormake pres
)
Attention Right after cloning, you need to compile and run the main program (
make && ./bin/main
) to have pictures in the presentation The pictures in the presentation are generated when you run thebin/main
file and run the povray target. If you don't see any pictures in the presentation, runmake && ./bin/main && make povray
Required libs in order to compile the main executable :
armadillo
: Check that you have the Armadillo lib installed with support for g++ and c++11.
Required libs in order to render the 3D ray tracing model :
povray
Required libs in order to compile the tests :
cxxtests
Required libs in ordre to compile the documentation :
doxygen
graphviz
Compiling the main executable :
make
Compiling the tests :
make tests
Compiling the documentation :
make docs
Rendering povray :
make povray
The Makefile
first lines are options you can edit to customize your compilation flow
All executables must be executed from the base project folder (because code is using relative paths)
- To run the main executable, run
./bin/main
- To view the results, run
make povray
- To run the tests, run
./bin/tests
- To view the documentation, look at
./doc/html/index.html