Workspace 6.21.5
Functions
CSIRO::Mesh::MultiElementTypeHelper Namespace Reference

Helper functions for dealing with multiple element types.

Functions

ElementTypeToState getStateHandles (const MeshModelInterface &interface, const QString &name, const ElementType::List &elementTypes)
 

Function Documentation

◆ getStateHandles()

ElementTypeToState getStateHandles ( const MeshModelInterface interface,
const QString &  name,
const ElementType::List elementTypes 
)
Parameters
interfaceThe interface to get the element state handles from
nameFilter all states by this name, an empty string will result in no filtering
elementTypesFilter all states by these element types, an empty list will result in no filtering
Returns
A map (Element::Type, ElementStateHandle) of all states that exist with the given name for Element::Types listed in elementTypes.