EGS Brachy
An egs++ user code for rapid brachytherapy calculations
Loading...
Searching...
No Matches
/Users/marc/Developer/EGSnrc/HEN_HOUSE/user_codes/egs_brachy/egs_brachy/array_sizes.h
Go to the documentation of this file.
1/*
2################################################################################
3#
4# egs_brachy array_sizes.h
5# Copyright (C) 2016 Rowan Thomson, Dave Rogers, Randle Taylor, and Marc
6# Chamberland
7#
8# This file is part of egs_brachy
9#
10# egs_brachy is free software: you can redistribute it and/or modify it
11# under the terms of the GNU Affero General Public License as published
12# by the Free Software Foundation, either version 3 of the License, or
13# (at your option) any later version.
14#
15# egs_brachy is distributed in the hope that it will be useful, but
16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18# Affero General Public License for more details:
19# <http://www.gnu.org/licenses/>.
20#
21################################################################################
22#
23# When egs_brachy is used for publications, please cite our paper:
24# M. J. P. Chamberland, R. E. P. Taylor, D. W. O. Rogers, and R. M. Thomson,
25# egs brachy: a versatile and fast Monte Carlo code for brachytherapy,
26# Phys. Med. Biol. 61, 8214-8231 (2016).
27#
28################################################################################
29#
30# Author: Randle Taylor, 2016
31#
32# Contributors: Marc Chamberland
33# Dave Rogers
34# Rowan Thomson
35#
36################################################################################
37*/
38
39/*****************************************************************************
40 *
41 *
42 * Define in this file the maximum number of media (MXMED) and the
43 * maximum number of particles on the stack (MXSTACK).
44 * This file gets included by the egsnrc fortran subroutines
45 * (egsnrc_$my_machine.F), the base application (egs_simple_application.cpp
46 * or egs_advanced_application.cpp in $HEN_HOUSE/egs++), and possible by
47 * the user code, if use is made of the particle stack or one of the
48 * structures that depends on the maximum number of media.
49 *
50 *****************************************************************************/
51
52#ifndef ARRAY_SIZES_
53#define ARRAY_SIZES_
54
55/* don't forget to adjust corresponding values in egs_brachy.macros
56then make clean; make */
57#define MXMED 50
58#define MXSTACK 200000
59#endif