def __init__(self): LogLineAnalyzer.__init__(self) self.exp=re.compile(self.linearRegExp) self.firstTime=True self.lastTime="" self.isConverged=False self.counter=0
def __init__(self,trigger,nr=1): """ @param trigger: The regular expression that has to match before data is collected @param nr: The number of lines after the match that data is collected """ LogLineAnalyzer.__init__(self) self.trigger=re.compile(trigger) self.nr=nr self.cnt=0
def __init__(self,progress=False): """ Constructs the analyzer @param progress: whether to print the time on the console """ LogLineAnalyzer.__init__(self) self.exp=re.compile(conf().get("SolverOutput","timeRegExp")) self.fallback=re.compile("^(Time =|Iteration:) (.+)$") self.tryFallback=True self.progress=progress
def __init__(self): LogLineAnalyzer.__init__(self)