Home
last modified time | relevance | path

Searched refs:tmpc (Results 1 – 2 of 2) sorted by relevance

/petsc/src/snes/tutorials/
H A Dex36.c335 Vec tmpc; /* A temporary vector in the DG coarse space */ member
347 PetscCall(VecDestroy(&ctx->tmpc)); in DestroyQuasiInterpolator()
367 PetscCall(MatMult(ctx->Pi, x, ctx->tmpc)); in QuasiInterpolate()
369 PetscCall(PetscObjectSetName((PetscObject)ctx->tmpc, "Coarse DG Potential")); in QuasiInterpolate()
370 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)ctx->tmpc, "coarse_dg_")); in QuasiInterpolate()
371 PetscCall(VecViewFromOptions(ctx->tmpc, NULL, "-vec_view")); in QuasiInterpolate()
372 PetscCall(VecGetDM(ctx->tmpc, &dmcdg)); in QuasiInterpolate()
376 PetscCall(DMPlexComputeClementInterpolant(dmcdg, ctx->tmpc, ly)); in QuasiInterpolate()
425 PetscCall(DMCreateGlobalVector(dmcdg, &ctx->tmpc)); in CreateQuasiInterpolator()
/petsc/src/dm/dt/interface/
H A Ddtds.c543 PetscBool *tmpc; in PetscDSEnlarge_Static() local
554 PetscCall(PetscMalloc4(NfNew, &tmpd, NfNew, &tmpi, NfNew, &tmpc, NfNew, &tmpk)); in PetscDSEnlarge_Static()
558 tmpc[f] = prob->cohesive[f]; in PetscDSEnlarge_Static()
563 tmpi[f] = PETSC_TRUE, tmpc[f] = PETSC_FALSE; in PetscDSEnlarge_Static()
571 prob->cohesive = tmpc; in PetscDSEnlarge_Static()