Lines Matching refs:dm_x
55 PetscErrorCode OperatorApplyContextCreate(DM dm_x, DM dm_y, Ceed ceed, CeedOperator op_apply, CeedV… in OperatorApplyContextCreate() argument
64 if (dm_x) PetscCall(DMGetLocalVectorInfo(dm_x, &dm_X_size, NULL, NULL)); in OperatorApplyContextCreate()
70 if (dm_x) in OperatorApplyContextCreate()
86 if (dm_x) in OperatorApplyContextCreate()
103 if (dm_x) PetscCall(PetscObjectReference((PetscObject)dm_x)); in OperatorApplyContextCreate()
104 (*ctx)->dm_x = dm_x; in OperatorApplyContextCreate()
136 PetscCall(DMDestroy(&ctx->dm_x)); in OperatorApplyContextDestroy()
214 if (X) PetscCall(DMGlobalToLocal(ctx->dm_x, X, INSERT_VALUES, X_loc)); in ApplyCeedOperator_Core()
240 if (!ctx->X_loc) PetscCall(DMGetLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToGlobal()
246 if (!ctx->X_loc) PetscCall(DMRestoreLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToGlobal()
272 if (!ctx->X_loc) PetscCall(DMGetLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToLocal()
277 if (!ctx->X_loc) PetscCall(DMRestoreLocalVector(ctx->dm_x, &X_loc)); in ApplyCeedOperatorGlobalToLocal()