ansys::dpf::MeshQuery Class Reference
Last update: 10.07.2023
ansys::dpf::MeshQuery Class Reference
#include <dpf_meshQuery.h>
Public Member Functions | |
MeshQuery (Operator &mesh_provider) | |
Scoping | GetNodesByNamedSelection (const char *named_selection, DpfError &error) |
Scoping | GetNodesByMaterialId (dp_id materialId, DpfError &error) |
Scoping | GetNodesByElementType (const ElementDescriptor &element_type, DpfError &error) |
Scoping | GetNodesBySolverElementType (int element_type, DpfError &error) |
Scoping | GetElementsByNamedSelection (const char *named_selection, bool inclusive, DpfError &error) |
Scoping | GetElementsByMaterialId (dp_id materialId, DpfError &error) |
Scoping | GetElementsByElementType (const ElementDescriptor &element_type, DpfError &error) |
Scoping | GetElementsBySolverElementType (int element_type, DpfError &error) |
Scoping | GetSkinElements (DpfError &error) |
Scoping | GetBeamElements (DpfError &error) |
Scoping | GetSolidElements (DpfError &error) |
Scoping | GetPointElements (DpfError &error) |
Scoping | GetShellElements (DpfError &error) |
Detailed Description
Encapsulation of mesh.
Constructor & Destructor Documentation
◆ MeshQuery()
|
inline |
Create new mesh query object.
- Parameters
-
[in] mesh_provider Mesh provider from which to create mesh query object.
Member Function Documentation
◆ GetBeamElements()
- Returns
- Scoping of beam elements.
- Parameters
-
[out] error Status of call.
◆ GetElementsByElementType()
|
inline |
- Returns
- Scoping of elements for element type.
- Parameters
-
[in] element_type Element descriptor for which to get elements. [out] error Status of call.
◆ GetElementsByMaterialId()
|
inline |
- Returns
- Scoping of elements for material.
- Parameters
-
[in] materialId Id of material for which to get elements. [out] error Status of call.
◆ GetElementsByNamedSelection()
|
inline |
- Returns
- Scoping of elements for named selection.
- Parameters
-
[in] named_selection Name of selection for which to get elements. [in] inclusive Flag indicating to return elements fully contained within named selection. [out] error Status of call.
◆ GetElementsBySolverElementType()
|
inline |
Element type is given by APDLElementType. Example: 181 = 4 - Node Structural Shell, 186 = 3 - D 20 - Node Structural Solid.
- Returns
- Scoping of elements for solver element.
- Parameters
-
[in] element_type Type of solver element for which to get elements. [out] error Status of call.
◆ GetNodesByElementType()
|
inline |
- Returns
- Scoping of nodes for element type.
- Parameters
-
[in] element_type Element descriptor for which to get nodes. [out] error Status of call.
◆ GetNodesByMaterialId()
- Returns
- Scoping of nodes for material.
- Parameters
-
[in] materialId Id of material for which to get nodes. [out] error Status of call.
◆ GetNodesByNamedSelection()
|
inline |
- Returns
- Scoping of nodes for named selection.
- Parameters
-
[in] named_selection Name of selection for which to get nodes. [out] error Status of call.
◆ GetNodesBySolverElementType()
|
inline |
- Returns
- Scoping of nodes for solver element.
- Parameters
-
[in] element_type Type of solver element for which to get nodes. [out] error Status of call.
◆ GetPointElements()
- Returns
- Scoping of point elements.
- Parameters
-
[out] error Status of call.
◆ GetShellElements()
- Returns
- Scoping of shell elements.
- Parameters
-
[out] error Status of call.
◆ GetSkinElements()
- Returns
- Scoping of skin elements.
- Parameters
-
[out] error Status of call.