Class QuimbyMagneticFieldAdapter

Inheritance Relationships

Base Type

  • public MagneticField

Class Documentation

class QuimbyMagneticFieldAdapter : public MagneticField

Wrapper to use crpropa::MagneticField in Quimby.

Public Functions

inline QuimbyMagneticFieldAdapter(crpropa::ref_ptr<crpropa::MagneticField> field)
inline bool getField(const quimby::Vector3f &position, quimby::Vector3f &b) const