16 #ifndef EMFIELD_PLACEMENT_FIELD_H 17 #define EMFIELD_PLACEMENT_FIELD_H 1 43 virtual void initialize(const ::datatools::properties &,
70 virtual void tree_dump (std::ostream & out_ = std::clog,
71 const std::string & title_ =
"",
72 const std::string & indent_ =
"",
73 bool inherit_ =
false)
const;
91 #endif // EMFIELD_PLACEMENT_FIELD_H #define EMFIELD_REGISTRATION_INTERFACE(EMFIELD_CLASS_NAME)
Definition: electromagnetic_field_macros.h:157
const geomtools::placement & get_placement() const
Return the placement.
virtual int compute_magnetic_field(const ::geomtools::vector_3d &position_, double time_, geomtools::vector_3d &magnetic_field_) const
Compute magnetic field.
std::map< std::string, handle_type > field_dict_type
Definition: base_electromagnetic_field.h:49
void set_placement(const geomtools::placement &p_)
Set the placement.
placement_field(uint32_t=0)
Default constructor.
virtual void reset()
Reset.
void set_field(base_electromagnetic_field::handle_type &)
Set the referenced field.
Abstract base class for all electromagnetic field.
Definition: base_electromagnetic_field.h:43
virtual ~placement_field()
Destructor.
virtual void initialize(const ::datatools::properties &, ::datatools::service_manager &, ::emfield::base_electromagnetic_field::field_dict_type &)
Initialization.
Top-level namespace of the Bayeux/emfield module library.
Definition: base_electromagnetic_field.h:40
virtual int compute_electric_field(const ::geomtools::vector_3d &position_, double time_, ::geomtools::vector_3d &electric_field_) const
Compute electric field.
Class that recomputes a given field in some arbitrary coordinate system using a placement object to o...
Definition: placement_field.h:32
virtual void tree_dump(std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
Smart print.