mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 22:30:33 +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;
|
//(*testout) << "velement " << velement << endl;
|
||||||
|
|
||||||
if (!GetNE() && GetNSE() )
|
if (!GetNE() && GetNSE() )
|
||||||
return velement;
|
{
|
||||||
|
lami[0] = vlam[0];
|
||||||
|
lami[1] = vlam[1];
|
||||||
|
lami[2] = vlam[2];
|
||||||
|
return velement;
|
||||||
|
}
|
||||||
|
|
||||||
Array<int> faces;
|
Array<int> faces;
|
||||||
topology.GetElementFaces(velement,faces);
|
topology.GetElementFaces(velement,faces);
|
||||||
|
Loading…
Reference in New Issue
Block a user