Node.add
From Nemesis
(Difference between revisions)
(→Parameters) |
|||
| Line 1: | Line 1: | ||
| − | |||
The following article describes the use of the <tt>node.add</tt> command. | The following article describes the use of the <tt>node.add</tt> command. | ||
This command is used to introduce a new node to the domain. | This command is used to introduce a new node to the domain. | ||
Revision as of 22:22, 10 January 2007
The following article describes the use of the node.add command. This command is used to introduce a new node to the domain.
Contents |
Syntax
node.add(id,x,y,z)
Parameters
| Parameter | description | type | default |
|---|---|---|---|
| id | The nodal id | integer | - |
| x | x coordinate | integer | - |
| y | y coordinate | integer | 0. |
| z | z coordinate | integer | 0. |
Examples
Create node with id 7 at (3., 0., 0.).
node.add( 7, 3.)
Create node with id 7 at (3., 45., 0.).
node.add( 7, 3., 45.)
Create node with id 7 at (3., 45., 21.).
node.add( 7, 3., 45., 21.)