Home
last modified time | relevance | path

Searched refs:num_points (Results 1 – 11 of 11) sorted by relevance

/petsc/src/dm/dt/tests/
H A Dex15.c9 PetscInt num_points; in testQuadrature() local
20 PetscCall(PetscQuadratureGetData(quad, NULL, NULL, &num_points, &points, &weights)); in testQuadrature()
23 PetscCall(PetscMalloc1(num_points * Nb, &eval)); in testQuadrature()
24 PetscCall(PetscDTPKDEvalJet(dim, num_points, points, p_degree, 0, eval)); in testQuadrature()
31 …for (PetscInt q = 0; q < num_points; q++) I_quad += weights[q] * eval[i * num_points + q] * eval[j… in testQuadrature()
H A Dex16.c9 PetscInt num_points; in PetscFEVectorTest() local
20 PetscCall(PetscQuadratureGetData(quad, NULL, NULL, &num_points, &points, NULL)); in PetscFEVectorTest()
28 PetscCall(PetscFECreateTabulation(orig_fe, 1, num_points, points, 1, &orig_T)); in PetscFEVectorTest()
29 PetscCall(PetscFECreateTabulation(vec_fe, 1, num_points, points, 1, &vec_T)); in PetscFEVectorTest()
52 for (PetscInt p = 0; p < num_points; p++) { in PetscFEVectorTest()
93 PetscCall(PetscFECreateTabulation(dup_fe, 1, num_points, points, 1, &dup_T)); in PetscFEVectorTest()
99 PetscInt size = num_points * vNb * vNc * dblock; in PetscFEVectorTest()
/petsc/src/dm/impls/plex/tests/
H A Dex66.c63 PetscInt num_points[4] = {9, 1, 0, 1}; in main() local
75 …PetscCall(DMPlexCreateFromDAG(dm, 3, num_points, cone_size, cones, cone_orientations, vertex_coord… in main()
82 PetscInt num_points[4] = {9, 0, 1, 1}; in main() local
102 …PetscCall(DMPlexCreateFromDAG(dm, 3, num_points, cone_size, cones, cone_orientations, vertex_coord… in main()
H A Dex103.c301 PetscInt num_points; in VerifyDMLabels() local
304 PetscCall(ISGetLocalSize(stratumIS, &num_points)); in VerifyDMLabels()
306 for (PetscInt p = 0; p < num_points; p++) pointMask[points[p]] = PETSC_TRUE; in VerifyDMLabels()
318 PetscInt num_points; in VerifyDMLabels() local
322 PetscCall(ISGetLocalSize(stratumIS, &num_points)); in VerifyDMLabels()
329 PetscCall(PetscFindInt(p, num_points, points, &loc)); in VerifyDMLabels()
/petsc/lib/petsc/bin/maint/
H A Dpetscdt_create_quadrature_headers.py44 num_points = int(parts[1])
49 rule['num_nodes'] = num_points
95 num_points = int(parts.group(2))
101 rule['num_nodes'] = num_points
/petsc/src/vec/is/utils/
H A Dkdtree.c427 PetscErrorCode PetscKDTreeQueryPointsNearestNeighbor(PetscKDTree tree, PetscCount num_points, const… in PetscKDTreeQueryPointsNearestNeighbor() argument
434 …PetscCheck(num_points == 0, PETSC_COMM_SELF, PETSC_ERR_USER_INPUT, "num_points may only be zero, i… in PetscKDTreeQueryPointsNearestNeighbor()
442 for (PetscCount p = 0; p < num_points; p++) { in PetscKDTreeQueryPointsNearestNeighbor()
/petsc/src/mat/impls/h2opus/cuda/
H A Dmath2opus.cu48 size_t num_points; member in PetscPointCloud
56 this->num_points = num_pts; in PetscPointCloud()
73 size_t N = other.dimension * other.num_points; in PetscPointCloud()
75 this->num_points = other.num_points; in PetscPointCloud()
82 size_t getDataSetSize() const { return num_points; } in getDataSetSize()
86 assert(dim < dimension && idx < num_points); in getDataPoint()
93 out << "NumPoints: " << num_points << std::endl; in Print()
94 for (size_t n = 0; n < num_points; n++) { in Print()
/petsc/src/dm/impls/plex/
H A Dplexproject.c633 PetscInt num_points, pStart, pEnd; in DMGetFirstLabeledPoint() local
637 PetscCall(ISGetSize(labelIS, &num_points)); in DMGetFirstLabeledPoint()
638 if (num_points) { in DMGetFirstLabeledPoint()
641 for (PetscInt i = 0; i < num_points; i++) { in DMGetFirstLabeledPoint()
H A Dplexsfc.c294 PetscInt num_points, *points = NULL, minv = PETSC_INT_MAX; in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private() local
296 PetscCall(DMPlexGetTransitiveClosure(dm, f, PETSC_TRUE, &num_points, &points)); in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private()
297 for (PetscInt j = 0; j < num_points; j++) { in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private()
302 PetscCall(DMPlexRestoreTransitiveClosure(dm, f, PETSC_TRUE, &num_points, &points)); in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private()
/petsc/src/dm/dt/dualspace/impls/sum/
H A Ddualspacesum.c390 PetscInt num_points = 0; in PetscDualSpaceSumCreateMappings() local
409 num_points += (dof > 0); in PetscDualSpaceSumCreateMappings()
430 if (num_points == 1) { in PetscDualSpaceSumCreateMappings()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMSwarm.pyx362 field. The array is two dimensional with shape ``(num_points, blocksize)``.