Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::ChipsNeutronElasticModel Class Referencefinal

Set up and launch the neutron elastic CHIPS model interaction. More...

#include <ChipsNeutronElasticModel.hh>

Inheritance diagram for celeritas::ChipsNeutronElasticModel:
Inheritance graph
[legend]

Public Types

using AtomicMassNumber = IsotopeView::AtomicMassNumber
 
using MevEnergy = units::MevEnergy
 
using ReadData = std::function< ImportPhysicsVector(AtomicNumber)>
 
using HostRef = NeutronElasticHostRef
 
using DeviceRef = NeutronElasticDeviceRef
 
- Public Types inherited from celeritas::Model
using UPConstGridBuilder = std::unique_ptr< ValueGridBuilder const >
 Type aliases.
 
using MicroXsBuilders = std::vector< UPConstGridBuilder >
 
using SetApplicability = std::set< Applicability >
 
- Public Types inherited from celeritas::ActionTypeTraits< P, S >
using CoreParams = P
 
using CoreStateHost = S< MemSpace::host >
 
using CoreStateDevice = S< MemSpace::device >
 
using SpanCoreStateHost = Span< S< MemSpace::host > *const >
 
using SpanCoreStateDevice = Span< S< MemSpace::device > *const >
 

Public Member Functions

 ChipsNeutronElasticModel (ActionId id, ParticleParams const &particles, MaterialParams const &materials, ReadData load_data)
 Construct from model ID and other necessary data.
 
SetApplicability applicability () const final
 Particle types and energy ranges that this model applies to.
 
MicroXsBuilders micro_xs (Applicability) const final
 Get the microscopic cross sections for the given particle and material.
 
HostRef const & host_ref () const
 
DeviceRef const & device_ref () const
 
- Public Member Functions inherited from celeritas::Model
StepActionOrder order () const final
 Dependency ordering of the action.
 
- Public Member Functions inherited from celeritas::StepActionInterface< P, S >
virtual void step (P const &, S< MemSpace::host > &) const =0
 Execute the action with host data.
 
virtual void step (P const &, S< MemSpace::device > &) const =0
 Execute the action with device data.
 
- Public Member Functions inherited from celeritas::ActionInterface
virtual ~ActionInterface () noexcept=0
 Default destructor.
 
- Public Member Functions inherited from celeritas::StaticConcreteAction
 StaticConcreteAction (ActionId id, std::string_view label) noexcept(!CELERITAS_DEBUG)
 Construct a concrete action from a label and ID.
 
 StaticConcreteAction (ActionId id, std::string_view label, std::string_view description) noexcept(!CELERITAS_DEBUG)
 Construct a concrete action from an ID, a unique label, and a description.
 
 CELER_DELETE_COPY_MOVE (StaticConcreteAction)
 
ActionId action_id () const final
 ID of this action for verification.
 
std::string_view label () const final
 Short label.
 
std::string_view description () const final
 Descriptive label.
 
void step (CoreParams const &, CoreStateHost &) const final
 Apply the interaction kernel to host data. More...
 
void step (CoreParams const &, CoreStateDevice &) const final
 Interact with device data.
 

Additional Inherited Members

- Protected Member Functions inherited from celeritas::ActionInterface
 ActionInterface ()=default
 
 CELER_DEFAULT_COPY_MOVE (ActionInterface)
 

Detailed Description

Set up and launch the neutron elastic CHIPS model interaction.

Member Function Documentation

◆ device_ref()

DeviceRef const& celeritas::ChipsNeutronElasticModel::device_ref ( ) const
inline

Access model data

◆ host_ref()

HostRef const& celeritas::ChipsNeutronElasticModel::host_ref ( ) const
inline

Access model data

◆ step()

void celeritas::ChipsNeutronElasticModel::step ( CoreParams const &  params,
CoreStateHost &  state 
) const
final

Apply the interaction kernel to host data.

Apply the interaction kernel.


The documentation for this class was generated from the following files: