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.

Parameters:<br />

P2 Order of matrix.<br />

P3 Skew flag. If nonzero, generate a skew-diagonal matrix.<br />

P4 Precision (1 or 2). If zero, use machine precision.<br />

Example:<br />

Generate a real 10 x 10 identity matrix:<br />

MATGEN ,/I10X10/1/10 $<br />

Option P1 = 2<br />

Generates an identity matrix trailer.<br />

Format:<br />

MATGEN ,/MAT/2/P2 $<br />

Input Data Blocks:<br />

None.<br />

Output Data Block:<br />

MAT Real identity matrix. See Remarks.<br />

Parameters<br />

P2 Order of matrix.<br />

MATGEN<br />

Matrix generator<br />

This option differs from P1 = 1 in that only the trailer is generated (form = 8) and the<br />

matrix is not actually generated. Only certain <strong>DMAP</strong> modules are prepared to accept<br />

this form (e.g., MPYAD, FBS, CEAD). P1 = 1 is the preferred option.<br />

Example:<br />

Generate a real 10 x 10 identity matrix trailer:<br />

MATGEN ,/TI10X10/2/10 $<br />

Option P1 = 3<br />

Generate a data block of prescribed size.<br />

Format:<br />

MATGEN ,/DB/3/P2 $<br />

112

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

Saved successfully!

Ooh no, something went wrong!