Skip to content

Commit

Permalink
Change execute with CELER_NOT_IMPLEMENTED
Browse files Browse the repository at this point in the history
  • Loading branch information
whokion authored and sethrj committed Apr 18, 2024
1 parent cf3b106 commit bf60cfd
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/celeritas/neutron/model/NeutronInelasticModel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
//---------------------------------------------------------------------------//
#include "NeutronInelasticModel.hh"

#include "celeritas/global/ActionLauncher.device.hh"
#include "celeritas/global/CoreParams.hh"
#include "celeritas/global/CoreState.hh"
#include "celeritas/global/TrackExecutor.hh"
#include "celeritas/neutron/executor/NeutronInelasticExecutor.hh"
#include "celeritas/phys/InteractionApplier.hh"

namespace celeritas
{
Expand All @@ -23,13 +19,7 @@ namespace celeritas
void NeutronInelasticModel::execute(CoreParams const& params,
CoreStateDevice& state) const
{
auto execute = make_action_track_executor(
params.ptr<MemSpace::native>(),
state.ptr(),
this->action_id(),
InteractionApplier{NeutronInelasticExecutor{this->device_ref()}});
static ActionLauncher<decltype(execute)> const launch_kernel(*this);
launch_kernel(params, state, *this, execute);
CELER_NOT_IMPLEMENTED("Neutron inelastic interaction");
}

//---------------------------------------------------------------------------//
Expand Down

0 comments on commit bf60cfd

Please sign in to comment.