Exemple #1
0
    def __init__(self,
                 system,
                 method=DEFAULT,
                 name=DEFAULT,
                 parameters=DEFAULT,
                 ):
        if method is DEFAULT:
            from CalcTrollHosts import DEFAULT_METHOD
            method = DEFAULT_METHOD
        self.__method = method

        inputs = self.createInputs()
        HasInputs.__init__(self, inputs=inputs)
Exemple #2
0
 def isDone(self):
     if not self.__updated:
         self.update()
     return HasInputs.isDone(self)
Exemple #3
0
 def isDone(self):
     return HasInputs.isDone(self)