mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27 + int NbBiQuadQuadrangles() const throw(SALOME_Exception); + int NbTriQuadraticHexas() const throw(SALOME_Exception); + int NbHexagonalPrisms() const throw(SALOME_Exception);
This commit is contained in:
parent
2380f80cd3
commit
da68d59ab6
@ -1387,6 +1387,18 @@ int SMESH_Mesh::NbQuadrangles(SMDSAbs_ElementOrder order) const throw(SALOME_Exc
|
|||||||
return _myMeshDS->GetMeshInfo().NbQuadrangles(order);
|
return _myMeshDS->GetMeshInfo().NbQuadrangles(order);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \brief Return number of biquadratic quadrangles in the mesh
|
||||||
|
*/
|
||||||
|
//================================================================================
|
||||||
|
|
||||||
|
int SMESH_Mesh::NbBiQuadQuadrangles() const throw(SALOME_Exception)
|
||||||
|
{
|
||||||
|
Unexpect aCatch(SalomeException);
|
||||||
|
return _myMeshDS->GetMeshInfo().NbBiQuadQuadrangles();
|
||||||
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Return the number of polygonal faces in the mesh
|
* \brief Return the number of polygonal faces in the mesh
|
||||||
@ -1435,6 +1447,18 @@ int SMESH_Mesh::NbHexas(SMDSAbs_ElementOrder order) const throw(SALOME_Exception
|
|||||||
return _myMeshDS->GetMeshInfo().NbHexas(order);
|
return _myMeshDS->GetMeshInfo().NbHexas(order);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \brief Return number of triquadratic hexahedrons in the mesh
|
||||||
|
*/
|
||||||
|
//================================================================================
|
||||||
|
|
||||||
|
int SMESH_Mesh::NbTriQuadraticHexas() const throw(SALOME_Exception)
|
||||||
|
{
|
||||||
|
Unexpect aCatch(SalomeException);
|
||||||
|
return _myMeshDS->GetMeshInfo().NbTriQuadHexas();
|
||||||
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Return number of pyramids of given order in the mesh
|
* \brief Return number of pyramids of given order in the mesh
|
||||||
@ -1459,6 +1483,18 @@ int SMESH_Mesh::NbPrisms(SMDSAbs_ElementOrder order) const throw(SALOME_Exceptio
|
|||||||
return _myMeshDS->GetMeshInfo().NbPrisms(order);
|
return _myMeshDS->GetMeshInfo().NbPrisms(order);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \brief Return number of hexagonal prisms in the mesh
|
||||||
|
*/
|
||||||
|
//================================================================================
|
||||||
|
|
||||||
|
int SMESH_Mesh::NbHexagonalPrisms() const throw(SALOME_Exception)
|
||||||
|
{
|
||||||
|
Unexpect aCatch(SalomeException);
|
||||||
|
return _myMeshDS->GetMeshInfo().NbHexPrisms();
|
||||||
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Return number of polyhedrons in the mesh
|
* \brief Return number of polyhedrons in the mesh
|
||||||
|
@ -252,6 +252,8 @@ public:
|
|||||||
|
|
||||||
int NbQuadrangles(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
int NbQuadrangles(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||||
|
|
||||||
|
int NbBiQuadQuadrangles() const throw(SALOME_Exception);
|
||||||
|
|
||||||
int NbPolygons() const throw(SALOME_Exception);
|
int NbPolygons() const throw(SALOME_Exception);
|
||||||
|
|
||||||
int NbVolumes(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
int NbVolumes(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||||
@ -260,10 +262,14 @@ public:
|
|||||||
|
|
||||||
int NbHexas(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
int NbHexas(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||||
|
|
||||||
|
int NbTriQuadraticHexas() const throw(SALOME_Exception);
|
||||||
|
|
||||||
int NbPyramids(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
int NbPyramids(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||||
|
|
||||||
int NbPrisms(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
int NbPrisms(SMDSAbs_ElementOrder order = ORDER_ANY) const throw(SALOME_Exception);
|
||||||
|
|
||||||
|
int NbHexagonalPrisms() const throw(SALOME_Exception);
|
||||||
|
|
||||||
int NbPolyhedrons() const throw(SALOME_Exception);
|
int NbPolyhedrons() const throw(SALOME_Exception);
|
||||||
|
|
||||||
int NbSubMesh() const throw(SALOME_Exception);
|
int NbSubMesh() const throw(SALOME_Exception);
|
||||||
|
Loading…
Reference in New Issue
Block a user