NEC-LIST: GM + SP card question

From: <4nec2_at_email.domain.hidden>
Date: Mon, 14 Dec 2009 07:13:11 -0500

Hello..,

When looking in the Nec2 user-manual at the description of the 'ITS'
argument for the GM command, the below is described:

ITS (F7) - This number is input as a decimal number but is
             rounded to an integer before use. Tag numbers are
             searched sequentially until a segment having a tag of
             ITS is found. The part of the structure composed of
             this segment through the end of the sequence of segments
             is moved by the card. If ITS is blank (usual case)
             or zero, the entire structure is moved.

When running below Nec2 example (and looking at the generated Nec2 output
data) it seems all SP cards are copied because of the second GM command,
and not only the second surface-patch which is described after the GW card
having a tag of 100, as used as the ITS argument in the second GM card.

CE
SP, 0, 3, 1, 0.5, 0, 2, 0.5, 0 ' First surface-patch
SC, 0, -1, 2, 1, 0, 1, 1, 0
GW, 100, 1, 1, 1.2, 0, 1.2, 1.2, 0, 1e-3 ' Dummy wire tag 100
SP, 0, 3, 1.5, 2, 0, 2, 2, 0 ' Second surface-patch
SC, 0, -1, 2, 3, 0, 1.5, 3, 0
GM, 0, 0, 0, 0, 0, 0, 1, 0 ' Move whole structure
GM, 1, 4, 0, 0, 0, 2, 0, 0, 100 ' Copy 4 times from tag 100
GE, 0
FR, 0, 0, 0, 0, 100, 0
EN

The output data lists the below

TOTAL SEGMENTS USED= 5 NO. SEG. IN A SYMMETRIC CELL= 5
TOTAL PATCHES USED= 10 NO. PATCHES IN A SYMMETRIC CELL= 1

When looking at the GM card ITS description, I would have expected a
total of 1 + 5*1 = 6 patches instead of 10

What is it that I do (yet) not see/understand ?

Thanks for any feedback or comments about this,
Arie.

-- 
(Please ignore the advertisements below)
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
-- 
The NEC-List mailing list
NEC-List_at_robomod.net
http://www.robomod.net/mailman/listinfo/nec-list
Received on Mon Dec 14 2009 - 12:11:56 EST

This archive was generated by hypermail 2.2.0 : Sat Oct 02 2010 - 00:10:46 EDT