Skip to content

Commit 2cdb77c

Browse files
author
Soon Yung Jun
committed
Add a missing definition for CELERITAS_USE_GEANT4
1 parent c43607d commit 2cdb77c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/celeritas/g4/EmExtraPhysicsHelper.hh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,22 @@ class EmExtraPhysicsHelper
4646
std::shared_ptr<G4GammaNuclearXS> gn_xs_;
4747
};
4848

49+
//---------------------------------------------------------------------------//
50+
// INLINE DEFINITIONS
51+
//---------------------------------------------------------------------------//
52+
4953
#if !CELERITAS_USE_GEANT4
5054
inline EmExtraPhysicsHelper::EmExtraPhysicsHelper()
5155
{
5256
CELER_NOT_CONFIGURED("Geant4");
5357
}
5458

59+
inline MmSqXs
60+
EmExtraPhysicsHelper::calc_gamma_nuclear_xs(AtomicNumber z, MevEnergy energy)()
61+
{
62+
CELER_ASSERT_UNREACHABLE();
63+
}
64+
5565
#endif
5666

5767
//---------------------------------------------------------------------------//

0 commit comments

Comments
 (0)