1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/cad/tochnog/files/patch-tnsuplu.h
Maho Nakata b92ae76637 Add new port cad/tochnog
tochnog is a free finite element program with many features which is
distributed under GPL. TOCHNOG accepts free format input.
Boundary conditions can be imposed at geometrical entities,
as well as nodes and elements.

PR:             52088
Submitted by:   Pedro F. Giffuni <giffunip@yahoo.com>
2003-07-13 05:29:48 +00:00

16 lines
432 B
C

--- tnsuplu.h.orig Wed Jun 18 12:39:20 2003
+++ tnsuplu.h Wed Jun 18 12:45:46 2003
@@ -2,6 +2,12 @@
#define SUPERLU_USE 0
#define SUPERLU_MT_USE 0
#define SUPERLU_DIST_USE 0
+#if SUPERLU_USE /* enums were changed for SuperLU v2 */
+#define _D SLU_D
+#define DN SLU_DN
+#define GE SLU_GE
+#define NC SLU_NC
+#endif
/* don't change the next lines */
#if SUPERLU_USE+SUPERLU_MT_USE+SUPERLU_DIST_USE > 1
ERROR___ just pick one