mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fix CMFDMesh.grid setter
This commit is contained in:
parent
c0d5efc340
commit
9c646b3f32
2 changed files with 3 additions and 5 deletions
|
|
@ -111,7 +111,7 @@ def test_cmfd_write_matrices():
|
|||
# Load flux vector from numpy output file
|
||||
flux_np = np.load('fluxvec.npy')
|
||||
# Load flux from data file
|
||||
flux_dat = np.loadtxt("fluxvec.dat", delimiter='\n')
|
||||
flux_dat = np.loadtxt("fluxvec.dat")
|
||||
|
||||
# Compare flux from numpy file, .dat file, and from simulation
|
||||
assert(np.all(np.isclose(flux_np, cmfd_run._phi)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue