20 #ifndef GEOS_MESH_CELLELEMENTREGION_HPP_ 
   21 #define GEOS_MESH_CELLELEMENTREGION_HPP_ 
   23 #include "ElementRegionBase.hpp" 
   71   { 
return "CellElementRegion"; }
 
   93   { 
return m_cellBlockNames; }
 
  101     m_cellBlockNames.emplace_back( cellBlockName );
 
  108   template< 
typename StringContainerType >
 
  111     m_cellBlockNames.clear();
 
  112     for( 
auto const & name: cellBlockNames )
 
  114       m_cellBlockNames.emplace_back( name );
 
  148   std::set< string > computeSelectedCellBlocks( std::set< string > 
const & cellBlocksNames ) 
const;
 
void addCellBlockName(string const &cellBlockName)
Select a cellBlock by its name for generateMesh().
 
string_array const  & getCellBlockNames() const
 
void setCellBlockNames(StringContainerType const &cellBlockNames)
Select cellBlocks by their names for generateMesh().
 
static string catalogName()
The key name for the FaceElementRegion in the object catalog.
 
virtual string getCatalogName() const override final
The key name for the FaceElementRegion in the object catalog.
 
virtual void generateMesh(Group const &cellBlocks) override
register every cellBlocks that is requested in the cellBlockNames list.
 
CellElementRegion(string const &name, Group *const parent)
Constructor.
 
CellElementRegion()=delete
Deleted default constructor.
 
virtual ~CellElementRegion() override
Destructor.
 
The ElementRegionBase is the base class to manage the data stored at the element level.
 
stdVector< string > string_array
A 1-dimensional array of geos::string types.
 
A struct to serve as a container for variable strings and keys.
 
static constexpr char const  * sourceCellBlockNamesString()
 
Struct to serve as a container for variable strings and keys.