Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/MpqcParser.cpp

    rbd2390 r73916f  
    5353}
    5454
    55 void MpqcParser::save(ostream *file)
     55/**
     56 * Saves the \a atoms into as a MPQC file.
     57 *
     58 * \param file where to save the state
     59 * \param atoms atoms to store
     60 */
     61void MpqcParser::save(ostream *file, const std::vector<atom *> &atoms)
    5662{
    5763  DoLog(0) && (Log() << Verbose(0) << "Saving changes to MPQC ." << std::endl);
    5864
    5965  if (HessianPresent)
    60     saveHessian(file);
     66    saveHessian(file, atoms);
    6167  else
    62     saveSimple(file);
     68    saveSimple(file, atoms);
    6369}
    6470
    6571/** Saves all atoms and data into a MPQC config file without hessian.
    6672 * \param *file output stream
     73 * \param atoms atoms to store
    6774 */
    68 void MpqcParser::saveSimple(ostream *file)
     75void MpqcParser::saveSimple(ostream *file, const std::vector<atom *> &atoms)
    6976{
    7077  Vector center;
     
    112119/** Saves all atoms and data into a MPQC config file with hessian.
    113120 * \param *file output stream
     121 * \param atoms atoms to store
    114122 */
    115 void MpqcParser::saveHessian(ostream *file)
     123void MpqcParser::saveHessian(ostream *file, const std::vector<atom *> &atoms)
    116124{
    117125  Vector center;
Note: See TracChangeset for help on using the changeset viewer.