19 size_t n = m_comp.size();
28 for (
size_t m = 0; m < n; m++) {
31 m_sign = m_comp[m]/abs(m_comp[m]);
32 }
else if (m_sign * m_comp[m] < 0) {
44 std::ostream& Group::fmt(std::ostream& s,
45 const std::vector<std::string>& esymbols)
const
50 size_t n = m_comp.size();
51 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.