def __init__(self, field, matrixType="unknown", blockOkay=False): """Constructor. @param fields Solution fields. """ # If matrix type has not been set, then set it to a value that will work. if matrixType == "unknown": matrixType = "sbaij" #print "MATRIX TYPE: %s, BLOCKOKAY: %s" % (matrixType, blockOkay) ModuleJacobian.__init__(self, field, matrixType, blockOkay) return
def __init__(self, field, matrixType="unknown", blockOkay=False): """ Constructor. @param fields Solution fields. """ # If matrix type has not been set, then set it to a value that will work. if matrixType == "unknown": matrixType = "sbaij" #print "MATRIX TYPE: %s, BLOCKOKAY: %s" % (matrixType, blockOkay) ModuleJacobian.__init__(self, field, matrixType, blockOkay) return
def write(self, filename, comm): """ Write Jacobian to binary file. """ ModuleJacobian.write(self, filename, comm.handle) return
def write(self, filename, comm): """Write Jacobian to binary file. """ ModuleJacobian.write(self, filename, comm.handle) return