exists_element (uint part_idx, uint element_idx) returns true if the given element is part of the index mapper
bool
exists_grid (uint x, uint y, uint z) returns true if the given node is part of the index mapper
bool
exists_intpt (uint part_idx, uint element_idx, uint intpt_idx) returns true if the given integration point is part of the index mapper
bool
exists_node (uint part_idx, uint node_idx) 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
IndexMapper (MeshAssembly assembly, groups::NodeSet *nodes=0, groups::ElementSet *elements=0) Analyzes the mesh, counts possible number of data sets and associates each node to the index in global data arrays.
Accessor for indices in global vectors and matrices.Date2012 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.
returns true if the given element is part of the index mapperIt returns false, if the element is not allocated or was explicitly deactivated when creating the index mapperParameters
Name
Description
part_idx
the index of the part
element_idx
the index of the element in the part
Returnstrue if it exists in the mapper
exists_grid()
bool exists_grid( uint x, uint y, uint z)
returns true if the given node is part of the index mapperIt returns false, if the node is not allocated or was explicitly deactivated when creating the index mapperParameters
Name
Description
x
the 1st node index in grid
y
the 2nd node index in grid
z
the 3rd node index in grid
Returnstrue if it exists in the mapper. False otherwise
returns true if the given integration point is part of the index mapperIt returns false, if the integration point is not allocated or was explicitly deactivated when creating the index mapperParameters
Name
Description
part_idx
the index of the part
element_idx
the index of the element in the part
intpt_idx
the index of the integration point in the element
Returnstrue if it exists in the mapper
exists_node()
bool exists_node( uint part_idx, uint node_idx)
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 mapperParameters
Name
Description
part_idx
the index of the part
node_idx
the index of the node in the part
Returnstrue if it exists in the mapper
gridDimension()
Eigen::Vector3i gridDimension() const
Returnsm_grid_dimension;
numElements()
index_type numElements()
Returnsm_number_elements
numIntpts()
index_type numIntpts()
Returnsm_number_intpts
numNodes()
index_type numNodes()
Returnsm_number_nodes
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.