Home
last modified time | relevance | path

Searched refs:pts (Results 1 – 7 of 7) sorted by relevance

/petsc/src/ksp/ksp/impls/qcg/
H A Dqcg.c22 PetscReal dsq, ptp, pts, rad, sts; in KSPQCGQuadraticRoots() local
25 PetscCall(VecDotRealPart(p, s, &pts)); in KSPQCGQuadraticRoots()
29 rad = PetscSqrtReal((pts * pts) - ptp * (sts - dsq)); in KSPQCGQuadraticRoots()
30 if (pts > 0.0) { in KSPQCGQuadraticRoots()
31 *step2 = -(pts + rad) / ptp; in KSPQCGQuadraticRoots()
34 *step1 = -(pts - rad) / ptp; in KSPQCGQuadraticRoots()
/petsc/src/dm/partitioner/impls/ptscotch/
H A Dpartptscotch.c260 PetscPartitioner_PTScotch *pts = (PetscPartitioner_PTScotch *)part->data; in PetscPartitionerPartition_PTScotch() local
261 int strat = PTScotch_Strategy(pts->strategy); in PetscPartitionerPartition_PTScotch()
262 double imbal = (double)pts->imbalance; in PetscPartitionerPartition_PTScotch()
268 MPI_Comm pcomm = pts->pcomm; in PetscPartitionerPartition_PTScotch()
273 PetscCallMPI(MPI_Comm_split(pts->pcomm, !!nvtxs, rank, &pcomm)); in PetscPartitionerPartition_PTScotch()
/petsc/src/mat/impls/h2opus/cuda/
H A Dmath2opus.cu49 std::vector<T> pts; member in PetscPointCloud
58 pts.resize(num_pts * dim); in PetscPointCloud()
61 for (int i = 0; i < dim; i++) pts[n * dim + i] = coords[n * dim + i]; in PetscPointCloud()
65 pts[n * dim] = n * h; in PetscPointCloud()
66 for (int i = 1; i < dim; i++) pts[n * dim + i] = 0.0; in PetscPointCloud()
76 this->pts.resize(N); in PetscPointCloud()
77 for (size_t i = 0; i < N; i++) this->pts[i] = other.pts[i]; in PetscPointCloud()
87 return pts[idx * dimension + dim]; in getDataPoint()
95 for (int d = 0; d < dimension; d++) out << pts[n * dimension + d] << " "; in Print()
/petsc/src/snes/tutorials/
H A Dex16.c58 const PetscReal pts[NQ] = {QP0, QP1}; variable
385 bx = pts[ii]; in FormElements()
386 by = pts[jj]; in FormElements()
387 bz = pts[kk]; in FormElements()
/petsc/src/dm/impls/plex/
H A Dplex.c4065 PetscInt *pts, *closure = NULL; in DMPlexTransitiveClosure_Tensor_Internal() local
4078 pts = *points; in DMPlexTransitiveClosure_Tensor_Internal()
4079 } else PetscCall(DMGetWorkArray(dm, 2 * maxSize, MPIU_INT, &pts)); in DMPlexTransitiveClosure_Tensor_Internal()
4081 pts[c++] = point; in DMPlexTransitiveClosure_Tensor_Internal()
4082 pts[c++] = o; in DMPlexTransitiveClosure_Tensor_Internal()
4086 pts[c++] = closure[cl]; in DMPlexTransitiveClosure_Tensor_Internal()
4087 pts[c++] = closure[cl + 1]; in DMPlexTransitiveClosure_Tensor_Internal()
4091 pts[c++] = closure[cl]; in DMPlexTransitiveClosure_Tensor_Internal()
4092 pts[c++] = closure[cl + 1]; in DMPlexTransitiveClosure_Tensor_Internal()
4097 pts[c++] = cone[arr[d * 2 + 0]]; in DMPlexTransitiveClosure_Tensor_Internal()
[all …]
/petsc/src/ksp/pc/impls/patch/
H A Dpcpatch.c837 static PetscErrorCode PCPatchGetPointDofs(PC pc, PetscHSetI pts, PetscHSetI dofs, PetscInt base, Pe… in PCPatchGetPointDofs() argument
868 PetscHashIterBegin(pts, hi); in PCPatchGetPointDofs()
869 while (!PetscHashIterAtEnd(pts, hi)) { in PCPatchGetPointDofs()
870 PetscHashIterGetKey(pts, hi, p); in PCPatchGetPointDofs()
871 PetscHashIterNext(pts, hi); in PCPatchGetPointDofs()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas3001 (premixc/fgm-tfm-ngrid-pts-flame 4)
3161 (pdf/auto-refine/min-pts (15 15 15))
3169 (pdf/auto-refine/max-pts 200)
3170 (pdf/auto-refine/init-pts 15)
3195 (prepdf/strained-fla-auto-refine/max-pts 500)
3198 (prepdf/strained-fla-auto-refine/init-pts 20)
3225 (prepdf/ckcfd-prmx-fla-auto-refine/max-pts 250)
3226 (prepdf/ckcfd-prmx-fla-auto-refine/init-pts 12)
3238 (prepdf/user-pdf-cvar-pts ())
3239 (prepdf/user-pdf-fvar-pts ())
[all …]