OFELI's Logo

An Object Oriented Finite Element Library

Class to construct a list of edges having some common properties. More...

#include <MeshExtract.h>

Public Member Functions

 EdgeList (Mesh &ms)
 Constructor using a Mesh instance.
 
 ~EdgeList ()
 Destructor.
 
void selectCode (int code, int dof=1)
 Select edges having a given code for a given degree of freedom. More...
 
void unselectCode (int code, int dof=1)
 Unselect edges having a given code for a given degree of freedom. More...
 
size_t getNbEdges () const
 Return number of selected edges.
 
void top ()
 Reset list of edges at its top position (Non constant version)
 
void top () const
 Reset list of edges at its top position (Constant version)
 
Edgeget ()
 Return pointer to current edge and move to next one (Non constant version)
 
Edgeget () const
 Return pointer to current edge and move to next one (Constant version)
 

Detailed Description

Class to construct a list of edges having some common properties.

This class enables choosing multiple selection criteria by using function select... However, the intersection of these properties must be empty.

Author
Rachid Touzani

Member Function Documentation

◆ selectCode()

void selectCode ( int  code,
int  dof = 1 
)

Select edges having a given code for a given degree of freedom.

Parameters
[in]codeCode that edges share
[in]dofDegree of Freedom label [Default: 1]

◆ unselectCode()

void unselectCode ( int  code,
int  dof = 1 
)

Unselect edges having a given code for a given degree of freedom.

Parameters
[in]codeCode of edges to exclude
[in]dofDegree of Freedom label [Default: 1]





Copyright © 1998-2022 Rachid Touzani