20 size_t n = m_comp.size();
29 for (
size_t m = 0; m < n; m++) {
32 m_sign = m_comp[m]/abs(m_comp[m]);
33 }
else if (m_sign * m_comp[m] < 0) {
45 std::ostream& Group::fmt(std::ostream& s,
46 const std::vector<std::string>& esymbols)
const
51 size_t n = m_comp.size();
52 for (
size_t m = 0; m < n; m++) {
bool valid() const
True if all non-zero atom numbers have the same sign.
Class Group is an internal class used by class ReactionPath.