7 #ifndef CT_FALLOFFMGR_H
8 #define CT_FALLOFFMGR_H
26 m_n(0), m_n0(0), m_worksize(0) {
39 for (i = 0; i < m_n; i++) {
58 if (type != SIMPLE_FALLOFF) {
61 m_offset.push_back(m_worksize);
63 m_falloff.push_back(f);
66 m_rxn0.push_back(rxn);
86 for (i = 0; i < m_n; i++) {
87 m_falloff[i]->updateTemp(t,
99 for (i = 0; i < m_n0; i++) {
100 values[m_rxn0[i]] /= (1.0 + values[m_rxn0[i]]);
102 for (i = 0; i < m_n; i++) {
103 pr = values[m_rxn[i]];
105 m_falloff[i]->F(pr, work + m_offset[i]) /(1.0 + pr);
110 std::vector<size_t> m_rxn, m_rxn0;
111 std::vector<Falloff*> m_falloff;
115 std::vector<vector_fp::difference_type> m_offset;