|
Celeritas 0.7.0-dev.279+develop.84922c50
|
A uniform field. More...
#include <UniformField.hh>
Public Types | |
| using | ParamsRef = NativeCRef< UniformFieldParamsData > |
Public Member Functions | |
| UniformField (Real3 const &value) | |
| Construct with a field vector. | |
| UniformField (ParamsRef const ¶ms) | |
| Construct with field params. | |
| 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 for the CGS system.