|
Celeritas 0.7.0-dev.224+develop.84a24a8b
|
Mock class for shared host data that has associated thread-local data. More...
#include <AuxMockParams.hh>

Public Types | |
Type aliases | |
| using | VecInt = std::vector< int > |
Public Types inherited from celeritas::AuxParams< AuxMockParamsData, AuxMockStateData > | |
| using | StateRefT = AuxMockStateData< Ownership::reference, M > |
Public Types inherited from celeritas::AuxParamsInterface | |
| using | UPState = std::unique_ptr< AuxStateInterface > |
| Default destructor. | |
Public Types inherited from celeritas::ParamsDataInterface< P > | |
| using | HostRef = HostCRef< P > |
| using | DeviceRef = DeviceCRef< P > |
Public Member Functions | |
| AuxMockParams (std::string &&label, AuxId auxid, int num_bins, VecInt const &integers) | |
| Construct with properties. | |
Aux interface | |
| std::string_view | label () const final |
| Short name for the data. | |
| AuxId | aux_id () const final |
| Index of this class instance in its registry. | |
Data interface | |
| HostRef const & | host_ref () const final |
| Access data on host. | |
| DeviceRef const & | device_ref () const final |
| Access data on device. | |
Public Member Functions inherited from celeritas::AuxParams< AuxMockParamsData, AuxMockStateData > | |
| UPState | create_state (MemSpace, StreamId, size_type size) const final |
| Build a multithread state for a stream. | |
| StateRefT< M > const & | state_ref (AuxStateVec const &v) const |
| StateRefT< M > & | state_ref (AuxStateVec &v) const |
| auto | state_ref (AuxStateVec const &v) const -> StateRefT< M > const & |
| Access the state ref (const). | |
| auto | state_ref (AuxStateVec &v) const -> StateRefT< M > & |
| Access the state ref (mutable). | |
Public Member Functions inherited from celeritas::AuxParamsInterface | |
| virtual | ~AuxParamsInterface () |
| Default destructor. | |
Public Member Functions inherited from celeritas::ParamsDataInterface< P > | |
| template<MemSpace M> | |
| P< Ownership::const_reference, M > const & | ref () const |
| template<MemSpace M> | |
| P< 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::AuxParamsInterface | |
| AuxParamsInterface ()=default | |
| CELER_DEFAULT_COPY_MOVE (AuxParamsInterface) | |
| Default destructor. | |
Protected Member Functions inherited from celeritas::ParamsDataInterface< P > | |
| CELER_DEFAULT_COPY_MOVE (ParamsDataInterface) | |
Mock class for shared host data that has associated thread-local data.
|
inlinefinalvirtual |
Index of this class instance in its registry.
Implements celeritas::AuxParamsInterface.
|
inlinefinalvirtual |
Access data on device.
Implements celeritas::ParamsDataInterface< P >.
|
inlinefinalvirtual |
Access data on host.
Implements celeritas::ParamsDataInterface< P >.
|
inlinefinalvirtual |
Short name for the data.
Implements celeritas::AuxParamsInterface.