Version: 9.12.0
VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh Struct Reference
Inheritance diagram for VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh:

Public Member Functions

 _EdgeSubMesh (const SMDS_Mesh *mesh, int index=0)
 
virtual smIdType NbNodes () const
 Return number of nodes in a proxy sub-mesh. More...
 
void SetUVPtStructVec (UVPtStructVec &vec)
 
UVPtStructVecGetUVPtStructVec ()
 
const TN2NMapGetNodeNodeMap () const
 
const SMDS_MeshNodeGetProxyNode (const SMDS_MeshNode *n) const
 Return a proxy node or an input node. More...
 
const UVPtStructVecGetUVPtStructVec () const
 
virtual void AddElement (const SMDS_MeshElement *e)
 Store an element. More...
 
virtual smIdType NbElements () const
 Return number of elements in a proxy sub-mesh. More...
 
virtual SMDS_ElemIteratorPtr GetElements () const
 Return elements of a proxy sub-mesh. More...
 
virtual SMDS_NodeIteratorPtr GetNodes () const
 Return nodes of a proxy sub-mesh. More...
 
virtual void Clear ()
 Deletes temporary elements. More...
 
virtual bool Contains (const SMDS_MeshElement *ME) const
 Check presence of element inside it-self. More...
 
template<class ITERATOR >
void ChangeElements (ITERATOR it, ITERATOR end)
 
virtual bool IsComplexSubmesh () const
 
virtual bool RemoveElement (const SMDS_MeshElement *ME)
 
virtual void AddNode (const SMDS_MeshNode *ME)
 
virtual bool RemoveNode (const SMDS_MeshNode *ME)
 
void AddSubMesh (const SMESHDS_SubMesh *theSubMesh)
 
bool RemoveSubMesh (const SMESHDS_SubMesh *theSubMesh)
 
void RemoveAllSubmeshes ()
 
bool ContainsSubMesh (const SMESHDS_SubMesh *theSubMesh) const
 
size_t NbSubMeshes () const
 
SMESHDS_SubMeshIteratorPtr GetSubMeshIterator () const
 
virtual bool IsQuadratic () const
 
SMESHDS_MeshGetParent () const
 
int GetID () const
 

Protected Member Functions

virtual SMDS_ElemIteratorPtr getElements ()
 < the descendant object return its elements just before the mesh compacting More...
 
virtual void tmpClear ()
 the descendant object re-add its elements after the mesh compacting More...
 
virtual void add (const SMDS_MeshElement *)
 the descendant squeeze its element storage after re-adding elements More...
 
virtual void compact ()
 allow the descendant treat its elements before mesh clearing More...
 
virtual void clear ()
 

Protected Attributes

std::vector< const SMDS_MeshElement * > _elements
 
TN2NMap_n2n
 
UVPtStructVec _uvPtStructVec
 
SMDS_MeshmyMesh
 

Private Member Functions

void beforeCompacting ()
 store vtkIDs of elements More...
 
void restoreElements (const std::vector< smIdType > &idNodessOldToNew, const std::vector< smIdType > &idCellsOldToNew)
 restore pointers to elements More...
 

Private Attributes

int myIndex
 
smIdType myNbElements
 
smIdType myNbNodes
 
const SMDS_MeshElementmy1stElemNode [2]
 
const SMESHDS_MeshmyParent
 
TSubMeshSet mySubMeshes
 
std::vector< const SMDS_MeshElement * > myExternalElems
 elements not contained in the mesh More...
 
std::vector< vtkIdType > myVtkIDs
 vtk IDs of elements More...
 
std::vector< bool > myIsNode
 
std::set< SMDS_ElementHolder * >::iterator myPtrInMesh
 

Constructor & Destructor Documentation

◆ _EdgeSubMesh()

VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh::_EdgeSubMesh ( const SMDS_Mesh mesh,
int  index = 0 
)

Member Function Documentation

◆ add()

virtual void SMESH_ProxyMesh::SubMesh::add ( const SMDS_MeshElement element)
protectedvirtualinherited

the descendant squeeze its element storage after re-adding elements

Reimplemented from SMESHDS_SubMesh.

◆ AddElement()

void SMESH_ProxyMesh::SubMesh::AddElement ( const SMDS_MeshElement e)
virtualinherited

◆ AddNode()

◆ AddSubMesh()

void SMESHDS_SubMesh::AddSubMesh ( const SMESHDS_SubMesh theSubMesh)
inherited

◆ beforeCompacting()

◆ ChangeElements()

template<class ITERATOR >
void SMESH_ProxyMesh::SubMesh::ChangeElements ( ITERATOR  it,
ITERATOR  end 
)
inherited

References end().

Referenced by StdMeshers_QuadToTriaAdaptor::Compute().

◆ Clear()

void SMESH_ProxyMesh::SubMesh::Clear ( )
virtualinherited

Deletes temporary elements.

Reimplemented from SMESHDS_SubMesh.

◆ clear()

virtual void SMESH_ProxyMesh::SubMesh::clear ( )
protectedvirtualinherited

Reimplemented from SMDS_ElementHolder.

◆ compact()

virtual void SMESH_ProxyMesh::SubMesh::compact ( )
protectedvirtualinherited

allow the descendant treat its elements before mesh clearing

Reimplemented from SMESHDS_SubMesh.

◆ Contains()

bool SMESH_ProxyMesh::SubMesh::Contains ( const SMDS_MeshElement ME) const
virtualinherited

Check presence of element inside it-self.

Reimplemented from SMESHDS_SubMesh.

References SMDS_MeshElement::GetType(), and SMDSAbs_Node.

◆ ContainsSubMesh()

bool SMESHDS_SubMesh::ContainsSubMesh ( const SMESHDS_SubMesh theSubMesh) const
inherited

◆ getElements()

virtual SMDS_ElemIteratorPtr SMESH_ProxyMesh::SubMesh::getElements ( )
protectedvirtualinherited

< the descendant object return its elements just before the mesh compacting

the descendant object temporary remove its elements

Reimplemented from SMESHDS_SubMesh.

◆ GetElements()

SMDS_ElemIteratorPtr SMESH_ProxyMesh::SubMesh::GetElements ( ) const
virtualinherited

Return elements of a proxy sub-mesh.

The method is meaningful for a sub-mesh containing tmp faces.

Reimplemented from SMESHDS_SubMesh.

Referenced by VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), and VISCOUS_3D::_ViscousBuilder::shrink().

◆ GetID()

◆ GetNodeNodeMap()

const TN2NMap* SMESH_ProxyMesh::SubMesh::GetNodeNodeMap ( ) const
inherited

◆ GetNodes()

SMDS_NodeIteratorPtr SMESH_ProxyMesh::SubMesh::GetNodes ( ) const
virtualinherited

Return nodes of a proxy sub-mesh.

The method is meaningful for a sub-mesh containing nodes of 2D viscous layer.

Reimplemented from SMESHDS_SubMesh.

◆ GetParent()

SMESHDS_Mesh* SMESHDS_SubMesh::GetParent ( ) const
inherited

◆ GetProxyNode()

const SMDS_MeshNode * SMESH_ProxyMesh::SubMesh::GetProxyNode ( const SMDS_MeshNode n) const
inherited

Return a proxy node or an input node.

◆ GetSubMeshIterator()

SMESHDS_SubMeshIteratorPtr SMESHDS_SubMesh::GetSubMeshIterator ( ) const
inherited

◆ GetUVPtStructVec() [1/2]

UVPtStructVec& VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh::GetUVPtStructVec ( )

◆ GetUVPtStructVec() [2/2]

const UVPtStructVec& SMESH_ProxyMesh::SubMesh::GetUVPtStructVec ( ) const
inherited

◆ IsComplexSubmesh()

◆ IsQuadratic()

bool SMESHDS_SubMesh::IsQuadratic ( ) const
virtualinherited

◆ NbElements()

smIdType SMESH_ProxyMesh::SubMesh::NbElements ( ) const
virtualinherited

Return number of elements in a proxy sub-mesh.

The method is meaningful for a sub-mesh containing tmp faces.

Reimplemented from SMESHDS_SubMesh.

Referenced by VISCOUS_3D::_ViscousBuilder::addBoundaryElements(), VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), and VISCOUS_3D::_ViscousBuilder::shrink().

◆ NbNodes()

virtual smIdType VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh::NbNodes ( ) const
virtual

Return number of nodes in a proxy sub-mesh.

The method is meaningful for a sub-mesh containing nodes of 2D viscous layer.

Reimplemented from SMESH_ProxyMesh::SubMesh.

◆ NbSubMeshes()

size_t SMESHDS_SubMesh::NbSubMeshes ( ) const
inherited

◆ RemoveAllSubmeshes()

void SMESHDS_SubMesh::RemoveAllSubmeshes ( )
inherited

◆ RemoveElement()

◆ RemoveNode()

◆ RemoveSubMesh()

bool SMESHDS_SubMesh::RemoveSubMesh ( const SMESHDS_SubMesh theSubMesh)
inherited

◆ restoreElements()

void SMDS_ElementHolder::restoreElements ( const std::vector< smIdType > &  idNodessOldToNew,
const std::vector< smIdType > &  idCellsOldToNew 
)
privateinherited

◆ SetUVPtStructVec()

void VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh::SetUVPtStructVec ( UVPtStructVec vec)

◆ tmpClear()

virtual void SMESH_ProxyMesh::SubMesh::tmpClear ( )
protectedvirtualinherited

the descendant object re-add its elements after the mesh compacting

Reimplemented from SMESHDS_SubMesh.

Field Documentation

◆ _elements

std::vector<const SMDS_MeshElement *> SMESH_ProxyMesh::SubMesh::_elements
protectedinherited

◆ _n2n

TN2NMap* SMESH_ProxyMesh::SubMesh::_n2n
protectedinherited

◆ _uvPtStructVec

UVPtStructVec SMESH_ProxyMesh::SubMesh::_uvPtStructVec
protectedinherited

◆ my1stElemNode

◆ myExternalElems

std::vector<const SMDS_MeshElement*> SMDS_ElementHolder::myExternalElems
privateinherited

elements not contained in the mesh

Referenced by SMDS_ElementHolder::beforeCompacting(), and SMDS_ElementHolder::restoreElements().

◆ myIndex

◆ myIsNode

std::vector< bool > SMDS_ElementHolder::myIsNode
privateinherited

◆ myMesh

◆ myNbElements

◆ myNbNodes

◆ myParent

◆ myPtrInMesh

std::set< SMDS_ElementHolder* >::iterator SMDS_ElementHolder::myPtrInMesh
privateinherited

◆ mySubMeshes

◆ myVtkIDs

std::vector< vtkIdType > SMDS_ElementHolder::myVtkIDs
privateinherited