示例#1
0
 extern public static int GetValues(T_IJMatrix matrix, int nrows, int[] ncols, int[] rows, int[] cols, double[] values);
示例#2
0
 public extern static int HYPRE_ParaSailsBuildIJMatrix(T_Solver solver, out T_IJMatrix pij_A);
示例#3
0
 extern public static int Assemble(T_IJMatrix matrix);
示例#4
0
 extern public static int GetRowCounts(T_IJMatrix matrix, int nrows, int[] rows, int[] ncols);
示例#5
0
 extern public static int Destroy(T_IJMatrix matrix);
示例#6
0
 extern public static int Initialize(T_IJMatrix matrix);
示例#7
0
 extern static int Create8(ulong MPI_Comm, int ilower, int iupper, int jlower, int jupper, out T_IJMatrix matrix);
示例#8
0
        /// <summary>
        /// creates a new IJ matrix object
        /// </summary>
        public static int Create(MPI_Comm MPI_Comm, int ilower, int iupper, int jlower, int jupper, out T_IJMatrix matrix)
        {
            ulong _com8;
            uint  _com4;
            // we need to convert the MPI comm in ilPSP (which is a FORTRAN MPI comm)
            // to a C-MPI comm: can be either 4 or 8 bytes!
            int sz = csMPI.Raw.MPI_Comm_f2c(MPI_Comm, out _com4, out _com8);

            switch (sz)
            {
            case 4: return(Create4(_com4, ilower, iupper, jlower, jupper, out matrix));

            case 8: return(Create8(_com8, ilower, iupper, jlower, jupper, out matrix));

            default: throw new NotImplementedException();
            }
        }
示例#9
0
 extern public static int SetDiagOffdSizes(T_IJMatrix matrix, int[] diag_sizes, int[] offdiag_sizes);
示例#10
0
 extern public static int SetMaxOffProcElmts(T_IJMatrix matrix, int max_off_proc_elmts);
示例#11
0
 extern public static int SetRowSizes(T_IJMatrix matrix, int[] sizes);
示例#12
0
 extern public static int GetObject(T_IJMatrix matrix, out T_ParCSR_matrix mtx_object);
示例#13
0
 extern public static int GetLocalRange(T_IJMatrix matrix, ref int ilower, ref int iupper, ref int jlower, ref int jupper);
示例#14
0
 extern public static int GetObjectType(T_IJMatrix matrix, out int type);
示例#15
0
 extern public static int SetObjectType(T_IJMatrix matrix, int type);