Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Construct and store data for a uniform magnetic field. More...
#include <UniformFieldParams.hh>
Type aliases | |
using | Input = inp::UniformField |
Construct from a user-defined field. | |
UniformFieldParams (GeoParams const &geo, Input const &inp) | |
Construct from a user-defined field. | |
HostRef const & | host_ref () const final |
Access field data on the host. | |
DeviceRef const & | device_ref () const final |
Access field data on the device. | |
bool | in_all_volumes () const |
Whether the field is present everywhere. | |
Additional Inherited Members | |
![]() | |
using | HostRef = HostCRef< UniformFieldParamsData > |
using | DeviceRef = DeviceCRef< UniformFieldParamsData > |
![]() | |
UniformFieldParamsData< Ownership::const_reference, M > const & | ref () const |
UniformFieldParamsData< Ownership::const_reference, M > const & | ref () const |
Dispatch a "ref" call to host or device data. | |
![]() | |
CELER_DEFAULT_COPY_MOVE (ParamsDataInterface) | |
Construct and store data for a uniform magnetic field.
|
inlinefinalvirtual |
Access field data on the device.
Implements celeritas::ParamsDataInterface< UniformFieldParamsData >.
|
inlinefinalvirtual |
Access field data on the host.
Implements celeritas::ParamsDataInterface< UniformFieldParamsData >.