.. _[t-rshow]: [ T-Rshow ] section ================================================== This tally produces graphical geometry output for regions bounded by **xyz** mesh with color plotting in proportion to physical quantities of the regions. Usually, this tally uses results obtained by a PHITS calculation with **reg** mesh as input data to display the distribution of the physical quantity. These outputs can be obtained without transport calculation using the option **icntl=9** in the **[parameters]** section. A scale of the color gradation can be changed by setting ANGEL parameters **zlog** and **zlin** to log and linear scales, respectively. The default setting is **zlin**. .. rst-class:: no-caption-number .. list-table:: **mesh** :header-rows: 0 * - value - explanation * - **xyz** - Mesh type. Only **xyz** mesh can be set. A mesh type subsection is required below this option. .. rst-class:: no-caption-number .. list-table:: **axis** :header-rows: 0 * - value - explanation * - **xy, yz, xz** - 2-dimensional. .. include:: ../commontally/file.rst .. rst-class:: no-caption-number .. list-table:: **output** :header-rows: 0 * - value - explanation * - **1** - Region boundary. * - **2** - Region boundary + material name. * - **3** - Region boundary + region name. * - **4** - Region boundary + LAT number. .. rst-class:: no-caption-number .. list-table:: **resol** :header-rows: 0 * - value - explanation * - **1** (default) - This option multiplies the region line resolution by a factor of **resol**. .. include:: ../commontally/width.rst .. include:: ../commontally/title.rst .. include:: ../commontally/angel.rst .. include:: ../commontally/sangel.rst .. include:: ../commontally/x-txt.rst .. include:: ../commontally/y-txt.rst .. include:: ../commontally/z-txt.rst .. rst-class:: no-caption-number .. list-table:: **reg, value, reg val** :header-rows: 0 * - value - explanation * - **reg** - Region definition. * - **value** - Value definition. * - **reg val** - Value definition with the same format as volume definition. For details see the **[volume]** section. .. include:: ../commontally/iechrl.rst .. rst-class:: no-caption-number .. list-table:: **epsout** :header-rows: 0 * - value - explanation * - **0** (default), **1** - Results are plotted into eps files. This eps file is named by replacing the extension into ``.eps``. .. include:: ../commontally/bmpout.rst .. include:: ../commontally/trcl.rst .. include:: ../commontally/gslat.rst For example, :numref:`fig-rshow` can be obtained by the **[t-rshow]** tally shown below from example (6) shown in :numref:`sec-cell-lattice`. .. code-block:: text :caption: **[t-rshow]** example 1: [ T - rshow ] 2: mesh = xyz 3: x-type = 2 4: nx = 100 5: xmin = -10. 6: xmax = 10. 7: y-type = 1 8: ny = 1 9: -5.0 5.0 10: z-type = 2 11: nz = 100 12: zmin = -10. 13: zmax = 10. 14: axis = xz 15: output = 1 16: file = cell-example6-rshow.dat 17: epsout = 1 18: reg = (201<101[-1 1 0]<1) (201<101[0 1 0]<1) (201<101[1 1 0]<1) 19: (201<101[-1 0 0]<1) (201<101[0 0 0]<1) (201<101[1 0 0]<1) 20: (201<101[-1 -1 0]<1) (201<101[0 -1 0]<1) (201<101[1 -1 0]<1) 21: value 22: non reg val # reg definition 23: 1 1000001 1.0000E+00 # ( 201 < 101[ -1 1 0 ] < 1 ) 24: 2 1000002 2.0000E+00 # ( 201 < 101[ 0 1 0 ] < 1 ) 25: 3 1000003 3.0000E+00 # ( 201 < 101[ 1 1 0 ] < 1 ) 26: 4 1000004 4.0000E+00 # ( 201 < 101[ -1 0 0 ] < 1 ) 27: 5 1000005 5.0000E+00 # ( 201 < 101[ 0 0 0 ] < 1 ) 28: 6 1000006 6.0000E+00 # ( 201 < 101[ 1 0 0 ] < 1 ) 29: 7 1000007 7.0000E+00 # ( 201 < 101[ -1 -1 0 ] < 1 ) 30: 8 1000008 8.0000E+00 # ( 201 < 101[ 0 -1 0 ] < 1 ) 31: 9 1000009 9.0000E+00 # ( 201 < 101[ 1 -1 0 ] < 1 ) .. figure:: ./cell-example6-rshow.png :width: 25em :name: fig-rshow :align: center Example of **[t-rshow]**.