fix returning barycentric coordinates

This commit is contained in:
Michael Neunteufel 2019-01-21 15:41:06 +01:00
parent 73292485eb
commit 08bccfc0d3

View File

@ -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);