invert_TAM


Purpose

Swap ASET and OSET DOF in a TAM

Syntax

TAM = invert_TAM(TAM)

Description

INVERT_TAM inverts a TAM matrix to turn the ASET to OSET and the OSET to ASET. It does this by taking the pseudo-inverse of the constraint matrix. This assumes that the constraint matrix is invertible.

TAM is a structure containing at minimum the following fields:

.aset ASET (input) DOF
.oset OSET (output) DOF
.constraint Back expansion matrix