mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
draw surface vectors in curved surface
This commit is contained in:
parent
46b9a1c556
commit
1bf0c50813
@ -2054,6 +2054,11 @@ namespace netgen
|
|||||||
cp(k) = lp[0](k) +
|
cp(k) = lp[0](k) +
|
||||||
lam1 * (lp[1](k)-lp[0](k)) +
|
lam1 * (lp[1](k)-lp[0](k)) +
|
||||||
lam2 * (lp[2](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;
|
Vec<3> v;
|
||||||
double values[6];
|
double values[6];
|
||||||
|
Loading…
Reference in New Issue
Block a user