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

Method GetGhostArray

Common/DataModel/vtkCellGrid.cxx:204–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204vtkUnsignedCharArray* vtkCellGrid::GetGhostArray(int type)
205{
206 vtkUnsignedCharArray* result = nullptr;
207 auto* dsa = this->FindAttributes(type);
208 if (!dsa)
209 {
210 return result;
211 }
212 result =
213 vtkArrayDownCast<vtkUnsignedCharArray>(dsa->GetArray(vtkDataSetAttributes::GhostArrayName()));
214 return result;
215}
216
217//------------------------------------------------------------------------------
218bool vtkCellGrid::SupportsGhostArray(int type)

Callers

nothing calls this directly

Calls 3

FindAttributesMethod · 0.95
GhostArrayNameFunction · 0.85
GetArrayMethod · 0.45

Tested by

no test coverage detected