Swap ASET and OSET DOF in a TAM
TAM = invert_TAM(TAM)
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 |