Skip to content
Snippets Groups Projects
Commit 34afc58d authored by Ganeva, Marina's avatar Ganeva, Marina
Browse files

README file for the c++ example.

parent ea90eafe
No related branches found
No related tags found
No related merge requests found
BornAgain simulation example using C++ interface.
This folder contains:
--- ex001_CylindersAndPrisms ---
Mixture of cylinders and prisms without interference.
Corresponds to IsGISAXS example #1.
How to compile and run the example.
-------------------------------------------------------------------------------
1) Install third party software
-------------------------------------------------------------------------------
Required:
* compilers: clang versions >=3.1 or GCC versions >=4.2
* cmake >=2.8
* boost library >=1.48
* Eigen3 library >=3.1.0
* BornAgain library
* ROOT framework (to plot the result)
-------------------------------------------------------------------------------
2) Building with CMake
-------------------------------------------------------------------------------
mkdir <build_dir>
cd <build_dir>
cmake <source_dir>
make
-------------------------------------------------------------------------------
3) Running the simulation
-------------------------------------------------------------------------------
cd <build_dir>
./CylindersAndPrisms
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment