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

Method GetBoundaryMode

Filters/Parallel/vtkDistributedDataFilter.cxx:143–159  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

141
142//------------------------------------------------------------------------------
143int vtkDistributedDataFilter::GetBoundaryMode()
144{
145 if (!this->IncludeAllIntersectingCells && !this->ClipCells)
146 {
147 return vtkDistributedDataFilter::ASSIGN_TO_ONE_REGION;
148 }
149 if (this->IncludeAllIntersectingCells && !this->ClipCells)
150 {
151 return vtkDistributedDataFilter::ASSIGN_TO_ALL_INTERSECTING_REGIONS;
152 }
153 if (this->IncludeAllIntersectingCells && this->ClipCells)
154 {
155 return vtkDistributedDataFilter::SPLIT_BOUNDARY_CELLS;
156 }
157
158 return -1;
159}
160
161//------------------------------------------------------------------------------
162

Callers 2

RedistributePTDMethod · 0.80
SplitDataSetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected