Searched refs:hctx (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/mat/impls/mffd/ |
| H A D | wp.c | 52 MatMFFD_WP *hctx = (MatMFFD_WP *)ctx->hctx; in MatMFFDCompute_WP() local 57 if (hctx->computenormU || !ctx->ncurrenth) { in MatMFFDCompute_WP() 59 hctx->normUfact = PetscSqrtReal(1.0 + normU); in MatMFFDCompute_WP() 67 *h = ctx->error_rel * hctx->normUfact / norma; in MatMFFDCompute_WP() 87 MatMFFD_WP *hctx = (MatMFFD_WP *)ctx->hctx; in MatMFFDView_WP() local 93 if (hctx->computenormU) { in MatMFFDView_WP() 112 MatMFFD_WP *hctx = (MatMFFD_WP *)ctx->hctx; in MatMFFDSetFromOptions_WP() local 116 …te_normu", "Compute the norm of u", "MatMFFDWPSetComputeNormU", hctx->computenormU, &hctx->compute… in MatMFFDSetFromOptions_WP() 125 PetscCall(PetscFree(ctx->hctx)); in MatMFFDDestroy_WP() 132 MatMFFD_WP *hctx = (MatMFFD_WP *)ctx->hctx; in MatMFFDWPSetComputeNormU_P() local [all …]
|
| H A D | mffddef.c | 49 MatMFFD_DS *hctx = (MatMFFD_DS *)ctx->hctx; in MatMFFDCompute_DS() local 50 PetscReal nrm, sum, umin = hctx->umin; in MatMFFDCompute_DS() 89 MatMFFD_DS *hctx = (MatMFFD_DS *)ctx->hctx; in MatMFFDView_DS() local 99 …l(PetscViewerASCIIPrintf(viewer, " umin=%g (minimum iterate parameter)\n", (double)hctx->umin)); in MatMFFDView_DS() 105 MatMFFD_DS *hctx = (MatMFFD_DS *)ctx->hctx; in MatMFFDSetFromOptions_DS() local 109 …PetscCall(PetscOptionsReal("-mat_mffd_umin", "umin", "MatMFFDDSSetUmin", hctx->umin, &hctx->umin, … in MatMFFDSetFromOptions_DS() 117 PetscCall(PetscFree(ctx->hctx)); in MatMFFDDestroy_DS() 128 MatMFFD_DS *hctx; in MatMFFDDSSetUmin_DS() local 133 hctx = (MatMFFD_DS *)ctx->hctx; in MatMFFDDSSetUmin_DS() 134 hctx->umin = umin; in MatMFFDDSSetUmin_DS() [all …]
|
| H A D | mffdimpl.h | 35 void *hctx; member
|
| H A D | mffd.c | 610 mfctx->hctx = NULL; in MatCreate_MFFD()
|