Skip to content

SAnsell/CombLayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6e86fbe · Nov 28, 2024
Nov 27, 2024
Nov 28, 2024
Nov 28, 2024
Nov 13, 2023
Jun 28, 2022
Nov 28, 2024
Oct 16, 2023
Jun 19, 2023
Nov 24, 2023
Mar 6, 2024
Nov 28, 2024
Feb 8, 2024
Feb 8, 2024
Jun 14, 2023
Nov 23, 2023
Mar 17, 2024
Nov 18, 2013
Nov 28, 2024
Nov 28, 2024
Nov 28, 2024
Mar 18, 2024
Mar 25, 2024
Mar 6, 2023
Aug 16, 2023
Feb 22, 2023
Mar 19, 2024
May 11, 2020
Jan 7, 2020
Nov 18, 2013
Aug 16, 2023
Nov 10, 2022
Mar 13, 2024
Aug 28, 2015
Aug 28, 2015
Feb 4, 2021
Jan 11, 2024

Repository files navigation

CombLayer

MCNP(X) project builder using C++

The object of this program is to produce highly parametric space-filling geometry models described by quadratic surfaces. The models are primarily for used to build MCNPX models for nuclear simulation but it can be quickly addapted for any other such geometry-type problem.

The program has its own internal tracking system, which allows simple validation, variance reduction to be done, and property checking.

The current build has models that cover the ISIS neutron facility, the ESS, and others.

Contributions, comments and bug issues welcome. Please see the documents section for an introduction to the program philosophy and useage.

Some basic tutorials and a bit of a gettting started guide is available at http://plone.esss.lu.se/

Requirements

To compile, you will need CMake, a C++ compiler (clang/gcc for example), boost, and GSL (Gnu Scientific Library).

It can be built either in the top directory or in a separate build directory. If built in the source directory, the command is

cmake ./
make

or for a separate build directory

cmake -B/path/to/buildDirectory -S/path/to/srcDirectory
make

obviously make can be decorated with normal stuff, like -j8 to speed things up, or VERBOSE=1 to see what is going on.

After than build a model e.g.

./maxiv --defaultConfig Single COSAXS AA

will build the CoSAXS beamline model for Max IV.