From 1bf0c5081390e708957b4d89e4b5c01ef6ef03ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Mon, 23 Nov 2015 13:12:38 +0100 Subject: [PATCH] draw surface vectors in curved surface --- libsrc/visualization/vssolution.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libsrc/visualization/vssolution.cpp b/libsrc/visualization/vssolution.cpp index 1bff9a08..39919dfa 100644 --- a/libsrc/visualization/vssolution.cpp +++ b/libsrc/visualization/vssolution.cpp @@ -2054,6 +2054,11 @@ namespace netgen cp(k) = lp[0](k) + lam1 * (lp[1](k)-lp[0](k)) + lam2 * (lp[2](k)-lp[0](k)); + + Point<2> xref(lam1, lam2); + if (mesh->GetCurvedElements().IsHighOrder()) + mesh->GetCurvedElements(). + CalcSurfaceTransformation (xref, sei, cp); Vec<3> v; double values[6];