Skip to content

Commit 998495f

Browse files
author
Soon Yung Jun
committed
Update for changes in data
1 parent e0f940a commit 998495f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/celeritas/em/GammaNuclear.test.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ TEST_F(GammaNuclearTest, micro_xs)
8585
// Check the size of the element cross section data (G4PARTICLEXS4.1)
8686
HostCRef<GammaNuclearData> shared = model_->host_ref();
8787

88-
NonuniformGridRecord grid = shared.micro_xs_iaea[el_id];
88+
NonuniformGridRecord grid = shared.xs_iaea[el_id];
8989
EXPECT_EQ(grid.grid.size(), 260);
9090

9191
// Microscopic cross section (units::BarnXs) in [0.5:100.5] (MeV)
@@ -112,7 +112,7 @@ TEST_F(GammaNuclearTest, micro_xs)
112112
// Calculate the gamma-nuclear cross section at the high energy region
113113
// using parameterizated data
114114

115-
NonuniformGridRecord grid_high = shared.micro_xs_chips[el_id];
115+
NonuniformGridRecord grid_high = shared.xs_chips[el_id];
116116
EXPECT_EQ(grid_high.grid.size(), 300);
117117

118118
// Expected microscopic cross section (units::BarnXs) in [130:1e+8] (MeV)
@@ -124,7 +124,7 @@ TEST_F(GammaNuclearTest, micro_xs)
124124
{1e+3, 0.032829279254133224},
125125
{5e+3, 0.018822644663262746},
126126
{5e+4, 0.01448519295151751},
127-
{1e+6, 0.017121938325768058},
127+
{1e+6, 0.017122133350371736},
128128
{1e+8, 0.027254443598797456}};
129129

130130
for (auto i : range(energy_xs.size()))
@@ -156,7 +156,7 @@ TEST_F(GammaNuclearTest, macro_xs)
156156
{1e+3, 0.1353591424632776},
157157
{5e+3, 0.077905738172584824},
158158
{5e+4, 0.060230059626849054},
159-
{1e+6, 0.071193761086917717},
159+
{1e+6, 0.071194572007666074},
160160
{1e+8, 0.11332515683749959}};
161161

162162
for (auto i : range(energy_xs.size()))

0 commit comments

Comments
 (0)