mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Fixed bug in statepoint.py for multiple generations per batch.
This commit is contained in:
parent
5927513d56
commit
7632f3df79
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class StatePoint(BinaryFile):
|
|||
if self.run_mode == 2:
|
||||
self.n_inactive, self.gen_per_batch = self._get_int(2)
|
||||
self.k_batch = self._get_double(self.current_batch)
|
||||
self.entropy = self._get_double(self.current_batch)
|
||||
self.entropy = self._get_double(self.current_batch*self.gen_per_batch)
|
||||
self.k_col_abs = self._get_double()[0]
|
||||
self.k_col_tra = self._get_double()[0]
|
||||
self.k_abs_tra = self._get_double()[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue