MCPcopy Create free account
hub / github.com/Kitware/VTK / GetElementBlock

Method GetElementBlock

IO/IOSS/vtkIOSSCellGridReaderInternal.cxx:113–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113std::vector<vtkSmartPointer<vtkCellGrid>> vtkIOSSCellGridReaderInternal::GetElementBlock(
114 const std::string& blockName, vtkIOSSReader::EntityType vtk_entity_type,
115 const DatabaseHandle& handle, int timestep, vtkIOSSCellGridReader* self)
116{
117 (void)vtk_entity_type;
118 auto region = this->GetRegion(handle);
119 auto group_entity = region->get_entity(blockName, Ioss::EntityType::ELEMENTBLOCK);
120 if (!group_entity)
121 {
122 throw std::runtime_error("No group entity for element block.");
123 }
124
125 return this->GetElementBlock(blockName, group_entity, handle, timestep, self);
126}
127
128std::vector<vtkSmartPointer<vtkCellGrid>> vtkIOSSCellGridReaderInternal::GetElementBlock(
129 const std::string& blockName, const Ioss::GroupingEntity* group_entity,

Callers 2

GetCellGridsMethod · 0.95
GetSideSetMethod · 0.95

Calls 15

ApplyDisplacementsMethod · 0.95
GetNodalAttributesMethod · 0.95
GetElementAttributesMethod · 0.95
GetCellMetadataFunction · 0.85
AddCellMetadataMethod · 0.80
GetApplyDisplacementsMethod · 0.80
GetConnectivityFunction · 0.70
GetShapeFunction · 0.70
NewFunction · 0.50
stringClass · 0.50
GetRegionMethod · 0.45

Tested by

no test coverage detected