View source: R/mcnp_mesh_bins.R
mcnp_mesh_bins | R Documentation |
#' :
Find the parameters needed for a rectilinear "superimposed mesh
tally b" in MCNP. It can be a challenge to center mesh tally
bins at a desired value of x, y, or z. This function looks at a
single dimension, – in units of cm – at a time. This is a new
function and hasn't been tested thoroughly. The idea is to
identify a single setting in the MCNP mesh tally for
imesh and iints (or jmesh and jints or kmesh and kints). It
is designed only for uniform mesh bin sizes.
mcnp_mesh_bins(
target,
width,
lowest_less,
lowest_high,
highest_high,
highest_less
)
target |
the desired center a single mesh |
width |
the individual mesh |
lowest_less |
in the direction of a decreasing dimension, what is the lowest that it can go and still be acceptable? |
lowest_high |
in the direction of an increasing dimension, what is the lowest that it can go and still be acceptable? |
highest_high |
in the direction of an increasing dimension, what is the highest that it can go and still be acceptable? |
highest_less |
in the direction of a decreasing dimension, what is the highest that it can go and still be acceptable? |
a data frame providing:
low_set, the minimum dimension. This is probably best used in the origin parameter in the MCNP mesh tally. high_set, the maximum dimension for the bin. This can be identified in the MCNP mesh tally setting of imesh, jmesh, or kmesh. width, this is just a return of the parameter supplied to the function. numblocks, the number of fine meshes. This can be used in the MCNP mesh tally setting of iints, jints, or kints.
Other mcnp tools:
mcnp_cone_angle()
,
mcnp_est_nps()
,
mcnp_matrix_rotations()
,
mcnp_plot_out_spec()
,
mcnp_scan2plot()
,
mcnp_scan_save()
,
mcnp_sdef_erg_hist()
,
mcnp_sdef_erg_line()
,
mcnp_si_sp_RD()
,
mcnp_si_sp_hist_scan()
,
mcnp_si_sp_hist()
mcnp_mesh_bins(target = 30, width = 10, lowest_less = 0,
highest_less = 15, highest_high = 304.8, lowest_high = 250)
#'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.