wiki:WikiStart

Blasteroid

Might be used one day to visualize asteroid explosion simulations.

We'll never be as cool as Hollywood but we expect to be slightly more accurate.

This is the early phase of a work in progress.

Build the Code

Configure

Configuration is made through CMake, it requires a minimum version of 2.8.11.

$svn co https://svn.oca.eu/codes/Blasteroid/trunk blast
$cd blast  
$ mkdir rel
$ cd rel
$ cmake -DCMAKE_BUILD_TYPE=Release .. 
...
$

If you have a recent Boost version installed in e non default location and want to use it (version 1.59 or more recent might improve performances w.r.t endianness conversion):

$ cd rel
$ cmake <...> -DBOOST_ROOT=<boost distribution location>  .. 
...
$

Build

On linux like system, the configuration phase produces a Makefile based build system:

$ cd rel
$ make 
...
$

That Makefile system supports parallel build, so if you have 8 core, you can run:

$ make -j8
..
$

Run It

As for the run, assuming the frames are in ~/data/boom1/brutes/ and that the files are name ss.<nnnnn>0 and that there are 4000 of them:

$ ./bin/qtblast --fdir ~/data/boom1/brutes/ --format ss.%05d0  --nb-frame=4000

AboutTrac

Last modified 14 months ago Last modified on Jul 8, 2016 9:55:12 AM