Defining shapes in 2D and 3D simulations#

Last update: 2026-04-21

Tags: status:under_development


Files for the tutorial located in nextnano++\examples\basics
  • shapes_2D.nnp

  • shapes_3D.nnp


See structure{ region{} } - shape objects for reference on related keywords.

../../_images/tu_shapes_2D.png

Figure 29 Shapes available for 2D simulations, from left to right: rectangle, circle, trapezoid, semielipse, triangle, polygon, regular polygon, and hexagon.#

../../_images/tu_shapes_3D.png

Figure 30 Shapes available for 3D simulations, from left to right: cuboid, sphere, cylinder, obelisk, hexagon obelisk, semielipsoid, cone, polygonal prism, regular prism, hexagonal prism, polygonal pyramid, regular pyramid, hexagonal pyramid, and pyramid.#