Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions OpenSn_Logo_CAD/opensn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for g = 1, Ng do
src_strength[g] = 0.0
end
src_strength[1] = 100.0
src = lbs.VolumetricSource.Create({ block_ids = {0}, group_strength = src_strength })
src = lbs.VolumetricSource.Create({ block_ids = {1}, group_strength = src_strength })

-- Quadrature
Npolar = 8
Expand All @@ -41,8 +41,8 @@ lbs_block = {
},
},
xs_map = {
{ block_ids = {0}, xs = xs_source },
{ block_ids = {1}, xs = xs_block },
{ block_ids = {1}, xs = xs_source },
{ block_ids = {2}, xs = xs_block },
},
}

Expand Down
6 changes: 3 additions & 3 deletions OpenSn_Logo_CAD/opensn.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# Source
src_strength = [0.0 for _ in range(Ng)]
src_strength[0] = 100.0
src = VolumetricSource(block_ids=[0], group_strength=src_strength)
src = VolumetricSource(block_ids=[1], group_strength=src_strength)

# Quadrature
Npolar = 8
Expand All @@ -58,8 +58,8 @@
}
],
xs_map=[
{"block_ids": [0], "xs": xs_source},
{"block_ids": [1], "xs": xs_block},
{"block_ids": [1], "xs": xs_source},
{"block_ids": [2], "xs": xs_block},
],
options={
"scattering_order": 0,
Expand Down