19 #ifndef GEOSX_MESH_CELLBLOCKMANAGER_H_ 20 #define GEOSX_MESH_CELLBLOCKMANAGER_H_ 27 namespace dataRepository
50 return "CellBlockManager";
69 virtual Group * CreateChild(
string const & childKey,
string const & childName )
override;
94 return this->GetGroup( dataRepository::keys::cellBlocks )->
GetGroup<
CellBlock >( regionName );
103 template<
typename LAMBDA >
106 Group * elementRegions = this->GetGroup( dataRepository::keys::cellBlocks );
The CellBlockManager class provides an interface to ObjectManagerBase in order to manage CellBlock da...
CellBlock * GetRegion(string const ®ionName)
Get element sub-region.
virtual void resize(localIndex const newSize)
Resize the group and all contained wrappers that resize with parent.
The ObjectManagerBase is the base object of all object managers in the mesh data hierachy.
void forElementSubRegions(LAMBDA lambda)
Launch kernel function over all the sub-regions.
virtual const string getCatalogName() const override final
Get the name of the catalog.
string const cellBlocks
String for cellBlocks.
static string CatalogName()
The function is to return the name of the CellBlockManager in the object catalog. ...
void forSubGroups(LAMBDA lambda)
Apply the given functor to subgroups that can be casted to one of specified types.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
T * GetGroup(localIndex index)
Retrieve a sub-group from the current Group using an index.