/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/adapters/trikota/src/sol/sparse_grids/ |
H A D | ROL_Quadrature1dConstructors.hpp | 67 int numPoints = (degree+1)/2+1; in Quadrature() local 69 numPoints = degree+1; in Quadrature() 72 numPoints = 2; in Quadrature() 79 numPoints = l; in Quadrature() 89 numPoints = o_ghk[i]; in Quadrature() 95 std::vector<Real> points(numPoints), weights(numPoints); in Quadrature() 111 if (numPoints==1) { in Quadrature() 173 std::vector<Real> points(numPoints), weights(numPoints); in Quadrature() 198 if (numPoints==l) { in Quadrature() 212 if (numPoints==1) { in Quadrature() [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/idlib/geometry/ |
H A D | Winding.cpp | 78 numPoints = 4; in BaseForPlane() 224 if ( f->numPoints > maxpts || b->numPoints > maxpts ) { in Split() 470 w->numPoints = numPoints; in Copy() 485 w->numPoints = numPoints; in Reverse() 742 numPoints--; in RemoveEqualPoints() 775 numPoints--; in RemoveColinearPoints() 806 maxPts = this->numPoints + winding->numPoints; in AddToConvexHull() 1079 newf = new idWinding( f1->numPoints + f2->numPoints ); in TryMerge() 1115 numPoints--; in RemovePoint() 1139 numPoints++; in InsertPoint() [all …]
|
H A D | Winding.h | 159 numPoints = n; in idWinding() 201 numPoints = winding.numPoints; 230 numPoints++; in AddPoint() 238 numPoints++; in AddPoint() 249 numPoints = n; in SetNumPoints() 253 numPoints = 0; in Clear() 311 numPoints = 0; in idFixedWinding() 317 numPoints = 0; in idFixedWinding() 325 numPoints = 0; in idFixedWinding() 336 numPoints = n; in idFixedWinding() [all …]
|
H A D | Winding2D.cpp | 109 numPoints++; in ExpandForAxialBox() 133 p[i] += edgeNormals[i] + edgeNormals[(i+numPoints-1)%numPoints]; in Expand() 191 f->numPoints++; in Split() 193 b->numPoints++; in Split() 199 f->numPoints++; in Split() 204 b->numPoints++; in Split() 243 f->numPoints++; in Split() 245 b->numPoints++; in Split() 283 numPoints = 0; in ClipInPlace() 357 w->numPoints = numPoints; in Copy() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/shp/ |
H A D | ESRIShape.cpp | 273 numPoints(0), in MultiPoint() 279 numPoints(mpoint.numPoints) in MultiPoint() 340 numPoints(p.numPoints) in PolyLine() 411 numPoints(p.numPoints) in Polygon() 530 numPoints(mpointm.numPoints), in MultiPointM() 614 numPoints(p.numPoints), in PolyLineM() 711 numPoints(p.numPoints), in PolygonM() 864 numPoints(mpointm.numPoints), in MultiPointZ() 966 numPoints(p.numPoints), in PolyLineZ() 1084 numPoints(p.numPoints), in PolygonZ() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/shp/ |
H A D | ESRIShape.cpp | 245 numPoints(0), in MultiPoint() 251 numPoints(mpoint.numPoints) in MultiPoint() 312 numPoints(p.numPoints) in PolyLine() 383 numPoints(p.numPoints) in Polygon() 502 numPoints(mpointm.numPoints), in MultiPointM() 586 numPoints(p.numPoints), in PolyLineM() 683 numPoints(p.numPoints), in PolygonM() 836 numPoints(mpointm.numPoints), in MultiPointZ() 938 numPoints(p.numPoints), in PolyLineZ() 1056 numPoints(p.numPoints), in PolygonZ() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/muq2/modules/Approximation/src/Quadrature/ |
H A D | ClenshawCurtisQuadrature.cpp | 53 pts.resize(1,numPoints); in Compute() 54 wts.resize(numPoints); in Compute() 56 if(numPoints==1){ in Compute() 62 for(int i=0; i<numPoints; ++i) in Compute() 63 pts(0,i) = std::cos( double(numPoints-i-1) * pi / double(numPoints - 1)); in Compute() 66 if((numPoints%2)==1) in Compute() 67 pts((numPoints+1)/2-1) = 0.0; in Compute() 68 pts(numPoints-1) = 1.0; in Compute() 88 wts(0) /= double(numPoints-1); in Compute() 89 wts.segment(1,numPoints-2) *= 2.0/(numPoints-1); in Compute() [all …]
|
/dports/math/R-cran-ddalpha/ddalpha/src/ |
H A D | ddalpha.cpp | 42 int numPoints = 0;for (int i = 0; i < numClasses[0]; i++){numPoints += cardinalities[i];} in IsInConvexes() local 43 TMatrix x(numPoints); in IsInConvexes() 72 TMatrix x(numPoints[0]); in ZDepth() 279 TMatrix x(numPoints[0]); in AlphaLearn() 320 TMatrix x(numPoints[0]); in AlphaClassify() 342 TMatrix x(numPoints); in KnnAffInvLearnJK() 355 TMatrix x(numPoints); in KnnAffInvClassify() 378 TMatrix x(numPoints[0]);TVariables y(numPoints[0]); in KnnLearnJK() 390 TMatrix x(numPoints[0]);TVariables y(numPoints[0]); in KnnClassify() 472 int numPoints = 0; in ProjectionDepth() local [all …]
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/testing/ |
H A D | UnitTestCellEdgeFace.cxx | 43 void DoTest(vtkm::IdComponent numPoints, in DoTest() 65 VTKM_TEST_ASSERT(edge[0] < numPoints, "Bad index in edge."); in DoTest() 67 VTKM_TEST_ASSERT(edge[1] < numPoints, "Bad index in edge."); in DoTest() 128 void DoTest(vtkm::IdComponent numPoints, in DoTest() 174 void DoTest(vtkm::IdComponent numPoints, in DoTest() 191 << " (" << numPoints << " points)" << std::endl; in TryShapeWithNumPoints() 192 this->DoTest(numPoints, in TryShapeWithNumPoints() 197 << " (" << numPoints << " points)" << std::endl; in TryShapeWithNumPoints() 198 this->DoTest(numPoints, in TryShapeWithNumPoints() 211 for (vtkm::IdComponent numPoints = 3; numPoints < 7; numPoints++) in operator ()() local [all …]
|
/dports/cad/openroad/OpenROAD-2.0/src/OpenDB/src/def/def/ |
H A D | defiMisc.cpp | 47 : numPoints(0), in defiPoints() 54 : numPoints(0), in DEF_COPY_CONSTRUCTOR_C() 58 DEF_COPY_FUNC( numPoints ); in DEF_COPY_CONSTRUCTOR_C() 65 DEF_COPY_FUNC( numPoints ); in DEF_ASSIGN_OPERATOR_C() 140 int defiGeometries::numPoints() const { in numPoints() function in defiGeometries 202 p->numPoints = geom->numPoints(); in setPolygon() 203 p->x = (int*)malloc(sizeof(int)*p->numPoints); in setPolygon() 204 p->y = (int*)malloc(sizeof(int)*p->numPoints); in setPolygon() 212 p->numPoints = geom->numPoints(); in setPolygon() 218 p->numPoints = geom->numPoints(); in setPolygon() [all …]
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/exec/testing/ |
H A D | UnitTestCellEdgeFace.cxx | 50 void DoTest(vtkm::IdComponent numPoints, in DoTest() 77 VTKM_TEST_ASSERT(edge[0] < numPoints, "Bad index in edge."); in DoTest() 79 VTKM_TEST_ASSERT(edge[1] < numPoints, "Bad index in edge."); in DoTest() 139 void DoTest(vtkm::IdComponent numPoints, in DoTest() 166 VTKM_TEST_ASSERT(edge[0] < numPoints, "Bad index in edge."); in DoTest() 188 void DoTest(vtkm::IdComponent numPoints, in DoTest() 210 << " (" << numPoints << " points)" << std::endl; in TryShapeWithNumPoints() 211 this->DoTest(numPoints, in TryShapeWithNumPoints() 216 << " (" << numPoints << " points)" << std::endl; in TryShapeWithNumPoints() 217 this->DoTest(numPoints, in TryShapeWithNumPoints() [all …]
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/exec/ |
H A D | ParametricCoordinates.h | 47 VTKM_ASSERT(numPoints == 0); in ParametricCoordinatesCenter() 60 VTKM_ASSERT(numPoints == 1); in ParametricCoordinatesCenter() 73 VTKM_ASSERT(numPoints == 2); in ParametricCoordinatesCenter() 86 VTKM_ASSERT(numPoints == 3); in ParametricCoordinatesCenter() 98 VTKM_ASSERT(numPoints > 0); in ParametricCoordinatesCenter() 99 switch (numPoints) in ParametricCoordinatesCenter() 125 VTKM_ASSERT(numPoints == 4); in ParametricCoordinatesCenter() 138 VTKM_ASSERT(numPoints == 4); in ParametricCoordinatesCenter() 151 VTKM_ASSERT(numPoints == 8); in ParametricCoordinatesCenter() 301 switch (numPoints) in ParametricCoordinatesPoint() [all …]
|
H A D | CellEdge.h | 133 (void)numPoints; // Silence compiler warnings. in CellEdgeNumberOfEdges() 134 VTKM_ASSERT(numPoints == vtkm::CellTraits<CellShapeTag>::NUM_POINTS); in CellEdgeNumberOfEdges() 142 VTKM_ASSUME(numPoints > 0); in CellEdgeNumberOfEdges() 143 return numPoints; in CellEdgeNumberOfEdges() 147 vtkm::IdComponent numPoints, in CellEdgeNumberOfEdges() argument 172 if (edgeIndex >= vtkm::exec::CellEdgeNumberOfEdges(numPoints, shape, worklet)) in CellEdgeLocalIndex() 188 VTKM_ASSUME(numPoints >= 3); in CellEdgeLocalIndex() 192 VTKM_ASSUME(edgeIndex < numPoints); in CellEdgeLocalIndex() 194 if (edgeIndex + pointIndex < numPoints) in CellEdgeLocalIndex() 218 numPoints, pointIndex, edgeIndex, vtkm::CellShapeTagPolygon(), worklet); in CellEdgeLocalIndex() [all …]
|
/dports/graphics/reallyslick/rss-glx_0.9.1/src/ |
H A D | splinePath.cpp | 34 numPoints = length; in splinePath() 36 if(numPoints < 6) in splinePath() 37 numPoints = 6; in splinePath() 40 rate = new float[numPoints]; in splinePath() 43 xyz = new float*[numPoints]; in splinePath() 45 dir = new float*[numPoints]; in splinePath() 46 for(i=0; i<numPoints; i++){ in splinePath() 61 for(i=0; i<numPoints; i++) in splinePath() 87 section = numPoints - 3; in getPoint() 105 section = numPoints - 3; in getDirection() [all …]
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/generic/ |
H A D | tkCanvPoly.c | 253 int i, numPoints; local 271 numPoints = argc/2; 292 polyPtr->numPoints = numPoints; 620 int numPoints; local 629 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 686 int numPoints; local 697 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 761 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 772 numPoints = polyPtr->numPoints; 971 polyPtr->numPoints); [all …]
|
/dports/shells/ksh93/ast-93u/src/lib/libtk/generic/ |
H A D | tkCanvPoly.c | 253 int i, numPoints; local 271 numPoints = argc/2; 292 polyPtr->numPoints = numPoints; 620 int numPoints; local 629 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 686 int numPoints; local 697 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 761 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 772 numPoints = polyPtr->numPoints; 971 polyPtr->numPoints); [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtk/generic/ |
H A D | tkCanvPoly.c | 253 int i, numPoints; local 271 numPoints = argc/2; 292 polyPtr->numPoints = numPoints; 620 int numPoints; local 629 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 686 int numPoints; local 697 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 761 numPoints = 1 + polyPtr->numPoints*polyPtr->splineSteps; 772 numPoints = polyPtr->numPoints; 971 polyPtr->numPoints); [all …]
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/ |
H A D | ParametricCoordinates.h | 53 if (numPoints != 0) in ParametricCoordinatesCenter() 67 if (numPoints != 1) in ParametricCoordinatesCenter() 80 switch (numPoints) in ParametricCoordinatesCenter() 99 if (numPoints < 1) in ParametricCoordinatesCenter() 104 switch (numPoints) in ParametricCoordinatesCenter() 216 if (numPoints != 1) in ParametricCoordinatesPoint() 234 if (numPoints < 1) in ParametricCoordinatesPoint() 239 switch (numPoints) in ParametricCoordinatesPoint() 260 switch (numPoints) in ParametricCoordinatesPoint() 392 switch (numPoints) in ParametricCoordinatesToWorldCoordinates() [all …]
|
H A D | CellEdge.h | 123 if (numPoints != vtkm::CellTraits<CellShapeTag>::NUM_POINTS) in CellEdgeNumberOfEdges() 136 if (numPoints <= 0) in CellEdgeNumberOfEdges() 141 numEdges = numPoints; in CellEdgeNumberOfEdges() 149 if (numPoints <= 0) in CellEdgeNumberOfEdges() 180 CellEdgeNumberOfEdges(vtkm::IdComponent numPoints, in CellEdgeNumberOfEdges() argument 185 vtkm::ErrorCode status = CellEdgeNumberOfEdges(numPoints, shape, numEdges); in CellEdgeNumberOfEdges() 230 if (numPoints < 3) in CellEdgeLocalIndex() 240 if ((edgeIndex < 0) || (edgeIndex >= numPoints)) in CellEdgeLocalIndex() 246 if (edgeIndex + pointIndex < numPoints) in CellEdgeLocalIndex() 320 vtkm::IdComponent numPoints, in CellEdgeCanonicalId() argument [all …]
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/ftgl/src/ |
H A D | FTExtrdGlyph.cpp | 36 int numPoints = vectoriser->MeshPoints(); in FTExtrdGlyph() local 37 if ( numPoints < 3) in FTExtrdGlyph() 49 numPoints = vectoriser->MeshPoints(); in FTExtrdGlyph() 50 if ( numPoints < 3) in FTExtrdGlyph() 60 numPoints = vectoriser->points(); in FTExtrdGlyph() 63 if ( ( numContours < 1) || ( numPoints < 3)) in FTExtrdGlyph() 138 numPoints = contourLength[c]; in FTExtrdGlyph() 142 for( int j= 0; j <= numPoints; ++j) in FTExtrdGlyph() 144 int j1 = (j < numPoints) ? j : 0; in FTExtrdGlyph() 173 contour += numPoints*3; in FTExtrdGlyph() [all …]
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/gl/ |
H A D | svg.cpp | 41 uint numPoints; member 59 uint numPoints; member 96 if (lIt->numPoints != 2) in draw() 132 if (lIt->numPoints != 2) in draw() 229 if (slIt->numPoints < 2) continue; in Svg_FromDef() 234 if (slIt->numPoints > 2) in Svg_FromDef() 252 svg->numPoints = finalPointCount; in Svg_FromDef() 268 if (slIt->numPoints < 2) continue; in Svg_FromDef() 271 dlIt->numPoints = slIt->numPoints; in Svg_FromDef() 273 if (slIt->numPoints > 2) in Svg_FromDef() [all …]
|
/dports/math/vtk6/VTK-6.2.0/ThirdParty/xdmf3/vtkxdmf3/ |
H A D | XdmfCurvilinearGrid.cpp | 176 mDimensions(numPoints) in XdmfCurvilinearGridImpl() 188 shared_ptr<XdmfArray> numPoints = XdmfArray::New(); in New() local 189 numPoints->resize<unsigned int>(2); in New() 190 numPoints->insert(0, xNumPoints); in New() 191 numPoints->insert(1, yNumPoints); in New() 201 shared_ptr<XdmfArray> numPoints = XdmfArray::New(); in New() local 202 numPoints->resize<unsigned int>(3); in New() 203 numPoints->insert(0, xNumPoints); in New() 204 numPoints->insert(1, yNumPoints); in New() 205 numPoints->insert(2, zNumPoints); in New() [all …]
|
/dports/misc/usd/USD-21.11/pxr/imaging/hd/ |
H A D | smoothNormals.cpp | 90 numPoints = std::min(numPoints, numAdjPoints); in _ComputeSmoothNormals() 92 VtArray<DstType> normals(numPoints); in _ComputeSmoothNormals() 98 numPoints, in _ComputeSmoothNormals() 109 int numPoints, in ComputeSmoothNormals() argument 120 int numPoints, in ComputeSmoothNormals() argument 131 int numPoints, in ComputeSmoothNormalsPacked() argument 143 int numPoints, in ComputeSmoothNormalsPacked() argument 205 numPoints, in Resolve() 213 numPoints, in Resolve() 224 numPoints, in Resolve() [all …]
|
/dports/databases/grass7/grass-7.8.6/vector/v.hull/ |
H A D | hull.c | 31 int convexHull(struct Point *P, int numPoints, int **hull) in convexHull() argument 37 qsort(P, numPoints, sizeof(struct Point), cmpPoints); in convexHull() 39 *hull = (int *)G_malloc(numPoints * 2 * sizeof(int)); in convexHull() 60 loHull[0] = numPoints - 1; in convexHull() 61 loHull[1] = numPoints - 2; in convexHull() 76 numPoints, loPoints, upPoints); in convexHull() 94 px = G_malloc(sizeof(double) * numPoints); in convexHull3d() 95 py = G_malloc(sizeof(double) * numPoints); in convexHull3d() 96 pz = G_malloc(sizeof(double) * numPoints); in convexHull3d() 98 for (i = 0; i < numPoints; i++) { in convexHull3d() [all …]
|
/dports/graphics/pixie/Pixie/src/ri/ |
H A D | points.cpp | 51 this->numPoints = np; in CPoints() 152 numPoints = np; in CPoints() 157 for (i=0;i<numPoints;i++) { in CPoints() 228 for (i=0;i<numPoints;i++) { in dice() 268 for (i=0;i<numPoints;i++) { in dice() 276 for (i=0;i<numPoints;i++) { in dice() 321 for (int i=0;i<numPoints;++i) { in sample() 327 for (int i=0;i<numPoints;++i) { in sample() 427 for (i=0;i<numPoints;i++) { in prep() 434 for (i=0;i<numPoints;i++) { in prep() [all …]
|