def __init__(self, *args, **kwargs): baseProblem.__init__(self, *args, **kwargs) if not hasattr(self, 'args'): self.args = Args() self.prevVal = {} for fn in ['f', 'c', 'h', 'df', 'dc', 'dh', 'd2f', 'd2c', 'd2h']: self.prevVal[fn] = {'key':None, 'val':None} self.functype = {} #self.isVectoriezed = False # self.fPattern = None # self.cPattern = None # self.hPattern = None self.kernelIterFuncs = setDefaultIterFuncs('NonLin')
def __init__(self, *args, **kwargs): baseProblem.__init__(self, *args, **kwargs) self.kernelIterFuncs = setDefaultIterFuncs('Matrix')
def __init__(self, *args, **kwargs): baseProblem.__init__(self, *args, **kwargs) self.kernelIterFuncs = setDefaultIterFuncs('Matrix') self.userProvided.c = False self.userProvided.h = False