Celeritas 0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
celeritas::SimParams Class Referencefinal

Manage persistent simulation data. More...

#include <SimParams.hh>

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

Classes

struct  Input
 Input data to construct this class. More...
 

Public Types

Type aliases
using SPConstParticles = std::shared_ptr< ParticleParams const >
 
- Public Types inherited from celeritas::ParamsDataInterface< SimParamsData >
using HostRef = HostCRef< SimParamsData >
 
using DeviceRef = DeviceCRef< SimParamsData >
 

Public Member Functions

 SimParams (Input const &)
 Construct with simulation options.
 
HostRef consthost_ref () const final
 Access data on host.
 
DeviceRef constdevice_ref () const final
 Access data on device.
 
- Public Member Functions inherited from celeritas::ParamsDataInterface< SimParamsData >
SimParamsData< Ownership::const_reference, M > const & ref () const
 
SimParamsData< Ownership::const_reference, M > const & ref () const
 Dispatch a "ref" call to host or device data.
 

Additional Inherited Members

- Protected Member Functions inherited from celeritas::ParamsDataInterface< SimParamsData >
 CELER_DEFAULT_COPY_MOVE (ParamsDataInterface)
 

Detailed Description

Manage persistent simulation data.

Member Function Documentation

◆ device_ref()

DeviceRef const & celeritas::SimParams::device_ref ( ) const
inlinefinalvirtual

Access data on device.

Implements celeritas::ParamsDataInterface< SimParamsData >.

◆ host_ref()

HostRef const & celeritas::SimParams::host_ref ( ) const
inlinefinalvirtual

Access data on host.

Implements celeritas::ParamsDataInterface< SimParamsData >.


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