simulation_domain command

Purpose

Command to define the simulation box

Note

This command is supported by Aspherix GPU.

Syntax

simulation_domain low (x_lower, y_lower, z_lower) high (x_upper, y_upper, z_upper)

or, alternatively,

simulation_domain xlo x_lower xhi x_upper ylo y_lower yhi y_upper zlo z_lower zhi z_upper
  • low, high, xlo, xhi, ylo, yhi, zlo, zhi are keywords

  • x_lower, x_upper, y_lower, y_upper, z_lower, z_upper are values

x_lower = lower bound of simulation box in x-direction
x_upper = upper bound of simulation box in x-direction
y_lower = lower bound of simulation box in y-direction
y_upper = upper bound of simulation box in y-direction
z_lower = lower bound of simulation box in z-direction
z_upper = upper bound of simulation box in z-direction

Optional keyword:

Keywords

Description

volume_limit

minimal volume of the region used for sanity checks (distance^3 units)
default: 1e-10; range: (0,1e-10); units: [length^3]

Examples

simulation_domain low (0.0, 0.0, -1.0) high (1.0, 0.2, 10.0)
simulation_domain xlo 0.0 xhi 1.0 ylo 0.0 yhi 0.2 zlo -1.0 zhi 10.0

Description

This command defines a cuboid region of space in which the simulation is be performed.

NOTE: This command creates a region with the id simulation_domain_region_

This command adds a small margin (1e-10) to each boundary to avoid numerical roundoff. If the simulation domain is set to be periodic in any dimension using the boundary_conditions command, no margin is added in that dimension.

The volume_limit can be used to override a default sanity check for volumes, which is automatically set to the minimum value of 1e-10 and the volume of the simulation domain.

Note

The margin for periodic domains is only omitted if the boundary_conditions command is issued before simulation_domain.

Restrictions

None

Default

None