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

Method GetGhostArray

Common/DataModel/vtkDataSet.cxx:1028–1043  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1026
1027//------------------------------------------------------------------------------
1028vtkUnsignedCharArray* vtkDataSet::GetGhostArray(int attributeType)
1029{
1030 if (attributeType == POINT)
1031 {
1032 return this->GetPointGhostArray();
1033 }
1034 else if (attributeType == CELL)
1035 {
1036 return this->GetCellGhostArray();
1037 }
1038 else
1039 {
1040 vtkErrorMacro("Invalid attribute type for ghost arrays: " << attributeType);
1041 return nullptr;
1042 }
1043}
1044
1045//------------------------------------------------------------------------------
1046bool vtkDataSet::SupportsGhostArray(int type)

Callers 15

WriteDataMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
RemoveGhostCellsMethod · 0.45
ComputeScalarRangeMethod · 0.45
GetPointGhostArrayMethod · 0.45
GetCellGhostArrayMethod · 0.45
GetRangeImplFunction · 0.45
CloneGridFunction · 0.45

Calls 2

GetPointGhostArrayMethod · 0.95
GetCellGhostArrayMethod · 0.95

Tested by 15

PointMatchingWorkerMethod · 0.36
TestFieldDataFunction · 0.36
TestFieldDataFailuresFunction · 0.36
TestMethod · 0.36
ValidateDatasetFunction · 0.36
TestGenerateGlobalIdsFunction · 0.36
Test3DGridsFunction · 0.36
TestCellCentersFunction · 0.36
TestUseCacheFunction · 0.36