mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix returning barycentric coordinates
This commit is contained in:
parent
73292485eb
commit
08bccfc0d3
@ -4991,7 +4991,12 @@ namespace netgen
|
||||
//(*testout) << "velement " << velement << endl;
|
||||
|
||||
if (!GetNE() && GetNSE() )
|
||||
return velement;
|
||||
{
|
||||
lami[0] = vlam[0];
|
||||
lami[1] = vlam[1];
|
||||
lami[2] = vlam[2];
|
||||
return velement;
|
||||
}
|
||||
|
||||
Array<int> faces;
|
||||
topology.GetElementFaces(velement,faces);
|
||||
|
Loading…
Reference in New Issue
Block a user