Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::UniformField Class Reference

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.
 

Detailed Description

A uniform field.

The values of the field should be in native units. For magnetic fields, this unit is gauss.


The documentation for this class was generated from the following file: