The boundary may be constructed from analytic shapes in SAMRAI, such as spheres and polygons. For information on the use of native analytic shapes in SAMRAI see the EmbeddedBoundaryShape, and the corresponding sphere and polygon shape classes. The boundary information can also be constructed through links to the Cubes or Eleven software. Cubes is a cutcell mesh generator that is part of the Cart3D software from NASA Ames. Eleven is a complex geometry meshing library that is part of the Overture software from LLNL. For information about these two libraries see the CubesPatchInterface and ElevenPatchInterface classes.
The class that manages the construction of the embedded boundary is the EmbeddedBoundaryGeometry class. See this class for information about different options to construct the boundary from the geometry input.