Class to construct a list of sides having some common properties. More...
#include <MeshExtract.h>
Public Member Functions | |
| SideList (Mesh &ms) | |
| Constructor using a Mesh instance. | |
| ~SideList () | |
| Destructor. | |
| void | selectCode (int code, int dof=1) |
| Select sides having a given code for a given degree of freedom. | |
| void | unselectCode (int code, int dof=1) |
| Unselect sides having a given code for a given degree of freedom. | |
| size_t | getNbSides () const |
| Return number of selected sides. | |
| void | top () |
| Reset list of sides at its top position (Non constant version) | |
| void | top () const |
| Reset list of sides at its top position (Constant version) | |
| Side * | get () |
| Return pointer to current side and move to next one (Non constant version) | |
| Side * | get () const |
| Return pointer to current side and move to next one (Constant version) | |
Class to construct a list of sides having some common properties.
This class enables choosing multiple selection criteria by using function select... However, the intersection of these properties must be empty.
| void selectCode | ( | int | code, |
| int | dof = 1 ) |
Select sides having a given code for a given degree of freedom.
| [in] | code | Code that sides share |
| [in] | dof | Degree of Freedom label [Default: 1] |
| void unselectCode | ( | int | code, |
| int | dof = 1 ) |
Unselect sides having a given code for a given degree of freedom.
| [in] | code | Code of sides to exclude |
| [in] | dof | Degree of Freedom label [Default: 1] |