Lines Matching refs:container
15 PetscContainer container; in MatProductCtxDestroy_HT() local
20 PetscCall(PetscObjectQuery((PetscObject)data->D, "MatProductCtx_HT", (PetscObject *)&container)); in MatProductCtxDestroy_HT()
21 PetscCall(PetscContainerDestroy(&container)); in MatProductCtxDestroy_HT()
32 PetscContainer container; in MatProductNumeric_HT() local
38 PetscCall(PetscObjectQuery((PetscObject)D, "MatProductCtx_HT", (PetscObject *)&container)); in MatProductNumeric_HT()
39 …PetscCheck(container, PetscObjectComm((PetscObject)D), PETSC_ERR_PLIB, "MatProductCtx_HT missing"); in MatProductNumeric_HT()
40 PetscCall(PetscContainerGetPointer(container, &data)); in MatProductNumeric_HT()
64 PetscContainer container; in MatProductSymbolic_HT() local
72 PetscCall(PetscObjectQuery((PetscObject)D, "MatProductCtx_HT", (PetscObject *)&container)); in MatProductSymbolic_HT()
73 …PetscCheck(container, PetscObjectComm((PetscObject)D), PETSC_ERR_PLIB, "MatProductCtx_HT missing"); in MatProductSymbolic_HT()
74 PetscCall(PetscContainerGetPointer(container, &data)); in MatProductSymbolic_HT()
98 PetscContainer container = NULL; in MatProductSetFromOptions_HT() local
150 PetscCall(PetscObjectQuery((PetscObject)D, "MatProductCtx_HT", (PetscObject *)&container)); in MatProductSetFromOptions_HT()
151 if (!container) { in MatProductSetFromOptions_HT()
152 PetscCall(PetscContainerCreate(PetscObjectComm((PetscObject)D), &container)); in MatProductSetFromOptions_HT()
154 PetscCall(PetscContainerSetPointer(container, data)); in MatProductSetFromOptions_HT()
155 PetscCall(PetscObjectCompose((PetscObject)D, "MatProductCtx_HT", (PetscObject)container)); in MatProductSetFromOptions_HT()
156 } else PetscCall(PetscContainerGetPointer(container, &data)); in MatProductSetFromOptions_HT()
213 if (container) D->ops->productsymbolic = MatProductSymbolic_HT; in MatProductSetFromOptions_HT()