mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Merge branch 'develop' into initial_cpp_cram_implementation
This commit is contained in:
commit
ed7b0d1cae
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ def analytical_solution_2g_therm(xsmin, xsmax=None, wgt=1.0):
|
|||
L = np.array([sa[0] + ss12, 0.0, -ss12, sa[1]]).reshape(2, 2)
|
||||
Q = np.array([nsf[0], nsf[1], 0.0, 0.0]).reshape(2, 2)
|
||||
arr = np.linalg.inv(L).dot(Q)
|
||||
return np.amax(np.linalg.eigvals(arr))
|
||||
return np.amax(np.linalg.eigvals(arr).real)
|
||||
|
||||
|
||||
def build_inf_model(xsnames, xslibname, temperature, tempmethod='nearest'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue