Lines Matching refs:ceed
55 PetscErrorCode OperatorApplyContextCreate(DM dm_x, DM dm_y, Ceed ceed, CeedOperator op_apply, CeedV… in OperatorApplyContextCreate() argument
60 PetscCallCeed(ceed, CeedOperatorGetActiveVectorLengths(op_apply, &x_size, &y_size)); in OperatorApplyContextCreate()
83 PetscCallCeed(ceed, CeedVectorGetLength(x_ceed, &x_ceed_size)); in OperatorApplyContextCreate()
91 PetscCallCeed(ceed, CeedVectorGetLength(y_ceed, &y_ceed_size)); in OperatorApplyContextCreate()
114 if (x_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(x_ceed, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
115 else PetscCallCeed(ceed, CeedVectorCreate(ceed, x_size, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
117 if (y_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(y_ceed, &(*ctx)->y_ceed)); in OperatorApplyContextCreate()
118 else PetscCallCeed(ceed, CeedVectorCreate(ceed, y_size, &(*ctx)->y_ceed)); in OperatorApplyContextCreate()
120 PetscCallCeed(ceed, CeedOperatorReferenceCopy(op_apply, &(*ctx)->op)); in OperatorApplyContextCreate()
121 PetscCallCeed(ceed, CeedReferenceCopy(ceed, &(*ctx)->ceed)); in OperatorApplyContextCreate()
133 Ceed ceed = ctx->ceed; in OperatorApplyContextDestroy() local
142 PetscCallCeed(ceed, CeedVectorDestroy(&ctx->x_ceed)); in OperatorApplyContextDestroy()
143 PetscCallCeed(ceed, CeedVectorDestroy(&ctx->y_ceed)); in OperatorApplyContextDestroy()
144 PetscCallCeed(ceed, CeedOperatorDestroy(&ctx->op)); in OperatorApplyContextDestroy()
145 PetscCallCeed(ceed, CeedDestroy(&ctx->ceed)); in OperatorApplyContextDestroy()
174 Ceed ceed; in CeedOperatorCreateLocalVecs() local
178 PetscCall(CeedOperatorGetCeed(op, &ceed)); in CeedOperatorCreateLocalVecs()
181 PetscCallCeed(ceed, CeedOperatorGetActiveVectorLengths(op, &input_size, &output_size)); in CeedOperatorCreateLocalVecs()
192 …PetscCheck(CeedDestroy(&ceed) == CEED_ERROR_SUCCESS, comm, PETSC_ERR_LIB, "Destroying Ceed object … in CeedOperatorCreateLocalVecs()
211 Ceed ceed = ctx->ceed; in ApplyCeedOperator_Core() local
221 …if (use_apply_add) PetscCallCeed(ceed, CeedOperatorApplyAdd(ctx->op, x_ceed, y_ceed, CEED_REQUEST_… in ApplyCeedOperator_Core()
222 else PetscCallCeed(ceed, CeedOperatorApply(ctx->op, x_ceed, y_ceed, CEED_REQUEST_IMMEDIATE)); in ApplyCeedOperator_Core()