You should start with one of the template processes supplied with BRAHMS. To make a copy of a template and start developing it into your own Process, use the BRAHMS Manager. Read through the BRAHMS Manager to familiarise yourself with what it can do if you are not already, then click on "New" and follow the instructions below.
Creating the new process
Make the following choices.
We will assume that this went alright, including "Build" (if required) and "Test" - if it didn't, review the BRAHMS Manager page to try and find out what you might need to do to get it to work. Come back here when you've got the new Process built and tested successfully.
Modifying the new process
Click "Open" in the Manager to see what files are associated with your new Process. One file you will find there is your Process source file - we will modify this to change how your Process behaves. A second file there is
Modifications to these two files are shown with context, i.e. some surrounding lines of code that are already there. The modified lines, in each case, are highlighted, as shown here for a C example. We'll also use the ellipsis (three dots, "...") to indicate where we've missed out a bit of the file for brevity.
C/C++ Source Code
You can build the process after each modification by clicking "Build" in the BRAHMS Manager, or by running the build script included in the folder directly from the shell. Similarly, you can run the test script at the Matlab prompt (after navigating to the folder), or by clicking "Test" in the BRAHMS Manager. Do whatever suits you best.
What doesn't it do?
The Process is currently empty, which means it does very little indeed. In particular, it doesn't do the following.
In the remainder of this section, we'll look into adding these features to the new Process, one by one.
When we say "modify your source file", you can go ahead and rebuild the process (if required) and run the test script after making the mods - underneath the mods, we'll show you the output you should expect to see. Similarly, when we say "modify your test script", you can make the mods, run the script, and your output should match what we show underneath.
|This is a documentation page for the BRAHMS Modular Execution (Simulation) Framework. For details of licensing and distribution, please click here. To advise of an error or omission, please click here.|