Celeritas
0.5.0-86+4a8eea4
|
A uniform field. More...
#include <UniformField.hh>
Public Member Functions | |
CELER_FUNCTION | UniformField (Real3 const &value) |
Construct with a field vector. | |
CELER_FUNCTION Real3 const & | operator() (Real3 const &) const |
Return the field at the given position. | |
A uniform field.
The values of the field should be in native units. For magnetic fields, this unit is gauss.