| 55 | 
  | 
      nAtoms_ = info->getNGlobalAtoms(); | 
| 56 | 
  | 
      nRigidBodies_ = info->getNGlobalRigidBodies(); | 
| 57 | 
  | 
 | 
| 58 | 
< | 
      double physMem = physmem_total(); | 
| 59 | 
< | 
      double rssMem = residentMem(); | 
| 60 | 
< | 
      double avaliablePhysMem = physMem - rssMem; | 
| 58 | 
> | 
      RealType physMem = physmem_total(); | 
| 59 | 
> | 
      RealType rssMem = residentMem(); | 
| 60 | 
> | 
      RealType avaliablePhysMem = physMem - rssMem; | 
| 61 | 
  | 
     | 
| 62 | 
  | 
      int bytesPerStuntDouble = DataStorage::getBytesPerStuntDouble(storageLayout); | 
| 63 | 
  | 
 | 
| 82 | 
  | 
 | 
| 83 | 
  | 
      snapshots_.insert(snapshots_.begin(), nframes_, static_cast<Snapshot*>(NULL));    | 
| 84 | 
  | 
 | 
| 85 | 
< | 
      std::cout << "physmem = " << int(physMem) << "\trssMem =  "<< int(rssMem) << "\t availablePhysMem = " << int(avaliablePhysMem) <<std::endl; | 
| 86 | 
< | 
      std::cout << "nSnapshotPerBlock = " << nSnapshotPerBlock_ << "\t total block = " << nblocks << std::endl; | 
| 85 | 
> | 
      // std::cout << "physmem = " << int(physMem) << "\trssMem =  "<< int(rssMem) << "\t availablePhysMem = " << int(avaliablePhysMem) <<std::endl; | 
| 86 | 
> | 
      // std::cout << "nSnapshotPerBlock = " << nSnapshotPerBlock_ << "\t total block = " << nblocks << std::endl; | 
| 87 | 
  | 
     | 
| 88 | 
  | 
    } | 
| 89 | 
  | 
 | 
| 214 | 
  | 
    return reader_->getNFrames(); | 
| 215 | 
  | 
  } | 
| 216 | 
  | 
 | 
| 217 | 
+ | 
  void BlockSnapshotManager::needCOMprops(bool ncp) { | 
| 218 | 
+ | 
    reader_->setNeedCOMprops(ncp); | 
| 219 | 
+ | 
  } | 
| 220 | 
+ | 
 | 
| 221 | 
  | 
} |