Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Data and options for a uniform field. More...
#include <UniformFieldData.hh>
Public Types | |
using | Real3 = Array< real_type, 3 > |
template<class T > | |
using | VolumeItems = celeritas::Collection< T, W, M, VolumeId > |
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Check whether the data is assigned. | |
template<Ownership W2, MemSpace M2> | |
UniformFieldParamsData & | operator= (UniformFieldParamsData< W2, M2 > const &other) |
Assign from another set of data. | |
Public Attributes | |
Real3 | field {0, 0, 0} |
Field strength (native units) | |
FieldDriverOptions | options |
VolumeItems< char > | has_field |
Volumes where field is present. | |
Data and options for a uniform field.
If has_field
is non-empty, the field will only be present in those volumes.