Lines Matching refs:dm_y
59 PetscErrorCode OperatorApplyContextCreate(DM dm_x, DM dm_y, Ceed ceed, CeedOperator op_apply, CeedV… in OperatorApplyContextCreate() argument
69 if (dm_y) PetscCall(DMGetLocalVectorInfo(dm_y, &dm_Y_size, NULL, NULL)); in OperatorApplyContextCreate()
83 if (dm_y) { in OperatorApplyContextCreate()
101 if (dm_y) { in OperatorApplyContextCreate()
113 if (dm_y) PetscCall(PetscObjectReference((PetscObject)dm_y)); in OperatorApplyContextCreate()
114 (*ctx)->dm_y = dm_y; in OperatorApplyContextCreate()
145 PetscCall(DMDestroy(&ctx->dm_y)); in OperatorApplyContextDestroy()
237 if (Y) PetscCall(DMLocalToGlobal(ctx->dm_y, Y_loc, ADD_VALUES, Y)); in ApplyCeedOperator_Core()
249 if (!ctx->Y_loc) PetscCall(DMGetLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorGlobalToGlobal()
255 if (!ctx->Y_loc) PetscCall(DMRestoreLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorGlobalToGlobal()
266 if (!ctx->Y_loc) PetscCall(DMGetLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorLocalToGlobal()
271 if (!ctx->Y_loc) PetscCall(DMRestoreLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorLocalToGlobal()