def set_active(self, values, basis, element):
    (c, x, n) = self.shells[self._step]
    c = max(values[0], 1e-05)
    x = max(values[1], 1.01)
    self.shells[self._step] = (c, x, n)
    self.set_basis_shells(basis, element)
def set_active(self, values, basis, element):
    (c, x, n) = self.shells[self._step]
    c = max(values[0], 1e-05)
    x = max(values[1], 1.01)
    self.shells[self._step] = (c, x, n)
    self.set_basis_shells(basis, element)