Skip to content
TumRegels edited this page Oct 16, 2013 · 10 revisions

To download/clone all files of stop wrapper, simply run in linux terminal:

$ git clone git://github.com/tumregels/stop.git

To update the repository at a later time, run from the stop directory

$ git pull

Alternatively you can download a zip file

Once you have downloaded the files, you launch matlab from the terminal:

$ matlab -nodesktop

or just

$ matlab &

Afterwards change directory from Matlab command window to stop folder:

>> cd stop

Then add all directories and subdirectories within stop folder to your Matlab path:

>> addpath(genpath(pwd))

From here, you can try the kickstart or run example cases in /stop/examples folder.

To run example cases you need to adjust the following:

  1. the cross section paths inside serpent input file with ending *.spi

    set acelib "/opt/xs/jeff31/sss_jeff31.xsdata"
    
  2. absolute path to stop folder.

    >> dbtype data_for_sphere 3:4 
    3     % add all folders of the stop wrapper to matlab search path
    4     addpath(genpath('/path/to/stop/'))
  3. absolute path to sss

    >> dbtype data_for_sphere 9
    9     sim.serpExe = '/path/to/sss'
Clone this wiki locally