Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 14 of 14) sorted by relevance

/petsc/src/mat/impls/sbaij/seq/
H A Dsbaijfact2.c222 PetscScalar *x, x0, x1, x2, x3, x4, x5, x6, *t, *tp; in MatSolve_SeqSBAIJ_7_inplace() local
232 tp = t; in MatSolve_SeqSBAIJ_7_inplace()
235 tp[0] = b[idx]; in MatSolve_SeqSBAIJ_7_inplace()
236 tp[1] = b[idx + 1]; in MatSolve_SeqSBAIJ_7_inplace()
237 tp[2] = b[idx + 2]; in MatSolve_SeqSBAIJ_7_inplace()
238 tp[3] = b[idx + 3]; in MatSolve_SeqSBAIJ_7_inplace()
239 tp[4] = b[idx + 4]; in MatSolve_SeqSBAIJ_7_inplace()
240 tp[5] = b[idx + 5]; in MatSolve_SeqSBAIJ_7_inplace()
241 tp[6] = b[idx + 6]; in MatSolve_SeqSBAIJ_7_inplace()
242 tp += 7; in MatSolve_SeqSBAIJ_7_inplace()
[all …]
/petsc/src/sys/time/
H A Dfdate.c37 struct timeval tp; in PetscGetDate() local
45 gettimeofday(&tp, NULL); in PetscGetDate()
46 PetscCall(PetscStrncpy(date, asctime(localtime((time_t *)&tp.tv_sec)), len)); in PetscGetDate()
/petsc/src/dm/impls/moab/
H A Ddmmbmg.cxx364 for (unsigned tp = 0; tp < connp.size(); tp++) { in DMCreateInterpolation_Moab() local
365 values_phi[tp] = 0.0; in DMCreateInterpolation_Moab()
366 …for (unsigned k = 0; k < 3; k++) values_phi[tp] += std::pow(pcoords[tp * 3 + k] - ccoords[k + tc *… in DMCreateInterpolation_Moab()
367 if (values_phi[tp] < 1e-12) { in DMCreateInterpolation_Moab()
368 values_phi[tp] = 1e12; in DMCreateInterpolation_Moab()
371 values_phi[tp] = std::pow(values_phi[tp], -1.0); in DMCreateInterpolation_Moab()
372 normsum += values_phi[tp]; in DMCreateInterpolation_Moab()
375 for (unsigned tp = 0; tp < connp.size(); tp++) { in DMCreateInterpolation_Moab() local
376 if (values_phi[tp] > 1e11) values_phi[tp] = factor * 0.5 / connp.size(); in DMCreateInterpolation_Moab()
377 else values_phi[tp] = factor * values_phi[tp] * 0.5 / (connp.size() * normsum); in DMCreateInterpolation_Moab()
/petsc/src/benchmarks/streams/
H A DBasicVersion.c12 struct timeval tp; in second() local
16 i = gettimeofday(&tp, &tzp); in second()
17 return ((double)tp.tv_sec + (double)tp.tv_usec * 1.e-6); in second()
/petsc/src/dm/impls/plex/
H A Dplexproject.c73 PetscInt coordDim, Nf, *Nc, f, spDim, d, v, tp; in DMProjectPoint_Func_Private() local
84 for (f = 0, v = 0, tp = 0; f < Nf; ++f) { in DMProjectPoint_Func_Private()
106 for (q = 0; q < numPoints; q++, tp++) { in DMProjectPoint_Func_Private()
122 v0 = &fegeom->v[tp * coordDim]; in DMProjectPoint_Func_Private()
209 PetscInt numConstants, Nf, NfIn, NfAux = 0, f, spDim, d, v, inp, tp = 0; in DMProjectPoint_Field_Private() local
312 for (q = 0; q < numPoints; ++q, ++tp) { in DMProjectPoint_Field_Private()
322 fegeom.v = &cgeom->v[tp * dE]; in DMProjectPoint_Field_Private()
323 fegeom.J = &cgeom->J[tp * dE * dE]; in DMProjectPoint_Field_Private()
324 fegeom.invJ = &cgeom->invJ[tp * dE * dE]; in DMProjectPoint_Field_Private()
325 fegeom.detJ = &cgeom->detJ[tp]; in DMProjectPoint_Field_Private()
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dex54f.F90311 PetscReal s, t, xsj, xsj1, sh, th, sp, tp, sm
319 tp = 0.5 + th
324 shp(3, 3) = sp*tp
325 shp(3, 4) = sm*tp
360 ytp = yt*tp
364 xtp = xt*tp
/petsc/src/binding/petsc4py/docs/source/
H A Dconf.py407 from petsc4py import typing as tp unknown
409 for attr in tp.__all__:
/petsc/src/vec/vec/impls/nest/
H A Dvecnest.c355 PetscInt tp; in VecMin_Nest() local
356 PetscCall(VecMin(bx->v[i], &tp, &lv)); in VecMin_Nest()
360 lp = tp; in VecMin_Nest()
388 PetscInt tp; in VecMax_Nest() local
389 PetscCall(VecMax(bx->v[i], &tp, &lv)); in VecMax_Nest()
393 lp = tp; in VecMax_Nest()
/petsc/src/snes/tests/
H A Dex69.c364 PetscErrorCode MatAssemblyEnd_MyShell(Mat A, MatAssemblyType tp) in MatAssemblyEnd_MyShell() argument
370 PetscCall(MatAssemblyEnd(matshellctx->Jmf, tp)); in MatAssemblyEnd_MyShell()
/petsc/src/ksp/pc/impls/tfs/
H A Dgs.c465 PetscInt *tp, n; in place_in_tree() local
470 tp = tree_buf; in place_in_tree()
474 PCTFS_ivec_copy(tree_buf, tp, n); in place_in_tree()
475 free(tp); in place_in_tree()
/petsc/src/ksp/pc/impls/gamg/
H A Dagg.c1351 const PetscReal *tp = PetscSafePointerPlusOffset(pc_gamg->data, jj * bs * nloc + kk); in PCGAMGConstructProlongator_AGG() local
1353 for (ii = 0; ii < nloc; ii++, tp += bs) tmp_ldata[ii] = *tp; in PCGAMGConstructProlongator_AGG()
/petsc/doc/changes/
H A D315.md145 `-pc_gamg_rank_reduction_factors factors`, tp specify factor by
/petsc/
H A Dgmakefile.test323 alltesttargets := $(foreach tp, $(testpkgs), $(foreach lang, $(testlangs), $($(tp).$(lang))))
/petsc/src/mat/impls/dense/seq/cupm/
H A Dmatseqdensecupm.hpp129 static PetscErrorCode GetArrayAndMemTypeC_(Mat m, PetscScalar **p, PetscMemType *tp) noexcept in GetArrayAndMemTypeC_() argument
135 PetscCall(GetArrayAndMemType<mode>(m, p, tp, dctx)); in GetArrayAndMemTypeC_()