Example #1
0
 def __init__(self, mixing_constant=0.3, memory=8, convergence=1e-3, chop=None):
     DummyMixer.__init__(self, mixing_constant, convergence)
     self.name = 'Pulay'
     self.memory = memory
     self.initialized = False
     self.A = np.zeros((self.memory, self.memory))
     self.alfa = np.zeros(self.memory)
     self.chop = chop
Example #2
0
 def __init__(self, mixing_constant=0.2, memory=3, convergence=1e-3, chop=None):
     DummyMixer.__init__(self, mixing_constant, convergence)
     self.name = 'Anderson'
     self.memory = memory
     self.chop=chop