def initialize(self): self.metadata.declare('a', default=1., types=np.ScalarType) self.metadata.declare('b', default=1., types=np.ScalarType)