Back to index

salome-smesh  6.5.0
Public Member Functions | Public Attributes
VISCOUS::TmpMeshFace Struct Reference

Class of temporary mesh face. More...

Inheritance diagram for VISCOUS::TmpMeshFace:
Inheritance graph
Collaboration diagram for VISCOUS::TmpMeshFace:
Collaboration graph

List of all members.

Public Member Functions

 TmpMeshFace (const vector< const SMDS_MeshNode * > &nodes, int id)
virtual const SMDS_MeshNode * GetNode (const int ind) const
virtual SMDSAbs_ElementType GetType () const
virtual vtkIdType GetVtkType () const
virtual SMDSAbs_EntityType GetEntityType () const
virtual SMDS_ElemIteratorPtr elementsIterator (SMDSAbs_ElementType type) const

Public Attributes

vector< const SMDS_MeshNode * > _nn

Detailed Description

Class of temporary mesh face.

We can't use SMDS_FaceOfNodes since it's impossible to set it's ID which is needed because SMESH_ElementSearcher internaly uses set of elements sorted by ID

Definition at line 521 of file StdMeshers_ViscousLayers.cxx.

Constructor & Destructor Documentation

VISCOUS::TmpMeshFace::TmpMeshFace ( const vector< const SMDS_MeshNode * > &  nodes,
int  id 
) [inline]

Definition at line 524 of file StdMeshers_ViscousLayers.cxx.

      SMDS_MeshElement(id), _nn(nodes) {}

Member Function Documentation

Definition at line 530 of file StdMeshers_ViscousLayers.cxx.

    { return SMDS_ElemIteratorPtr( new SMDS_NodeVectorElemIterator( _nn.begin(), _nn.end()));}
virtual SMDSAbs_EntityType VISCOUS::TmpMeshFace::GetEntityType ( ) const [inline, virtual]

Definition at line 529 of file StdMeshers_ViscousLayers.cxx.

{ return SMDSEntity_Last; }
virtual const SMDS_MeshNode* VISCOUS::TmpMeshFace::GetNode ( const int  ind) const [inline, virtual]

Definition at line 526 of file StdMeshers_ViscousLayers.cxx.

{ return _nn[ind]; }
virtual SMDSAbs_ElementType VISCOUS::TmpMeshFace::GetType ( ) const [inline, virtual]

Definition at line 527 of file StdMeshers_ViscousLayers.cxx.

{ return SMDSAbs_Face; }
virtual vtkIdType VISCOUS::TmpMeshFace::GetVtkType ( ) const [inline, virtual]

Definition at line 528 of file StdMeshers_ViscousLayers.cxx.

{ return -1; }

Member Data Documentation

vector<const SMDS_MeshNode* > VISCOUS::TmpMeshFace::_nn

Definition at line 523 of file StdMeshers_ViscousLayers.cxx.

The documentation for this struct was generated from the following file: