Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 3
0
 def write(self, filename, comm):
   """
   Write Jacobian to binary file.
   """
   ModuleJacobian.write(self, filename, comm.handle)
   return
Exemplo n.º 4
0
 def write(self, filename, comm):
     """Write Jacobian to binary file.
 """
     ModuleJacobian.write(self, filename, comm.handle)
     return