ElementList Class Reference
Class to construct a list of elements having some common properties. More...
Public Member Functions | |
| ElementList (Mesh &ms) | |
| Constructor using a Mesh instance. | |
| ~ElementList () | |
| Destructor. | |
| void | selectCode (int code) |
| Select elements having a given code. | |
| void | unselectCode (int code) |
| Unselect elements having a given code. | |
| void | selectLevel (int level) |
| Select elements having a given level. | |
| size_t | getNbElements () const |
| Return number of selected elements. | |
| void | top () |
| Reset list of elements at its top position (Non constant version) | |
| void | top () const |
| Reset list of elements at its top position (Constant version) | |
| Element * | get () |
| Return pointer to current element and move to next one (Non constant version) | |
| Element * | get () const |
| Return pointer to current element and move to next one (Constant version) | |
Detailed Description
Class to construct a list of elements having some common properties.
This class enables choosing multiple selection criteria by using function select... However, the intersection of these properties must be empty.
Member Function Documentation
| void unselectCode | ( | int | code | ) |
Unselect elements having a given code.
- Parameters:
-
[in] code Code of elements to exclude
| void selectLevel | ( | int | level | ) |
Select elements having a given level.
- Parameters:
-
[in] level Level of elements to select
Elements having a given level (for mesh adaption) are selected in a list
- OFELI
- ElementList
Copyright © 1998-2012 Rachid Touzani