summaryrefslogtreecommitdiff
path: root/modules/umfpack/includes
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/umfpack/includes
downloadscilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip
CMSCOPE changed
Diffstat (limited to 'modules/umfpack/includes')
-rwxr-xr-xmodules/umfpack/includes/dynlib_umfpack.h28
-rwxr-xr-xmodules/umfpack/includes/gw_umfpack.h34
-rwxr-xr-xmodules/umfpack/includes/with_umfpack.h34
3 files changed, 96 insertions, 0 deletions
diff --git a/modules/umfpack/includes/dynlib_umfpack.h b/modules/umfpack/includes/dynlib_umfpack.h
new file mode 100755
index 000000000..1c4491d24
--- /dev/null
+++ b/modules/umfpack/includes/dynlib_umfpack.h
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_UMFPACK_H__
+#define __DYNLIB_UMFPACK_H__
+
+#ifdef _MSC_VER
+#ifdef UMFPACK_EXPORTS
+#define UMFPACK_IMPEXP __declspec(dllexport)
+#else
+#define UMFPACK_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define UMFPACK_IMPEXP
+#endif
+
+#endif /* __DYNLIB_UMFPACK_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/umfpack/includes/gw_umfpack.h b/modules/umfpack/includes/gw_umfpack.h
new file mode 100755
index 000000000..4302eb6a1
--- /dev/null
+++ b/modules/umfpack/includes/gw_umfpack.h
@@ -0,0 +1,34 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+#ifndef __GW_UMFPACK__
+#define __GW_UMFPACK__
+/*--------------------------------------------------------------------------*/
+#include "dynlib_umfpack.h"
+/*--------------------------------------------------------------------------*/
+UMFPACK_IMPEXP int gw_umfpack(void);
+/*--------------------------------------------------------------------------*/
+UMFPACK_IMPEXP int sci_umfpack(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_umf_lufact(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_umf_lusolve(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_umf_ludel(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_umf_luinfo(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_umf_luget(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_taucs_chfact(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_taucs_chsolve(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_taucs_chdel(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_taucs_chinfo(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_taucs_chget(char* fname, unsigned long l);
+UMFPACK_IMPEXP int sci_res_with_prec(char* fname, unsigned long l);
+/*--------------------------------------------------------------------------*/
+#endif /* __GW_UMFPACK__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/umfpack/includes/with_umfpack.h b/modules/umfpack/includes/with_umfpack.h
new file mode 100755
index 000000000..67f81c8a6
--- /dev/null
+++ b/modules/umfpack/includes/with_umfpack.h
@@ -0,0 +1,34 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Sylvestre LEDRu
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ */
+
+#ifndef __WITH_UMFPACK_H__
+#define __WITH_UMFPACK_H__
+
+#include "machine.h" /* C2F */
+#include "dynlib_umfpack.h"
+#include "BOOL.h"
+
+/**
+* check if it is with UMFPACK
+* @param rep 1 (WITH) or 0 (WITHOUT)
+* @return 0
+*/
+UMFPACK_IMPEXP int C2F(withumfpack)(int *rep);
+
+/**
+* check if it is with UMFPACK
+* @return TRUE or FALSE
+*/
+UMFPACK_IMPEXP BOOL withumfpack(void);
+
+#endif /* __WITH_UMFPACK_H__ */
+/*--------------------------------------------------------------------------*/