11.01.2013 Views

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MERGE<br />

Matrix merge<br />

Let [A] be an m by n matrix, {CP} be an nx1 vector containing q zero elements; and<br />

{RP} be a mx1 vector containing p zero elements.Partition [A11] will consist of all<br />

elements A ij of [A] for which CP j = RP i = 0.0 in the same order as they appear in<br />

[A]. Partition [A12] will consist of all elements A ij of [A] for which CP j ≠ 0.0 and<br />

RP i = 0.0 in the same order as they appear in [A]. Partition [A21] will consist of all<br />

elements A ij of [A] for which CP j = 0.0 and RP i ≠ 0.0 in the same order as they<br />

appear in [A]. The following describes the operations:<br />

Let NC = number of nonzero terms in {CP}.<br />

NR = number of nonzero terms in {RP}.<br />

NROWA = number of rows in [A].<br />

NCOLA = number of columns in [A].<br />

Case 1: {CP} is purged and SYM ≥ 0:<br />

MERGE A11,A21,,,,RP/A/1 $<br />

[A11] is a (NROWA-NR) by NCOLA matrix.<br />

[A21] is a NR by NCOLA matrix.<br />

[A12] is not written.<br />

[A22] is not written.<br />

Case 2: (RP) is purged and SYM ≥ 0:<br />

MERGE A11,,A12,,CP,/A/1 $<br />

[A11] is a NROWA by (NCOLA - NC) matrix.<br />

[A21] is not written.<br />

[A12] is a NROWA by NC matrix.<br />

[A22] is not written.<br />

Case 3: {RP} is purged and SYM < 0:<br />

MERGE A11,A21,A12,A22,CP,/A $<br />

[A11] is a (NROWA-NC) by (NCOLA-NC) matrix.<br />

[A21] is a NC by (NCOLA – NC) matrix.<br />

[A12] is a (NROWA – NR) by NC matrix.<br />

[A22] is a NC by NC matrix.<br />

A11<br />

A21<br />

A11 A12<br />

→ [ A]<br />

A11 A12<br />

A21 A22<br />

→ [ A]<br />

→<br />

[ A]<br />

119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!