SPPARKS Website - SPPARKS Documentation - SPPARKS Commands

dimension command

Syntax:

dimension N 

Examples:

dimension 2 

Description:

Set the dimensionality of the simulation for spatial on-lattice or off-lattice models. By default SPPARKS runs 3d simulations. To run a 1d or 2d simulation, this command should be used prior to setting up a simulation box via the create_box or read_sites commands.

Restrictions:

This command must be used before the simulation box is defined by a read_sites or create_box command.

Related commands: none

Default:

dimension 3