Exemple #1
0
    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')
Exemple #2
0
 def __init__(self, *args, **kwargs):
     baseProblem.__init__(self, *args, **kwargs)
     self.kernelIterFuncs = setDefaultIterFuncs('Matrix')
Exemple #3
0
 def __init__(self, *args, **kwargs):
     baseProblem.__init__(self, *args, **kwargs)
     self.kernelIterFuncs = setDefaultIterFuncs('Matrix')
     self.userProvided.c = False
     self.userProvided.h = False
Exemple #4
0
 def __init__(self, *args, **kwargs):
     baseProblem.__init__(self, *args, **kwargs)
     self.kernelIterFuncs = setDefaultIterFuncs('Matrix')