mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: tet numbering.
This commit is contained in:
@ -475,7 +475,7 @@ int main(int argc, char *argv[])
|
||||
{-1, -1, -1, -1, -1, -1}, // 1
|
||||
{-1, -1, -1, -1, -1, -1}, // 2
|
||||
{-1, -1, -1, -1, -1, -1}, // 3
|
||||
{-1, 2, 0, 3, 1, -1}, // tet (version 2.0)
|
||||
{ 3, 2, 0, -1, 1, -1}, // tet (version 2.0)
|
||||
{ 0, 4, 3, -1, 2, 1}, // prism
|
||||
{ 4, 2, 1, 3, 0, 5}, // hex
|
||||
};
|
||||
@ -500,12 +500,14 @@ int main(int argc, char *argv[])
|
||||
++cellIter, ++faceIter
|
||||
)
|
||||
{
|
||||
const cellShape& shape = cellShapes[cellMap[cellIter()]];
|
||||
|
||||
patchFaces.append
|
||||
(
|
||||
cellShapes[cellMap[cellIter()] ].faces()
|
||||
shape.faces()
|
||||
[
|
||||
faceIndex
|
||||
[cellShapes[cellMap[cellIter()] ].nFaces()]
|
||||
[shape.nFaces()]
|
||||
[faceIter()-1]
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user