imat_group/imat_group


Purpose

Create an IMAT_GROUP object.

Syntax

group=imat_group
group=imat_group(N)
group=imat_group(S)
group=imat_group(T)

Description

The IMAT_GROUP class contains FEM group entity information. It provides a number of methods for working with the data.

IMAT_GROUP with no arguments will create a scalar IMAT_GROUP object with no entities. IMAT_GROUP(N), where N is an Nx2 matrix containing the entity information (ID in column 1, type in column 2), will create an IMAT_GROUP with the supplied entities.

IMAT_GROUP(S), where S is a structure containing fields with the same name as the properties of IMAT_GROUP, will convert the structure into an IMAT_GROUP object.

IMAT_GROUP(T), where T is an IMAT_CTRACE, will create a group from the entities in T. Entities with cartesian coordinates (X through RZ) are assumed to be nodes, and all others are assumed to be unknown.

The IMAT_GROUP object contains several properties that define the group entities:

.id Group ID (numeric scalar)
.name Group name (string up to 80 characters)
.data Nx2 matrix of entity IDs (column 1) and their associated entity types (column 2). The rows (combination of ID and entity type) must be unique.
.type Read-only property that returns a structure that defines the numeric data type for each supported entity type