| 310 |
|
SimInfo::MoleculeIterator mi; |
| 311 |
|
Molecule::IntegrableObjectIterator ii; |
| 312 |
|
RigidBody::AtomIterator ai; |
| 313 |
– |
Atom* atom; |
| 313 |
|
|
| 314 |
|
#ifndef IS_MPI |
| 315 |
|
os << " <Snapshot>\n"; |
| 317 |
|
writeFrameProperties(os, info_->getSnapshotManager()->getCurrentSnapshot()); |
| 318 |
|
|
| 319 |
|
os << " <StuntDoubles>\n"; |
| 320 |
< |
for (mol = info_->beginMolecule(mi); mol != NULL; mol = info_->nextMolecule(mi)) { |
| 321 |
< |
|
| 320 |
> |
for (mol = info_->beginMolecule(mi); mol != NULL; |
| 321 |
> |
mol = info_->nextMolecule(mi)) { |
| 322 |
|
|
| 323 |
|
for (sd = mol->beginIntegrableObject(ii); sd != NULL; |
| 324 |
|
sd = mol->nextIntegrableObject(ii)) { |
| 344 |
|
|
| 345 |
|
RigidBody* rb = static_cast<RigidBody*>(sd); |
| 346 |
|
int siteIndex = 0; |
| 347 |
< |
for (atom = rb->beginAtom(ai); atom != NULL; |
| 347 |
> |
for (Atom* atom = rb->beginAtom(ai); atom != NULL; |
| 348 |
|
atom = rb->nextAtom(ai)) { |
| 349 |
|
os << prepareSiteLine(atom, ioIndex, siteIndex); |
| 350 |
|
siteIndex++; |
| 446 |
|
|
| 447 |
|
RigidBody* rb = static_cast<RigidBody*>(sd); |
| 448 |
|
int siteIndex = 0; |
| 449 |
< |
for (atom = rb->beginAtom(ai); atom != NULL; |
| 449 |
> |
for (Atom* atom = rb->beginAtom(ai); atom != NULL; |
| 450 |
|
atom = rb->nextAtom(ai)) { |
| 451 |
|
buffer += prepareSiteLine(atom, ioIndex, siteIndex); |
| 452 |
|
siteIndex++; |