Пример #1
0
    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
Пример #2
0
  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
Пример #3
0
 def write(self, filename, comm):
   """
   Write Jacobian to binary file.
   """
   ModuleJacobian.write(self, filename, comm.handle)
   return
Пример #4
0
 def write(self, filename, comm):
     """Write Jacobian to binary file.
 """
     ModuleJacobian.write(self, filename, comm.handle)
     return