|
Celeritas 0.7.0-dev.172+develop.fe2a0acd4
|
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, ImplVolumeId > |
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.