Domain.dim
From Nemesis
(Difference between revisions)
m |
|||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{lowercase}} | ||
The following article describes the use of the <tt>node.dim</tt> command. | The following article describes the use of the <tt>node.dim</tt> command. | ||
This command is used to set the domain's dimensions. | This command is used to set the domain's dimensions. | ||
=Syntax= | =Syntax= | ||
| − | domain.dim(n) | + | domain.dim(''n'') |
| − | + | where | |
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" | {| 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" | |- bgcolor="#CCCCCC" align="center" | ||
| Line 13: | Line 14: | ||
!width="150"|default | !width="150"|default | ||
|- | |- | ||
| − | |n | + | |''n'' || The domain's dimensions ||align="center"| integer ||align="center"|- |
|} | |} | ||
=Examples= | =Examples= | ||
Create a three-dimensional domain. | Create a three-dimensional domain. | ||
| − | domain.dim( 3) | + | domain.dim(3) |
=Comments= | =Comments= | ||
Latest revision as of 12:26, 7 February 2007
- The correct title of this article is domain.dim. The initial letter is shown capitalized due to technical restrictions.
The following article describes the use of the node.dim command. This command is used to set the domain's dimensions.
Contents |
[edit] Syntax
domain.dim(n)
where
| Parameter | description | type | default |
|---|---|---|---|
| n | The domain's dimensions | integer | - |
[edit] Examples
Create a three-dimensional domain.
domain.dim(3)
[edit] Comments
The only valid values are 1, 2 and 3.
[edit] See also
- domain module.
- User guide.