mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-23 11:20:34 +05:00
a hex has 12 edges, doesn't it?
This commit is contained in:
parent
454b8ea760
commit
9b3578740f
@ -2912,7 +2912,7 @@ namespace netgen
|
|||||||
int ii = 8;
|
int ii = 8;
|
||||||
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (HEX);
|
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (HEX);
|
||||||
|
|
||||||
for (int i = 0; i < 8; i++)
|
for (int i = 0; i < 12; i++)
|
||||||
{
|
{
|
||||||
int eorder = edgeorder[info.edgenrs[i]];
|
int eorder = edgeorder[info.edgenrs[i]];
|
||||||
if (eorder >= 2)
|
if (eorder >= 2)
|
||||||
@ -3606,8 +3606,7 @@ namespace netgen
|
|||||||
|
|
||||||
int ii = 8;
|
int ii = 8;
|
||||||
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (HEX);
|
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (HEX);
|
||||||
|
for (int i = 0; i < 12; i++)
|
||||||
for (int i = 0; i < 8; i++)
|
|
||||||
{
|
{
|
||||||
int eorder = edgeorder[info.edgenrs[i]];
|
int eorder = edgeorder[info.edgenrs[i]];
|
||||||
if (eorder >= 2)
|
if (eorder >= 2)
|
||||||
@ -3836,7 +3835,7 @@ namespace netgen
|
|||||||
// int ii = 8;
|
// int ii = 8;
|
||||||
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (HEX);
|
const ELEMENT_EDGE * edges = MeshTopology::GetEdges1 (HEX);
|
||||||
|
|
||||||
for (int i = 0; i < 8; i++)
|
for (int i = 0; i < 12; i++)
|
||||||
{
|
{
|
||||||
int eorder = edgeorder[info.edgenrs[i]];
|
int eorder = edgeorder[info.edgenrs[i]];
|
||||||
if (eorder >= 2)
|
if (eorder >= 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user