mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Convert count_bank_sites, Shannon entropy, UFS to C++ (incomplete)
This commit is contained in:
parent
fb22413e8d
commit
6a1d653547
22 changed files with 438 additions and 325 deletions
|
|
@ -537,10 +537,6 @@ read_settings_xml()
|
|||
m.width_ = (m.upper_right_ - m.lower_left_) / m.shape_;
|
||||
}
|
||||
|
||||
// TODO: Allocate entropy_P
|
||||
// Allocate space for storing number of fission sites in each mesh cell
|
||||
//allocate(entropy_p(1, product(m % dimension)))
|
||||
|
||||
// Turn on Shannon entropy calculation
|
||||
settings::entropy_on = true;
|
||||
}
|
||||
|
|
@ -574,10 +570,6 @@ read_settings_xml()
|
|||
}
|
||||
|
||||
if (index_ufs_mesh >= 0) {
|
||||
// Allocate array to store source fraction for UFS
|
||||
// TODO: Allocate source_frac
|
||||
//allocate(source_frac(1, product(meshes(index_ufs_mesh) % dimension)))
|
||||
|
||||
// Turn on uniform fission source weighting
|
||||
settings::ufs_on = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue