Example #1
0
bool Hamiltonian::operator==(const Hamiltonian& src) const {
  return (this == &src) || (this->potentials == src.getPotentialFuncts()); 
};
Example #2
0
Hamiltonian::Hamiltonian(const Hamiltonian& _H) :
  Hamiltonian(_H.getPotentialFuncts())
  {};