mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
differentiate 1 correctly
This commit is contained in:
parent
b841b1c57b
commit
4cdaa6e3df
@ -281,7 +281,7 @@ namespace netgen
|
||||
*testout << "tang in plane" << endl;
|
||||
double dlam1 = face.w1 * v;
|
||||
double dlam2 = face.w2 * v;
|
||||
double dlam3 = 1-dlam1-dlam2;
|
||||
double dlam3 = -dlam1-dlam2;
|
||||
if (printing)
|
||||
*testout << "dlam = " << dlam1 << " " << dlam2 << " " << dlam3 << endl;
|
||||
bool in1 = lam1 > eps_base1 || dlam1 > -eps_base1;
|
||||
|
Loading…
Reference in New Issue
Block a user