Node.add

From Nemesis
(Difference between revisions)
Jump to: navigation, search
(Parameters)
(Parameters)
Line 6: Line 6:
  
 
=Parameters=
 
=Parameters=
{| class="wikitable" style="text-align:left"
+
{| 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  

Revision as of 23:49, 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.)

Comments

See also

Personal tools