Return to the region documentation.
style cylinder
Purpose
style cylinder is used to generate a cylindrical region.
Syntax
region id my_cylinder style cylinder center_bottom (x_min, y_min, z_min) center_top (x_max, y_max, z_max) radius r keyword value
Keyword |
Description |
|---|---|
center_bottom |
obligatory vector of center at bottom of cylinder
units: [length]
|
center_top |
obligatory vector of center at top of cylinder
units: [length]
|
radius |
obligatory, radius of the cylinder
range: (0,∞); units: [length]
|
General keywords of the region command |
Examples
region id my_cylinder style cylinder center_bottom (0, 0, 1) center_top (0.1, 0.1, 1) radius 2 units box
region id my_cylinder style cylinder center_bottom (0, 1, 0) center_top (0, INF, 0) radius 1.5
region id my_cylinder style cylinder center_bottom (0, 1, 0) center_top (0, EDGE, 0) radius 2