Class QuimbyMagneticFieldAdapter

Inheritance Relationships

Base Type

  • public MagneticField

Class Documentation

class QuimbyMagneticFieldAdapter : public MagneticField

Wrapper to use crpropa::MagneticField in Quimby.

Public Functions

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