Skip to content

Commit e106f7e

Browse files
committed
Update of readme
1 parent 14be2ef commit e106f7e

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,32 @@ The current build has models that cover the ISIS neutron facility, the ESS, and
1515
Contributions, comments and bug issues welcome. Please see the documents section for an introduction to the program philosophy and useage.
1616

1717
Some basic tutorials and a bit of a gettting started guide is available at http://plone.esss.lu.se/
18+
19+
Requirements
20+
------------
21+
22+
To compile, you will need CMake, a C++ compiler (clang/gcc for example), boost, and GSL (Gnu Scientific Library).
23+
24+
It can be built either in the top directory or in a separate build directory.
25+
If built in the source directory, the command is
26+
27+
```
28+
cmake ./
29+
make
30+
```
31+
32+
or for a separate build directory
33+
34+
```
35+
cmake -B/path/to/buildDirectory -S/path/to/srcDirectory
36+
make
37+
```
38+
39+
obviously make can be decorated with normal stuff, like -j8 to speed things up, or VERBOSE=1 to see what is going on.
40+
41+
42+
After than build a model e.g.
43+
```
44+
./maxiv --defaultConfig Single COSAXS AA
45+
```
46+
will build the CoSAXS beamline model for Max IV.

src/Simulation.cxx

-5
Original file line numberDiff line numberDiff line change
@@ -1818,14 +1818,9 @@ Simulation::minimizeObject(const int CN)
18181818
MonteCarlo::Object* CPtr = findObject(CN);
18191819
if (!CPtr)
18201820
throw ColErr::InContainerError<int>(CN,"Cell not found");
1821-
if (CN==2620002)
1822-
ELog::EM<<"MIN OBJECT "<<*CPtr<<ELog::endDiag;
18231821
const int flag=minimizeObject(CPtr);
18241822
if (flag<0)
18251823
Simulation::removeCell(CN);
1826-
if (CN==2620002)
1827-
1828-
ELog::EM<<"MIN OBJECT FLAG "<<flag<<ELog::endDiag;
18291824
return flag;
18301825
}
18311826

0 commit comments

Comments
 (0)