MCNP -- What is meant by 2M and 20R?

Click For Summary
In the context of MCNP, "2M" and "20R" refer to specific notations where "M" stands for multiply, "R" for repeat, and "I" for interpolate. For example, "20M" indicates multiplying a number by 20, while "20R" means repeating a number 20 times. This shorthand simplifies the representation of long lists of numbers, making it easier to write tally bins. The discussion emphasizes the utility of these notations in reducing effort when dealing with numerical data. Understanding these terms is crucial for efficient communication in MCNP-related tasks.
Anisur Rahman
Messages
15
Reaction score
1
TL;DR
MCNP Importance
Screenshot 2023-10-06 221708.png
What is meant by 2M and 20R here?
 
Engineering news on Phys.org
Welcome to PF!

M I didn't know, but I and R are common. I means interpolate, R means repeat and M turns out to mean multiply.
So in any long list of numbers,
5 20M 20M
Would be the same as,
5 100 2000
and
7 8R
Would be the same as,
7 7 7 7 7 7 7 7 7
and
1 8I 10
Would be the same as,
1 2 3 4 5 6 7 8 9 10
(I think, I make a lot of off by one errors using I, it's not in your question but it saves soooo much effort writing tally bins you should know it)
 
Thank you so much!
 
I'd like to start a discussion/debate of nuclear power for the purpose of informing people about it. I am participating in a thread in another forum http://www.badastronomy.com/phpBB/viewtopic.php?t=9370 where we are discussing an article about Germany planning to phase out nuclear power. I am STRONGLY against this. It is bad for scientific, economic, political, and environmental reasons. In the course of discussions of the nuclear power issue, it seems to me that the arguements...

Similar threads

Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K