From 5b9c5c3e161550405828c9fca0ceb0c9bdba1acb Mon Sep 17 00:00:00 2001
From: Koen Hillewaert <koen.hillewaert@cenaero.be>
Date: Mon, 2 Feb 2009 12:35:01 +0000
Subject: [PATCH] extended size for 4th order visualisations in 3D

---
 Graphics/drawPost.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Graphics/drawPost.cpp b/Graphics/drawPost.cpp
index fc0904026d..8a0c975d9c 100644
--- a/Graphics/drawPost.cpp
+++ b/Graphics/drawPost.cpp
@@ -23,7 +23,10 @@
 #include "matheval.h"
 #endif
 
-#define NMAX 20
+
+extern Context_T CTX;
+//KH: enlarged size to allow for 4th order mappings (tets)
+#define NMAX 35
 
 static void saturate(int nb, double val[NMAX][9], double vmin, double vmax, 
 		     int i0=0, int i1=1, int i2=2, int i3=3, 
-- 
GitLab