Searched refs:tmpf (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/snes/tutorials/ |
| H A D | ex36.c | 336 Vec tmpf; /* A temporary vector in the DG fine space */ member 348 PetscCall(VecDestroy(&ctx->tmpf)); in DestroyQuasiInterpolator() 362 PetscCall(MatMult(ctx->Ifdg, x, ctx->tmpf)); in QuasiInterpolate() 364 PetscCall(PetscObjectSetName((PetscObject)ctx->tmpf, "Fine DG Potential")); in QuasiInterpolate() 365 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)ctx->tmpf, "fine_dg_")); in QuasiInterpolate() 366 PetscCall(VecViewFromOptions(ctx->tmpf, NULL, "-vec_view")); in QuasiInterpolate() 412 PetscCall(DMCreateGlobalVector(dmfdg, &ctx->tmpf)); in CreateQuasiInterpolator()
|
| /petsc/src/dm/dt/interface/ |
| H A D | dtweakform.c | 363 PetscVoidFn **tmpf; in PetscWeakFormReplaceLabel_Internal() local 387 PetscCall(PetscMalloc1(maxFuncs, &tmpf)); in PetscWeakFormReplaceLabel_Internal() 400 for (j = 0; j < Nf; ++j) tmpf[j] = funcs[j]; in PetscWeakFormReplaceLabel_Internal() 401 …eakFormSetFunction_Private(wf, hmap, label, keys[i].value, keys[i].field, keys[i].part, Nf, tmpf)); in PetscWeakFormReplaceLabel_Internal() 405 PetscCall(PetscFree(tmpf)); in PetscWeakFormReplaceLabel_Internal()
|