Lines Matching refs:hctx
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()
190 MatMFFD_DS *hctx; in MatCreateMFFD_DS() local
194 PetscCall(PetscNew(&hctx)); in MatCreateMFFD_DS()
195 ctx->hctx = (void *)hctx; in MatCreateMFFD_DS()
197 hctx->umin = 1.e-6; in MatCreateMFFD_DS()