Back to index

salome-smesh  6.5.0
Public Member Functions
VISCOUS::_LayerEdgeCmp Struct Reference

List of all members.

Public Member Functions

bool operator() (const _LayerEdge *e1, const _LayerEdge *e2) const

Detailed Description

Definition at line 350 of file StdMeshers_ViscousLayers.cxx.


Member Function Documentation

bool VISCOUS::_LayerEdgeCmp::operator() ( const _LayerEdge e1,
const _LayerEdge e2 
) const [inline]

Definition at line 352 of file StdMeshers_ViscousLayers.cxx.

    {
      const bool cmpNodes = ( e1 && e2 && e1->_nodes.size() && e2->_nodes.size() );
      return cmpNodes ? ( e1->_nodes[0]->GetID() < e2->_nodes[0]->GetID()) : ( e1 < e2 );
    }

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