EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
array_sizes.h
1 /*
2 ###############################################################################
3 #
4 # EGSnrc tutor7pp application array sizes headers
5 # Copyright (C) 2015 National Research Council Canada
6 #
7 # This file is part of EGSnrc.
8 #
9 # EGSnrc is free software: you can redistribute it and/or modify it under
10 # the terms of the GNU Affero General Public License as published by the
11 # Free Software Foundation, either version 3 of the License, or (at your
12 # option) any later version.
13 #
14 # EGSnrc is distributed in the hope that it will be useful, but WITHOUT ANY
15 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 # FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
17 # more details.
18 #
19 # You should have received a copy of the GNU Affero General Public License
20 # along with EGSnrc. If not, see <http://www.gnu.org/licenses/>.
21 #
22 ###############################################################################
23 #
24 # Author: Iwan Kawrakow, 2005
25 #
26 # Contributors:
27 #
28 ###############################################################################
29 #
30 # Defines he maximum number of media (MXMED) and the maximum number of
31 # particles on the stack (MXSTACK). This file gets included by the egsnrc
32 # fortran subroutines (egsnrc_$my_machine.F), the base application
33 # (egs_simple_application.cpp or egs_advanced_application.cpp in
34 # $HEN_HOUSE/egs++), and possibly the user code, if it uses the particle
35 # stack or one of the structures that depends on the maximum number of media.
36 #
37 ###############################################################################
38 */
39 
40 
41 #ifndef ARRAY_SIZES_
42 #define ARRAY_SIZES_
43 #define MXMED 10
44 #define MXSTACK 50
45 #endif