mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 21:00:34 +05:00
fix for curved elements order=1 (thx Alexander Schlüter)
This commit is contained in:
parent
962ae7954e
commit
b53eedbab6
@ -2200,7 +2200,8 @@ namespace netgen
|
||||
for (int k = 0; k < DIM_SPACE; k++)
|
||||
mapped_x[k] += p(k) * lami[j];
|
||||
}
|
||||
|
||||
if (info.order == 1) break;
|
||||
|
||||
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (TRIG);
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
@ -3468,6 +3469,7 @@ namespace netgen
|
||||
for (int k = 0; k < 3; k++)
|
||||
mapped_x[k] += p(k) * lami[j];
|
||||
}
|
||||
if (info.order == 1) break;
|
||||
|
||||
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (TET);
|
||||
for (int i = 0; i < 6; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user