Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/atom.cpp

    r97b825 re41c48  
    194194{
    195195  if (out != NULL) {
    196     *out << getType()->symbol << "\t" << at(0) << "\t" << at(1) << "\t" << at(2) << "\t" << endl;
     196    *out << getType()->getSymbol() << "\t" << at(0) << "\t" << at(1) << "\t" << at(2) << "\t" << endl;
    197197    return true;
    198198  } else
     
    232232{
    233233  if (out != NULL) {
    234     *out << getType()->symbol << "\t";
     234    *out << getType()->getSymbol() << "\t";
    235235    *out << Trajectory.R.at(step)[0] << "\t";
    236236    *out << Trajectory.R.at(step)[1] << "\t";
     
    250250  Vector recentered(getPosition());
    251251  recentered -= *center;
    252   *out << "\t\t" << getType()->symbol << " [ " << recentered[0] << "\t" << recentered[1] << "\t" << recentered[2] << " ]" << endl;
     252  *out << "\t\t" << getType()->getSymbol() << " [ " << recentered[0] << "\t" << recentered[1] << "\t" << recentered[2] << " ]" << endl;
    253253  if (AtomNo != NULL)
    254254    *AtomNo++;
     
    353353}
    354354
    355 molecule* atom::getMolecule(){
     355molecule* atom::getMolecule() const {
    356356  return mol;
    357357}
Note: See TracChangeset for help on using the changeset viewer.