Skip to content

Change default cell importance to 1.0 #735

@MicahGale

Description

@MicahGale

Is your feature request related to a problem? Please describe.

When you create a new cell (e.g., montepy.Cell()) it has importances for all particles set to 0. This is generally not the desired importance. 1.0 is a much safer and generally neutral cell importance to use.

Describe the solution you'd like

import montepy
cell = montepy.Cell()
assert cell.importance.neutron == 1.0

Describe alternatives you've considered

Keep it at 0.0. However this messed me up quite a few times as well.

Metadata

Metadata

Assignees

Labels

feature requestAn issue that improves the user interface.hacktoberfest🎃 https://hacktoberfest.com/participation/

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions