Return to the region documentation.
style sphere
Purpose
style sphere is used to generate a spherical region.
Syntax
region id my_sphere style sphere center (x_c, y_c, z_c) radius r keyword value
Keyword |
Description |
|---|---|
center |
obligatory vector of center of sphere
units: [length]
|
radius |
obligatory, radius of sphere
units: [length]
|
General keywords of the region command |
Examples
region id my_sphere style sphere center (0, 2, 3) radius 3.14 side out
region id my_sphere2 style sphere center (0.0, 0.0, 0.0) radius 5 side out translate (v_left, 1., 0.)