NodeList Class Reference
[Finite Element Mesh]
#include <MeshExtract.h>
Detailed Description
To a list of nodes having some common properties.This class enables choosing multiple selection criteria byb using function select... However, the intersection of these properties must be empty.
Public Member Functions | |
| Node * | get () const |
| Return pointer to current node and move to next one (Constant version). | |
| Node * | get () |
| Return pointer to current node and move to next one (Non constant version). | |
| size_t | getNbNodes () const |
| Return number of selected nodes. | |
| NodeList (Mesh &ms) | |
| Constructor using a Mesh instance. | |
| void | selectCode (int code, int dof=1) |
| Select nodes having a given code for a given degree of freedom. | |
| void | selectCoordinate (double x, double y=ANY, double z=ANY) |
| Select nodes having given coordinates. | |
| void | top () const |
| Reset list of nodes at its top position (Constant version). | |
| void | top () |
| Reset list of nodes at its top position (Non constant version). | |
| ~NodeList () | |
| Destructor. | |
Member Function Documentation
| void selectCode | ( | int | code, | |
| int | dof = 1 | |||
| ) |
Select nodes having a given code for a given degree of freedom.
- Parameters:
-
[in] code Code that nodes share [in] dof Degree of Freedom label (Default value is 1)
| void selectCoordinate | ( | double | x, | |
| double | y = ANY, |
|||
| double | z = ANY | |||
| ) |
Select nodes having given coordinates.
- Parameters:
-
[in] x x-coordinate that share the selected nodes [in] y y-coordinate that share the selected nodes [default = ANY] [in] z z-coordinate that share the selected nodes [default = ANY]