Changes in src/Parser/MpqcParser.cpp [bd2390:73916f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/MpqcParser.cpp
rbd2390 r73916f 53 53 } 54 54 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 */ 61 void MpqcParser::save(ostream *file, const std::vector<atom *> &atoms) 56 62 { 57 63 DoLog(0) && (Log() << Verbose(0) << "Saving changes to MPQC ." << std::endl); 58 64 59 65 if (HessianPresent) 60 saveHessian(file );66 saveHessian(file, atoms); 61 67 else 62 saveSimple(file );68 saveSimple(file, atoms); 63 69 } 64 70 65 71 /** Saves all atoms and data into a MPQC config file without hessian. 66 72 * \param *file output stream 73 * \param atoms atoms to store 67 74 */ 68 void MpqcParser::saveSimple(ostream *file )75 void MpqcParser::saveSimple(ostream *file, const std::vector<atom *> &atoms) 69 76 { 70 77 Vector center; … … 112 119 /** Saves all atoms and data into a MPQC config file with hessian. 113 120 * \param *file output stream 121 * \param atoms atoms to store 114 122 */ 115 void MpqcParser::saveHessian(ostream *file )123 void MpqcParser::saveHessian(ostream *file, const std::vector<atom *> &atoms) 116 124 { 117 125 Vector center;
Note:
See TracChangeset
for help on using the changeset viewer.