-
Notifications
You must be signed in to change notification settings - Fork 23
minimc_geom
Four MiniMC simulation geometries are currently available, all representing a single convex volume centered around the origin and axis aligned where appropriate.
Here follows a few examples of how one can set the geometry using the geomcfg string parameter. Note that geometry length values are always to be specified in meters:
-
"sphere;r=0.05"A sphere centered at (x,y,z)=(0,0,0) with a radius of 5cm.
-
"cyl;r=0.001"An infinite cylinder around the y-axis with a radius of 1mm.
-
"cyl;r=0.007;dy=0.03"A 6cm long cylinder around the y-axis with radius of 7mm. The cylinder endcaps are located at y=+-10cm.
-
"slab;dz=0.1"An infinite slab bounded by planes at z=+-10cm.
-
"box;dx=0.1;dy=0.2;dz=0.3"An axis-aligned box centered at (x,y,z)=(0,0,0) with the 8 corners located at (x,y,z)=(+-10cm,+-20cm,+-30cm).
The full list of available geometries and their parameters:
-
"sphere":A spherical volume centered at (0,0,0).
Parameters:
- r (default "0.01") : sphere radius [m].
-
"box":An axis-aligned box with corners at (+-dx,+-dy,+-dz).
Parameters:
- dx (default "0.01") : half-width [m].
- dy (default "0.01") : half-height [m].
- dz (default "0.01") : half-depth [m].
-
"slab":An unbounded slab bound by planes through (0,0,+-dz) and normals (0,0,1). This is essentially a box with dx=dy=infinity.
Parameters:
- dz (default "0.01") : half-depth [m].
-
"cyl":A cylinder around the y-axis. If dy!=0 the cylinder has finite length, with ends at y=+-dy.
Parameters:
- r (default "0.01") : cylinder radius radius [m].
- dy (default "0") : Half-length of cylinder (0 means infinitely long) [m].
Home
Get NCrystal
Using NCrystal
Data library
Cfg string parameters
Included physics
NCMAT format
MiniMC
ncmat2endf
Plugins (how to use)
Plugins (curated list)
Plugins (how to develop)
Release 2.0.0 announcement
Release 2.1.0 announcement
Release 2.5.0 announcement
Release 2.7.0 announcement
Release 3.0.0 announcement
Release 3.1.0 announcement
Release 3.2.0 announcement
About
Contact