Cell Definition: Improve Compute Performance?

Click For Summary
SUMMARY

The discussion focuses on the use of the '#' operator in cell definitions within MCNP (Monte Carlo N-Particle Transport Code). It is established that using '#' can slow down computation performance. Instead, it is recommended to use ':' and ' ' for cell definitions to enhance computational efficiency. Users are encouraged to test their input files with and without the '#' operator to observe performance differences, emphasizing the importance of simplicity in cell definitions for optimal computation speed.

PREREQUISITES
  • Understanding of MCNP (Monte Carlo N-Particle Transport Code)
  • Familiarity with cell definition syntax in MCNP
  • Knowledge of computational performance metrics
  • Basic experience with input file optimization techniques
NEXT STEPS
  • Research the impact of different cell definition operators in MCNP
  • Learn about input file optimization strategies for MCNP
  • Explore performance testing methodologies for MCNP simulations
  • Investigate best practices for simplifying cell definitions in MCNP
USEFUL FOR

This discussion is beneficial for computational physicists, nuclear engineers, and anyone involved in optimizing MCNP simulations for improved performance.

mnikph
Messages
2
Reaction score
0
in defining cell you can use '#' but i read some where use this operator slowing your computation but i think mcnp at first chage your code and transform this oprator by use of (':' & ' ') and build new code then start to computation to prevent it , are you know about this subject?
 
Engineering news on Phys.org
Looks reasonable. You can test your file w/ and w/o '#' to see the difference. The common sense is to design input file containing as simple cell definitions as possible to speed up the computation.

mnikph said:
in defining cell you can use '#' but i read some where use this operator slowing your computation but i think mcnp at first chage your code and transform this oprator by use of (':' & ' ') and build new code then start to computation to prevent it , are you know about this subject?
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
Replies
6
Views
2K
Replies
3
Views
3K
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
7K
Replies
7
Views
4K
Replies
1
Views
3K
Replies
10
Views
2K