Exemplo n.º 1
0
 def __str__(self):
     s = RealSpaceHamiltonian.__str__(self) + '\n'
     s += '  Solvation:\n'
     components = [self.cavity, self.dielectric] + self.interactions
     s += ''.join([indent(str(c), 2) for c in components])
     return s