Class report (event/reports/molecule.h)
Overview
Polymorphic class report gives the user a complete set of tools for the analysis of an event and its elements in a convenient form. It’s also a fundamental element required for building a valid lambda function that can be correctly wrapped by the callback class (see callback folder documentation) into a valid subscription for the dispatcher.
This report is fully specialized for events :: molecule.
Interface
Since the interface is based on many public nested classes, we report directly the main constructor and the nested getters in their most convenient form.
Constructor
-
report(const events :: molecule & event)builds the report and all the public nested classes.
Getters (and nested getters in convenient form)
Getters for general informations
-
const double & time() consttime of the event.
-
const double & module() constmodule of the collision’s impulse.
Getters for alpha molecule
-
const vec & alpha.velocity.before() constvelocity of alpha molecule before the event.
-
const vec & alpha.velocity.after() constvelocity of alpha molecule after the event.
-
const vec alpha.velocity.delta() constvariation of velocity of alpha molecule.
-
const vec & alpha.momentum.before() constmomentum of alpha molecule before the event.
-
const vec & alpha.momentum.after() constmomentum of alpha molecule after the event.
-
const vec alpha.momentum.delta() constvariation of momentum of alpha molecule.
-
const double & alpha.angular_velocity.before() constangular velocity of alpha molecule before the event.
-
const double & alpha.angular_velocity.after() constangular velocity of alpha molecule after the event.
-
const double alpha.angular_velocity.delta() constvariation of angular velocity of alpha molecule.
-
const double & alpha.angular_momentum.before() constangular momentum of alpha molecule before the event.
-
const double & alpha.angular_momentum.after() constangular momentum of alpha molecule after the event.
-
const double alpha.angular_momentum.delta() constvariation of angular momentum of alpha molecule.
-
const double alpha.energy.before() constenergy of alpha molecule before the event.
-
const double alpha.energy.after() constenergy of alpha molecule after the event.
-
const double alpha.energy.delta() constvariation of energy of alpha molecule.
-
const size_t & alpha.id() constid of alpha molecule.
-
const size_t & alpha.atom() constid of alpha molecule’s atom involved in the collision.
-
const vec & alpha.position() constposition of alpha molecule at the collision moment.
-
const double & alpha.orientation() constorientation of alpha molecule at the orientation moment.
-
const double & alpha.mass() constmass of alpha molecule.
Getters for beta molecule
-
const vec & beta.velocity.before() constvelocity of beta molecule before the event.
-
const vec & beta.velocity.after() constvelocity of beta molecule after the event.
-
const vec beta.velocity.delta() constvariation of velocity of beta molecule.
-
const vec & beta.momentum.before() constmomentum of beta molecule before the event.
-
const vec & beta.momentum.after() constmomentum of beta molecule after the event.
-
const vec beta.momentum.delta() constvariation of momentum of beta molecule.
-
const double & beta.angular_velocity.before() constangular velocity of beta molecule before the event.
-
const double & beta.angular_velocity.after() constangular velocity of beta molecule after the event.
-
const double beta.angular_velocity.delta() constvariation of angular velocity of beta molecule.
-
const double & beta.angular_momentum.before() constangular momentum of beta molecule before the event.
-
const double & beta.angular_momentum.after() constangular momentum of beta molecule after the event.
-
const double beta.angular_momentum.delta() constvariation of angular momentum of beta molecule.
-
const double beta.energy.before() constenergy of beta molecule before the event.
-
const double beta.energy.after() constenergy of beta molecule after the event.
-
const double beta.energy.delta() constvariation of energy of beta molecule.
-
const size_t & beta.id() constid of beta molecule.
-
const size_t & beta.atom() constid of beta molecule’s atom involved in the collision.
-
const vec & beta.position() constposition of beta molecule at the collision moment.
-
const double & beta.orientation() constorientation of beta molecule at the orientation moment.
-
const double & beta.mass() constmass of beta molecule.