mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-02 04:24:28 +05:00
bug of NbElements() which misses nb of SEG2 elements
This commit is contained in:
parent
852a987961
commit
48da63cb03
@ -102,23 +102,23 @@ inline SMDS_MeshInfo::SMDS_MeshInfo():
|
|||||||
myNbPrisms (0), myNbQuadPrisms (0),
|
myNbPrisms (0), myNbQuadPrisms (0),
|
||||||
myNbPolyhedrons(0)
|
myNbPolyhedrons(0)
|
||||||
{
|
{
|
||||||
// Number of nodes in standard element types
|
// Number of nodes in standard element types (. - actual nb, * - after the shift)
|
||||||
// n v f e 0 n
|
// n v f e 0 n
|
||||||
// o o a d d o
|
// o o a d d o
|
||||||
// d l c g d
|
// d l c g d
|
||||||
// e e e e
|
// e e e e
|
||||||
// s
|
// s
|
||||||
// -----------------
|
// -----------------
|
||||||
// 0 *
|
// 0 - DON't USE 0!!!
|
||||||
// 1 . *
|
// 1 . *
|
||||||
// 2 *
|
// 2 .
|
||||||
// 3 . *
|
// 3 . *
|
||||||
// 4 * . .
|
// 4 * . .
|
||||||
// 5 *
|
// 5 *
|
||||||
// 6 * .
|
// 6 * .
|
||||||
// 7
|
// 7 *
|
||||||
// 8 * .
|
// 8 * .
|
||||||
// 9
|
// 9 *
|
||||||
// 10 *
|
// 10 *
|
||||||
// 11 *
|
// 11 *
|
||||||
// 12 *
|
// 12 *
|
||||||
@ -135,7 +135,7 @@ inline SMDS_MeshInfo::SMDS_MeshInfo():
|
|||||||
myShift.resize(SMDSAbs_NbElementTypes, 0);
|
myShift.resize(SMDSAbs_NbElementTypes, 0);
|
||||||
|
|
||||||
myShift[ SMDSAbs_Face ] = +8; // 3->11, 4->12, 6->14, 8->16
|
myShift[ SMDSAbs_Face ] = +8; // 3->11, 4->12, 6->14, 8->16
|
||||||
myShift[ SMDSAbs_Edge ] = -2; // 2->0, 4->2
|
myShift[ SMDSAbs_Edge ] = +5; // 2->7, 4->9
|
||||||
myShift[ SMDSAbs_0DElement ] = +2; // 1->3
|
myShift[ SMDSAbs_0DElement ] = +2; // 1->3
|
||||||
|
|
||||||
myNb.resize( index( SMDSAbs_Volume,20 ) + 1, NULL);
|
myNb.resize( index( SMDSAbs_Volume,20 ) + 1, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user