mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
- inline SMESHDS_Mesh *getParent() {return myParent; }; + SMESHDS_Mesh *GetParent() { return myParent; }
This commit is contained in:
parent
b648205fec
commit
b4d9638c8c
@ -823,7 +823,7 @@ static void removeFromContainers (map<int,SMESHDS_SubMesh*>& theSubMeshes,
|
|||||||
// Element should belong to only one sub-mesh
|
// Element should belong to only one sub-mesh
|
||||||
if ( !theSubMeshes.empty() )
|
if ( !theSubMeshes.empty() )
|
||||||
{
|
{
|
||||||
SMESHDS_Mesh* mesh = theSubMeshes.begin()->second->getParent();
|
SMESHDS_Mesh* mesh = theSubMeshes.begin()->second->GetParent();
|
||||||
list<const SMDS_MeshElement *>::iterator elIt = theElems.begin();
|
list<const SMDS_MeshElement *>::iterator elIt = theElems.begin();
|
||||||
if ( isNode ) {
|
if ( isNode ) {
|
||||||
for ( ; elIt != theElems.end(); ++elIt )
|
for ( ; elIt != theElems.end(); ++elIt )
|
||||||
|
@ -73,7 +73,8 @@ class SMESHDS_EXPORT SMESHDS_SubMesh
|
|||||||
int getSize();
|
int getSize();
|
||||||
void compactList();
|
void compactList();
|
||||||
|
|
||||||
inline SMESHDS_Mesh *getParent() {return myParent; };
|
SMESHDS_Mesh *GetParent() { return myParent; }
|
||||||
|
int GetID() const { return myIndex; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
SMESHDS_Mesh * myParent;
|
SMESHDS_Mesh * myParent;
|
||||||
|
Loading…
Reference in New Issue
Block a user