Searched refs:p_ctx (Results 1 – 1 of 1) sorted by relevance
442 static PetscErrorCode CtxCreateAndSetFromOptions(Ctx *p_ctx) in CtxCreateAndSetFromOptions() argument447 PetscCall(PetscMalloc1(1, p_ctx)); in CtxCreateAndSetFromOptions()448 ctx = *p_ctx; in CtxCreateAndSetFromOptions()542 static PetscErrorCode CtxDestroy(Ctx *p_ctx) in CtxDestroy() argument547 ctx = *p_ctx; in CtxDestroy()550 PetscCall(PetscFree(*p_ctx)); in CtxDestroy()