/dports/math/vtk6/VTK-6.2.0/Filters/AMR/Testing/Cxx/ |
H A D | TestAMRGhostLayerStripping.cxx | 117 (cellIdx >= 0) && (cellIdx < grid->GetNumberOfCells())); in ComputeCellCenter() 119 vtkCell *myCell = grid->GetCell( cellIdx ); in ComputeCellCenter() 127 (!grid->IsCellVisible(cellIdx)) ) in ComputeCellCenter() 129 grid->UnBlankCell( cellIdx ); in ComputeCellCenter() 130 myCell = grid->GetCell(cellIdx); in ComputeCellCenter() 142 grid->BlankCell( cellIdx ); in ComputeCellCenter() 173 vtkIdType cellIdx = 0; in GeneratePulseField() local 174 for(; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in GeneratePulseField() 176 ComputeCellCenter(grid,cellIdx,centroid); in GeneratePulseField() 363 vtkIdType cellIdx = 0; in CheckFields() local [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/quest/detail/ |
H A D | PointFinder.hpp | 120 for(IndexType cellIdx = candidates.find_first(); in locatePoint() local 121 !foundContainingCell && cellIdx != BitsetType::npos; in locatePoint() 122 cellIdx = candidates.find_next(cellIdx)) in locatePoint() 125 if(cellBoundingBox(cellIdx).contains(pt)) in locatePoint() 128 if(m_meshWrapper->locatePointInCell(cellIdx, pt.data(), isopar.data())) in locatePoint() 132 containingCell = cellIdx; in locatePoint() 147 const SpatialBoundingBox& cellBoundingBox(IndexType cellIdx) const in cellBoundingBox() 149 return m_cellBBoxes[cellIdx]; in cellBoundingBox()
|
/dports/math/vtk8/VTK-8.2.0/Filters/AMR/Testing/Cxx/ |
H A D | TestAMRGhostLayerStripping.cxx | 117 (cellIdx >= 0) && (cellIdx < grid->GetNumberOfCells())); in ComputeCellCenter() 156 vtkIdType cellIdx = 0; in GeneratePulseField() local 157 for(; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in GeneratePulseField() 159 ComputeCellCenter(grid,cellIdx,centroid); in GeneratePulseField() 160 centroidArray->SetComponent(cellIdx,0,centroid[0]); in GeneratePulseField() 161 centroidArray->SetComponent(cellIdx,1,centroid[1]); in GeneratePulseField() 162 centroidArray->SetComponent(cellIdx,2,centroid[2]); in GeneratePulseField() 166 pulseField->SetComponent(cellIdx,0,pulse); in GeneratePulseField() 346 vtkIdType cellIdx = 0; in CheckFields() local 347 for(; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in CheckFields() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Filters/AMR/Testing/Cxx/ |
H A D | TestAMRGhostLayerStripping.cxx | 112 "pre: cell index is out-of-bounds!" && (cellIdx >= 0) && (cellIdx < grid->GetNumberOfCells())); in ComputeCellCenter() 115 vtkCell* myCell = grid->vtkImageData::GetCell(cellIdx); in ComputeCellCenter() 150 vtkIdType cellIdx = 0; in GeneratePulseField() local 151 for (; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in GeneratePulseField() 153 ComputeCellCenter(grid, cellIdx, centroid); in GeneratePulseField() 154 centroidArray->SetComponent(cellIdx, 0, centroid[0]); in GeneratePulseField() 155 centroidArray->SetComponent(cellIdx, 1, centroid[1]); in GeneratePulseField() 159 pulseField->SetComponent(cellIdx, 0, pulse); in GeneratePulseField() 336 vtkIdType cellIdx = 0; in CheckFields() local 337 for (; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in CheckFields() [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/quest/ |
H A D | PointInCell.hpp | 216 bool locatePointInCell(IndexType cellIdx, const double* pos, double* isopar) const in locatePointInCell() argument 219 if(!withinBoundingBox(cellIdx, pos)) in locatePointInCell() 224 return m_meshWrapper.locatePointInCell(cellIdx, pos, isopar); in locatePointInCell() 235 void reconstructPoint(IndexType cellIdx, const double* isopar, double* pos) const in reconstructPoint() argument 237 m_meshWrapper.reconstructPoint(cellIdx, isopar, pos); in reconstructPoint() 251 bool withinBoundingBox(IndexType cellIdx, const double* pos) const in withinBoundingBox() argument 259 return m_pointFinder2D->cellBoundingBox(cellIdx).contains(Point2D(pos)); in withinBoundingBox() 261 return m_pointFinder3D->cellBoundingBox(cellIdx).contains(Point3D(pos)); in withinBoundingBox()
|
/dports/math/vtk8/VTK-8.2.0/Filters/Geometry/Testing/Cxx/ |
H A D | TestUniformGridGhostDataGenerator.cxx | 98 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in CheckCellFieldsForGrid() local 100 vtkCell *c = grid->GetCell( cellIdx ); in CheckCellFieldsForGrid() 122 centroid[i],array->GetComponent(cellIdx,i)) ) in CheckCellFieldsForGrid() 239 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in AddCellCenteredXYZField() local 241 vtkCell *c = grid->GetCell( cellIdx ); in AddCellCenteredXYZField() 260 cellXYZArray->SetComponent( cellIdx, 0, centroid[0] ); in AddCellCenteredXYZField() 261 cellXYZArray->SetComponent( cellIdx, 1, centroid[1] ); in AddCellCenteredXYZField() 262 cellXYZArray->SetComponent( cellIdx, 2, centroid[2] ); in AddCellCenteredXYZField()
|
H A D | TestStructuredGridGhostDataGenerator.cxx | 129 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in CheckCellFieldsForGrid() local 132 grid->GetCellPoints(cellIdx,nodeIds); in CheckCellFieldsForGrid() 153 centroid[i],array->GetComponent(cellIdx,i)) ) in CheckCellFieldsForGrid() 156 std::cout << array->GetComponent(cellIdx,i); in CheckCellFieldsForGrid() 260 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in AddCellCenteredXYZField() local 262 vtkCell *c = grid->GetCell( cellIdx ); in AddCellCenteredXYZField() 281 cellXYZArray->SetComponent( cellIdx, 0, centroid[0] ); in AddCellCenteredXYZField() 282 cellXYZArray->SetComponent( cellIdx, 1, centroid[1] ); in AddCellCenteredXYZField() 283 cellXYZArray->SetComponent( cellIdx, 2, centroid[2] ); in AddCellCenteredXYZField()
|
/dports/math/vtk6/VTK-6.2.0/Filters/Geometry/Testing/Cxx/ |
H A D | TestUniformGridGhostDataGenerator.cxx | 99 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in CheckCellFieldsForGrid() local 101 vtkCell *c = grid->GetCell( cellIdx ); in CheckCellFieldsForGrid() 123 centroid[i],array->GetComponent(cellIdx,i)) ) in CheckCellFieldsForGrid() 240 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in AddCellCenteredXYZField() local 242 vtkCell *c = grid->GetCell( cellIdx ); in AddCellCenteredXYZField() 261 cellXYZArray->SetComponent( cellIdx, 0, centroid[0] ); in AddCellCenteredXYZField() 262 cellXYZArray->SetComponent( cellIdx, 1, centroid[1] ); in AddCellCenteredXYZField() 263 cellXYZArray->SetComponent( cellIdx, 2, centroid[2] ); in AddCellCenteredXYZField()
|
H A D | TestStructuredGridGhostDataGenerator.cxx | 129 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in CheckCellFieldsForGrid() local 132 grid->GetCellPoints(cellIdx,nodeIds); in CheckCellFieldsForGrid() 153 centroid[i],array->GetComponent(cellIdx,i)) ) in CheckCellFieldsForGrid() 156 std::cout << array->GetComponent(cellIdx,i); in CheckCellFieldsForGrid() 260 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in AddCellCenteredXYZField() local 262 vtkCell *c = grid->GetCell( cellIdx ); in AddCellCenteredXYZField() 281 cellXYZArray->SetComponent( cellIdx, 0, centroid[0] ); in AddCellCenteredXYZField() 282 cellXYZArray->SetComponent( cellIdx, 1, centroid[1] ); in AddCellCenteredXYZField() 283 cellXYZArray->SetComponent( cellIdx, 2, centroid[2] ); in AddCellCenteredXYZField()
|
/dports/math/vtk8/VTK-8.2.0/Filters/AMR/ |
H A D | vtkAMRGaussianPulseSource.cxx | 68 vtkUniformGrid *grid, vtkIdType cellIdx, double centroid[3] ) in ComputeCellCenter() argument 72 (cellIdx >= 0) && (cellIdx < grid->GetNumberOfCells())); in ComputeCellCenter() 74 vtkCell *myCell = grid->GetCell( cellIdx ); in ComputeCellCenter() 101 vtkIdType cellIdx = 0; in GeneratePulseField() local 102 for(; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in GeneratePulseField() 104 this->ComputeCellCenter(grid,cellIdx,centroid); in GeneratePulseField() 105 centroidArray->SetComponent(cellIdx,0,centroid[0]); in GeneratePulseField() 106 centroidArray->SetComponent(cellIdx,1,centroid[1]); in GeneratePulseField() 107 centroidArray->SetComponent(cellIdx,2,centroid[2]); in GeneratePulseField() 110 pulseField->SetComponent(cellIdx,0,pulse); in GeneratePulseField()
|
/dports/math/vtk9/VTK-9.1.0/Filters/ParallelDIY2/Testing/Cxx/ |
H A D | TestUniformGridGhostDataGenerator.cxx | 94 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in CheckCellFieldsForGrid() local 96 vtkCell* c = grid->GetCell(cellIdx); in CheckCellFieldsForGrid() 117 if (!vtkMathUtilities::FuzzyCompare(centroid[i], array->GetComponent(cellIdx, i))) in CheckCellFieldsForGrid() 232 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in AddCellCenteredXYZField() local 234 vtkCell* c = grid->GetCell(cellIdx); in AddCellCenteredXYZField() 253 cellXYZArray->SetComponent(cellIdx, 0, centroid[0]); in AddCellCenteredXYZField() 254 cellXYZArray->SetComponent(cellIdx, 1, centroid[1]); in AddCellCenteredXYZField() 255 cellXYZArray->SetComponent(cellIdx, 2, centroid[2]); in AddCellCenteredXYZField()
|
H A D | TestStructuredGridGhostDataGenerator.cxx | 123 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in CheckCellFieldsForGrid() local 126 grid->GetCellPoints(cellIdx, nodeIds); in CheckCellFieldsForGrid() 146 if (!vtkMathUtilities::FuzzyCompare(centroid[i], array->GetComponent(cellIdx, i))) in CheckCellFieldsForGrid() 149 std::cout << array->GetComponent(cellIdx, i); in CheckCellFieldsForGrid() 249 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in AddCellCenteredXYZField() local 251 vtkCell* c = grid->GetCell(cellIdx); in AddCellCenteredXYZField() 270 cellXYZArray->SetComponent(cellIdx, 0, centroid[0]); in AddCellCenteredXYZField() 271 cellXYZArray->SetComponent(cellIdx, 1, centroid[1]); in AddCellCenteredXYZField() 272 cellXYZArray->SetComponent(cellIdx, 2, centroid[2]); in AddCellCenteredXYZField()
|
H A D | TestPStructuredGridGhostDataGenerator.cxx | 149 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in AddCellCenteredXYZField() local 151 vtkCell* c = grid->GetCell(cellIdx); in AddCellCenteredXYZField() 170 cellXYZArray->SetComponent(cellIdx, 0, centroid[0]); in AddCellCenteredXYZField() 171 cellXYZArray->SetComponent(cellIdx, 1, centroid[1]); in AddCellCenteredXYZField() 172 cellXYZArray->SetComponent(cellIdx, 2, centroid[2]); in AddCellCenteredXYZField() 223 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in CheckCellFieldsForGrid() local 226 grid->GetCellPoints(cellIdx, nodeIds); in CheckCellFieldsForGrid() 247 if (!vtkMathUtilities::FuzzyCompare(centroid[i], array->GetComponent(cellIdx, i))) in CheckCellFieldsForGrid() 250 std::cout << array->GetComponent(cellIdx, i); in CheckCellFieldsForGrid()
|
H A D | TestPUniformGridGhostDataGenerator.cxx | 123 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in AddCellCenteredXYZField() local 125 vtkCell* c = grid->GetCell(cellIdx); in AddCellCenteredXYZField() 144 cellXYZArray->SetComponent(cellIdx, 0, centroid[0]); in AddCellCenteredXYZField() 145 cellXYZArray->SetComponent(cellIdx, 1, centroid[1]); in AddCellCenteredXYZField() 146 cellXYZArray->SetComponent(cellIdx, 2, centroid[2]); in AddCellCenteredXYZField() 196 for (vtkIdType cellIdx = 0; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in CheckCellFieldsForGrid() local 198 vtkCell* c = grid->GetCell(cellIdx); in CheckCellFieldsForGrid() 219 if (!vtkMathUtilities::FuzzyCompare(centroid[i], array->GetComponent(cellIdx, i))) in CheckCellFieldsForGrid()
|
/dports/math/vtk9/VTK-9.1.0/Filters/AMR/ |
H A D | vtkAMRGaussianPulseSource.cxx | 63 vtkUniformGrid* grid, vtkIdType cellIdx, double centroid[3]) in ComputeCellCenter() argument 67 "pre: cell index is out-of-bounds!" && (cellIdx >= 0) && (cellIdx < grid->GetNumberOfCells())); in ComputeCellCenter() 69 vtkCell* myCell = grid->GetCell(cellIdx); in ComputeCellCenter() 95 vtkIdType cellIdx = 0; in GeneratePulseField() local 96 for (; cellIdx < grid->GetNumberOfCells(); ++cellIdx) in GeneratePulseField() 98 this->ComputeCellCenter(grid, cellIdx, centroid); in GeneratePulseField() 99 centroidArray->SetComponent(cellIdx, 0, centroid[0]); in GeneratePulseField() 100 centroidArray->SetComponent(cellIdx, 1, centroid[1]); in GeneratePulseField() 101 centroidArray->SetComponent(cellIdx, 2, centroid[2]); in GeneratePulseField() 104 pulseField->SetComponent(cellIdx, 0, pulse); in GeneratePulseField()
|
/dports/math/vtk6/VTK-6.2.0/Filters/AMR/ |
H A D | vtkAMRGaussianPulseSource.cxx | 71 vtkUniformGrid *grid, vtkIdType cellIdx, double centroid[3] ) in ComputeCellCenter() argument 75 (cellIdx >= 0) && (cellIdx < grid->GetNumberOfCells())); in ComputeCellCenter() 77 vtkCell *myCell = grid->GetCell( cellIdx ); in ComputeCellCenter() 104 vtkIdType cellIdx = 0; in GeneratePulseField() local 105 for(; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in GeneratePulseField() 107 this->ComputeCellCenter(grid,cellIdx,centroid); in GeneratePulseField() 108 centroidArray->SetComponent(cellIdx,0,centroid[0]); in GeneratePulseField() 109 centroidArray->SetComponent(cellIdx,1,centroid[1]); in GeneratePulseField() 110 centroidArray->SetComponent(cellIdx,2,centroid[2]); in GeneratePulseField() 113 pulseField->SetComponent(cellIdx,0,pulse); in GeneratePulseField()
|
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/Testing/Cxx/ |
H A D | TestImageDataInterpolation.cxx | 112 vtkIdType cellIdx = 0; in GetReceivePoints() local 113 for (; cellIdx < img->GetNumberOfCells(); ++cellIdx) in GetReceivePoints() 116 vtkCell* myCell = img->GetCell(cellIdx); in GetReceivePoints() 128 donorCellList->SetId(cellIdx, cellIdx); in GetReceivePoints() 129 rcvPoints->SetPoint(cellIdx, c); in GetReceivePoints() 189 vtkIdType cellIdx = grid->FindCell(x, nullptr, 0, 0.0, subId, pcoords, weights); in TestInterpolation() local 191 if (cellIdx < 0) in TestInterpolation() 198 vtkCell* donorCell = grid->GetCell(cellIdx); in TestInterpolation()
|
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/Testing/Cxx/ |
H A D | TestImageDataInterpolation.cxx | 115 vtkIdType cellIdx = 0; in GetReceivePoints() local 116 for( ; cellIdx < img->GetNumberOfCells(); ++cellIdx ) in GetReceivePoints() 119 vtkCell *myCell = img->GetCell( cellIdx ); in GetReceivePoints() 131 donorCellList->SetId( cellIdx, cellIdx ); in GetReceivePoints() 132 rcvPoints->SetPoint( cellIdx, c ); in GetReceivePoints() 192 vtkIdType cellIdx = in TestInterpolation() local 195 if( cellIdx < 0 ) in TestInterpolation() 202 vtkCell *donorCell = grid->GetCell( cellIdx ); in TestInterpolation()
|
/dports/math/vtk6/VTK-6.2.0/Common/DataModel/Testing/Cxx/ |
H A D | TestImageDataInterpolation.cxx | 115 vtkIdType cellIdx = 0; in GetReceivePoints() local 116 for( ; cellIdx < img->GetNumberOfCells(); ++cellIdx ) in GetReceivePoints() 119 vtkCell *myCell = img->GetCell( cellIdx ); in GetReceivePoints() 131 donorCellList->SetId( cellIdx, cellIdx ); in GetReceivePoints() 132 rcvPoints->SetPoint( cellIdx, c ); in GetReceivePoints() 192 vtkIdType cellIdx = in TestInterpolation() local 195 if( cellIdx < 0 ) in TestInterpolation() 202 vtkCell *donorCell = grid->GetCell( cellIdx ); in TestInterpolation()
|
/dports/math/vtk8/VTK-8.2.0/Filters/ParallelGeometry/Testing/Cxx/ |
H A D | UnstructuredGhostZonesCommon.cxx | 96 for(vtkIdType cellIdx=0; cellIdx < ghostGrid->GetNumberOfCells(); ++cellIdx) in CheckGrid() local 98 ghostGrid->GetCellPoints(cellIdx,ptIds); in CheckGrid() 119 double actual = cptr[cellIdx*3+dim]; in CheckGrid() 126 << "\t[ERROR]: cell value mismatch at cell=" << cellIdx in CheckGrid() 175 for(vtkIdType cellIdx=0; cellIdx < global::Grid->GetNumberOfCells(); ++cellIdx) in UpdateGrid() local 177 cptr[ cellIdx*3 ] += static_cast<double>(iteration); in UpdateGrid() 178 cptr[ cellIdx*3+1 ] += static_cast<double>(iteration); in UpdateGrid() 179 cptr[ cellIdx*3+2 ] += static_cast<double>(iteration); in UpdateGrid()
|
H A D | TestPStructuredGridGhostDataGenerator.cxx | 151 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in AddCellCenteredXYZField() local 153 vtkCell *c = grid->GetCell( cellIdx ); in AddCellCenteredXYZField() 172 cellXYZArray->SetComponent( cellIdx, 0, centroid[0] ); in AddCellCenteredXYZField() 173 cellXYZArray->SetComponent( cellIdx, 1, centroid[1] ); in AddCellCenteredXYZField() 174 cellXYZArray->SetComponent( cellIdx, 2, centroid[2] ); in AddCellCenteredXYZField() 229 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in CheckCellFieldsForGrid() local 232 grid->GetCellPoints(cellIdx,nodeIds); in CheckCellFieldsForGrid() 254 centroid[i],array->GetComponent(cellIdx,i)) ) in CheckCellFieldsForGrid() 257 std::cout << array->GetComponent(cellIdx,i); in CheckCellFieldsForGrid()
|
H A D | TestPUniformGridGhostDataGenerator.cxx | 124 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in AddCellCenteredXYZField() local 126 vtkCell *c = grid->GetCell( cellIdx ); in AddCellCenteredXYZField() 145 cellXYZArray->SetComponent( cellIdx, 0, centroid[0] ); in AddCellCenteredXYZField() 146 cellXYZArray->SetComponent( cellIdx, 1, centroid[1] ); in AddCellCenteredXYZField() 147 cellXYZArray->SetComponent( cellIdx, 2, centroid[2] ); in AddCellCenteredXYZField() 201 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in CheckCellFieldsForGrid() local 203 vtkCell *c = grid->GetCell( cellIdx ); in CheckCellFieldsForGrid() 225 centroid[i],array->GetComponent(cellIdx,i)) ) in CheckCellFieldsForGrid()
|
/dports/math/vtk9/VTK-9.1.0/Filters/ParallelGeometry/Testing/Cxx/ |
H A D | UnstructuredGhostZonesCommon.cxx | 87 for (vtkIdType cellIdx = 0; cellIdx < ghostGrid->GetNumberOfCells(); ++cellIdx) in CheckGrid() local 89 ghostGrid->GetCellPoints(cellIdx, ptIds); in CheckGrid() 109 double actual = cptr[cellIdx * 3 + dim]; in CheckGrid() 115 err << std::setprecision(5) << "\t[ERROR]: cell value mismatch at cell=" << cellIdx in CheckGrid() 157 for (vtkIdType cellIdx = 0; cellIdx < global::Grid->GetNumberOfCells(); ++cellIdx) in UpdateGrid() local 159 cptr[cellIdx * 3] += static_cast<double>(iteration); in UpdateGrid() 160 cptr[cellIdx * 3 + 1] += static_cast<double>(iteration); in UpdateGrid() 161 cptr[cellIdx * 3 + 2] += static_cast<double>(iteration); in UpdateGrid()
|
/dports/math/vtk6/VTK-6.2.0/Filters/ParallelGeometry/Testing/Cxx/ |
H A D | UnstructuredGhostZonesCommon.cxx | 96 for(vtkIdType cellIdx=0; cellIdx < ghostGrid->GetNumberOfCells(); ++cellIdx) in CheckGrid() local 98 ghostGrid->GetCellPoints(cellIdx,ptIds); in CheckGrid() 119 double actual = cptr[cellIdx*3+dim]; in CheckGrid() 126 << "\t[ERROR]: cell value mismatch at cell=" << cellIdx in CheckGrid() 175 for(vtkIdType cellIdx=0; cellIdx < global::Grid->GetNumberOfCells(); ++cellIdx) in UpdateGrid() local 177 cptr[ cellIdx*3 ] += static_cast<double>(iteration); in UpdateGrid() 178 cptr[ cellIdx*3+1 ] += static_cast<double>(iteration); in UpdateGrid() 179 cptr[ cellIdx*3+2 ] += static_cast<double>(iteration); in UpdateGrid()
|
H A D | TestPStructuredGridGhostDataGenerator.cxx | 151 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in AddCellCenteredXYZField() local 153 vtkCell *c = grid->GetCell( cellIdx ); in AddCellCenteredXYZField() 172 cellXYZArray->SetComponent( cellIdx, 0, centroid[0] ); in AddCellCenteredXYZField() 173 cellXYZArray->SetComponent( cellIdx, 1, centroid[1] ); in AddCellCenteredXYZField() 174 cellXYZArray->SetComponent( cellIdx, 2, centroid[2] ); in AddCellCenteredXYZField() 229 for( vtkIdType cellIdx=0; cellIdx < grid->GetNumberOfCells(); ++cellIdx ) in CheckCellFieldsForGrid() local 232 grid->GetCellPoints(cellIdx,nodeIds); in CheckCellFieldsForGrid() 254 centroid[i],array->GetComponent(cellIdx,i)) ) in CheckCellFieldsForGrid() 257 std::cout << array->GetComponent(cellIdx,i); in CheckCellFieldsForGrid()
|