| 284 | } |
| 285 | |
| 286 | void ArrayOfAtoms::insertAtomIntoCol(int col, const sptr<Atom>& atom) { |
| 287 | _col++; |
| 288 | for (size_t j = 0; j < _row; j++) { |
| 289 | auto it = _array[j].begin(); |
| 290 | _array[j].insert(it + col, atom); |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | void ArrayOfAtoms::addRow() { |
| 295 | addCol(); |