Node.add
From Nemesis
(Difference between revisions)
(→Parameters) |
(→See also) |
||
| Line 33: | Line 33: | ||
=See also= | =See also= | ||
| + | *[[user guide]]. | ||
| + | *[[node]] module. | ||
| − | [[Category: | + | [[Category:User guide]] |
Revision as of 17:49, 11 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.)
Comments
See also
- user guide.
- node module.