unsafe public static void SaveToTextFileSparseF(ref int _ref, byte *termchar, byte *path, out int ierr) { ierr = 0; try { string _path = Infrastructure.FortranToDotNET(path, *termchar); IMutableMatrixEx M = (IMutableMatrixEx)Infrastructure.GetObject(_ref); M.SaveToTextFileSparse(_path); } catch (Exception e) { ierr = Infrastructure.ErrorHandler(e); } }
public unsafe static void FromXMLFileF(out int SolverRef, byte *termChar, byte *File, byte *solvername, out int ierr) { ierr = 0; SolverRef = -1; try { string _File = Infrastructure.FortranToDotNET(File, *termChar); string _Name = Infrastructure.FortranToDotNET(solvername, *termChar); SolverRef = FromXMLFileInternal(_File, _Name); } catch (Exception e) { ierr = Infrastructure.ErrorHandler(e); } }
unsafe public static void FromXMLSubmit(byte *line, out int ierr) { ierr = 0; try { if (XMLCode == null) { throw new ApplicationException("FromXMLBegin(...) must be called before."); } string mLine = Infrastructure.FortranToDotNET(line, LineTerm); mLine += "\n"; XMLCode += mLine; } catch (Exception e) { ierr = Infrastructure.ErrorHandler(e); } }