Skip to main content
Part of Data Accessor for indices in global vectors and matrices.

Public Types

Public Member Functions

Detailed Description

Accessor for indices in global vectors and matrices. Date 2012 This class provides methods which compute an index for scalar data being stored at either nodes, elements or integration points. The index refers to a global vector which collects the complete structural data (regardless part-instances, or free space in the element index space).
The structure must not be changed after creating the index relationships.

Constructor & Destructor Documentation

IndexMapper()

Analyzes the mesh, counts possible number of data sets and associates each node to the index in global data arrays. Parameters

Member Function Documentation

exists_element()

returns true if the given element is part of the index mapper It returns false, if the element is not allocated or was explicitly deactivated when creating the index mapper Parameters Returns true if it exists in the mapper

exists_grid()

returns true if the given node is part of the index mapper It returns false, if the node is not allocated or was explicitly deactivated when creating the index mapper Parameters Returns true if it exists in the mapper. False otherwise
FOR NOW; ALWAYS RETURNS TRUE

exists_intpt()

returns true if the given integration point is part of the index mapper It returns false, if the integration point is not allocated or was explicitly deactivated when creating the index mapper Parameters Returns true if it exists in the mapper

exists_node()

returns true if the given node is part of the index mapper It returns false, if the node is not allocated or was explicitly deactivated when creating the index mapper Parameters Returns true if it exists in the mapper

gridDimension()

Returns m_grid_dimension;

numElements()

Returns m_number_elements

numIntpts()

Returns m_number_intpts

numNodes()

Returns m_number_nodes