Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule.cpp

    r833b15 r06804b  
    751751};
    752752
     753/** Sets the molecule::cell_size to the components of \a *dim (rectangular box)
     754 * \param *dim vector class
     755 */
     756void molecule::SetBoxDimension(Vector *dim)
     757{
     758  RealSpaceMatrix domain;
     759  for(int i =0; i<NDIM;++i)
     760    domain.at(i,i) = dim->at(i);
     761  World::getInstance().setDomain(domain);
     762};
     763
    753764/** Removes atom from molecule list, but does not delete it.
    754765 * \param *pointer atom to be removed
Note: See TracChangeset for help on using the changeset viewer.