Node.add
From Nemesis
(Difference between revisions)
(→Parameters) |
(→See also) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 6: | Line 6: | ||
=Parameters= | =Parameters= | ||
| − | {| | + | {| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" |
| + | |- bgcolor="#CCCCCC" align="center" | ||
!width="150"|Parameter | !width="150"|Parameter | ||
!width="150"|description | !width="150"|description | ||
| Line 32: | Line 33: | ||
=See also= | =See also= | ||
| + | *[[node]] module. | ||
| + | *[[User guide]]. | ||
| − | [[Category: | + | [[Category:User guide]] |
Latest 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 |
[edit] Syntax
node.add(id,x,y,z)
[edit] Parameters
| Parameter | description | type | default |
|---|---|---|---|
| id | The nodal id | integer | - |
| x | x coordinate | integer | - |
| y | y coordinate | integer | 0. |
| z | z coordinate | integer | 0. |
[edit] 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.)
[edit] Comments
[edit] See also
- node module.
- User guide.