Lines Matching refs:dm_x
59 PetscErrorCode OperatorApplyContextCreate(DM dm_x, DM dm_y, Ceed ceed, CeedOperator op_apply, CeedV… in OperatorApplyContextCreate() argument
68 if (dm_x) PetscCall(DMGetLocalVectorInfo(dm_x, &dm_X_size, NULL, NULL)); in OperatorApplyContextCreate()
74 if (dm_x) { in OperatorApplyContextCreate()
92 if (dm_x) { in OperatorApplyContextCreate()
111 if (dm_x) PetscCall(PetscObjectReference((PetscObject)dm_x)); in OperatorApplyContextCreate()
112 (*ctx)->dm_x = dm_x; in OperatorApplyContextCreate()
144 PetscCall(DMDestroy(&ctx->dm_x)); in OperatorApplyContextDestroy()
222 if (X) PetscCall(DMGlobalToLocal(ctx->dm_x, X, INSERT_VALUES, X_loc)); in ApplyCeedOperator_Core()
248 if (!ctx->X_loc) PetscCall(DMGetLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToGlobal()
254 if (!ctx->X_loc) PetscCall(DMRestoreLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToGlobal()
280 if (!ctx->X_loc) PetscCall(DMGetLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToLocal()
285 if (!ctx->X_loc) PetscCall(DMRestoreLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToLocal()