Beispiel #1
0
 public string PARDISOerror2string(int error)
 {
     if (mkl != null)
     {
         return(mkl.PARDISOerror2string(error));
     }
     else if (v4 != null)
     {
         return(v4.PARDISOerror2string(error));
     }
     else if (v5 != null)
     {
         return(v5.PARDISOerror2string(error));
     }
     throw new NotImplementedException();
 }
Beispiel #2
0
        public string PARDISOerror2string(int error)
        {
            string errStr = "";

            if (mkl != null)
            {
                errStr = mkl.PARDISOerror2string(error);
            }
            else if (v5 != null)
            {
                errStr = v5.PARDISOerror2string(error);
            }
            else
            {
                errStr = "unknown error, unknown PARDISO version.";
            }
            throw new ArithmeticException("PARDISO error occured: " + errStr);
        }