Home
last modified time | relevance | path

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

/petsc/src/dm/impls/moab/
H A Ddmmbmg.cxx239 for (int tc = 0; tc < nlsizc; tc++) { in DMCreateInterpolation_Moab() local
241 nnz[tc] = std::min(nlsizp, nnz[tc]); in DMCreateInterpolation_Moab()
242 onz[tc] = std::min(ngsizp - nlsizp, onz[tc]); in DMCreateInterpolation_Moab()
244 PetscCall(PetscInfo(NULL, " %d: NNZ = %d, ONZ = %d\n", tc, nnz[tc], onz[tc])); in DMCreateInterpolation_Moab()
246 innz = (innz < nnz[tc] ? nnz[tc] : innz); in DMCreateInterpolation_Moab()
247 ionz = (ionz < onz[tc] ? onz[tc] : ionz); in DMCreateInterpolation_Moab()
294 for (unsigned tc = 0; tc < connc.size(); tc++) { in DMCreateInterpolation_Moab() local
295 const PetscInt offset = tc * 3; in DMCreateInterpolation_Moab()
298 …, connp.size(), &pcoords[0], &ccoords[offset], &natparam[offset], &values_phi[connp.size() * tc])); in DMCreateInterpolation_Moab()
347 for (unsigned tc = 0; tc < connc.size(); tc++) { in DMCreateInterpolation_Moab() local
[all …]
/petsc/src/sys/classes/draw/utils/
H A Daxisc.c43 ad->tc = PETSC_DRAW_BLACK; in PetscDrawAxisCreate()
98 PetscErrorCode PetscDrawAxisSetColors(PetscDrawAxis axis, int ac, int tc, int cc) in PetscDrawAxisSetColors() argument
103 PetscValidLogicalCollectiveInt(axis, tc, 3); in PetscDrawAxisSetColors()
106 axis->tc = tc; in PetscDrawAxisSetColors()
250 int i, ntick, numx, numy, ac, tc, cc; in PetscDrawAxisDraw() local
268 tc = axis->tc; in PetscDrawAxisDraw()
328 PetscCall(PetscDrawLine(draw, tickloc[i], axis->ylow, tickloc[i], axis->ylow + .5 * th, tc)); in PetscDrawAxisDraw()
329 … PetscCall(PetscDrawLine(draw, tickloc[i], axis->yhigh, tickloc[i], axis->yhigh - .5 * th, tc)); in PetscDrawAxisDraw()
356 PetscCall(PetscDrawLine(draw, axis->xlow, tickloc[i], axis->xlow + .5 * tw, tickloc[i], tc)); in PetscDrawAxisDraw()
357 … PetscCall(PetscDrawLine(draw, axis->xhigh, tickloc[i], axis->xhigh - .5 * tw, tickloc[i], tc)); in PetscDrawAxisDraw()
/petsc/src/ts/tutorials/
H A Dex5.c301 PetscScalar *s_localptr, h = appctx->h, ex1, ex2, sc1, sc2, tc = t; in ExactSolution() local
314 ex1 = PetscExpScalar(-36. * PETSC_PI * PETSC_PI * tc); in ExactSolution()
315 ex2 = PetscExpScalar(-4. * PETSC_PI * PETSC_PI * tc); in ExactSolution()
H A Dex3.c338 PetscScalar *s_localptr, h = appctx->h, ex1, ex2, sc1, sc2, tc = t; in ExactSolution() local
351 ex1 = PetscExpScalar(-36. * PETSC_PI * PETSC_PI * tc); in ExactSolution()
352 ex2 = PetscExpScalar(-4. * PETSC_PI * PETSC_PI * tc); in ExactSolution()
/petsc/include/petsc/private/
H A Ddrawimpl.h106 int ac, tc, cc; /* axis,tick, character color */ member
/petsc/src/tao/unconstrained/tutorials/
H A Dspectraladjointassimilation.c394 PetscScalar *s, tc; in ComputeReference() local
405 tc = -appctx->param.mu * (j + 1) * (j + 1) * 4.0 * PETSC_PI * PETSC_PI * t; in ComputeReference()
406 …nts[j] * PetscSinScalar(2 * (j + 1) * PETSC_PI * (xg[i] + appctx->param.a * t)) * PetscExpReal(tc); in ComputeReference()
/petsc/src/dm/impls/da/
H A Dfdda.c414 PetscInt tc = 0; in DMCreateColoring_DA_1d_MPIAIJ() local
415 for (i = 0; i < nc; i++) tc += (PetscInt)(dd->ofillcols[i] > 0); in DMCreateColoring_DA_1d_MPIAIJ()
420 … PetscCall(ISColoringValueCast(nc - 1 + tc * ((i % col) - 1) + dd->ofillcols[l], colors + i1++)); in DMCreateColoring_DA_1d_MPIAIJ()
426 ncolors = nc + 2 * s * tc; in DMCreateColoring_DA_1d_MPIAIJ()