Lines Matching refs:dm_y
55 PetscErrorCode OperatorApplyContextCreate(DM dm_x, DM dm_y, Ceed ceed, CeedOperator op_apply, CeedV… in OperatorApplyContextCreate() argument
65 if (dm_y) PetscCall(DMGetLocalVectorInfo(dm_y, &dm_Y_size, NULL, NULL)); in OperatorApplyContextCreate()
78 if (dm_y) in OperatorApplyContextCreate()
94 if (dm_y) in OperatorApplyContextCreate()
105 if (dm_y) PetscCall(PetscObjectReference((PetscObject)dm_y)); in OperatorApplyContextCreate()
106 (*ctx)->dm_y = dm_y; in OperatorApplyContextCreate()
137 PetscCall(DMDestroy(&ctx->dm_y)); in OperatorApplyContextDestroy()
229 if (Y) PetscCall(DMLocalToGlobal(ctx->dm_y, Y_loc, ADD_VALUES, Y)); in ApplyCeedOperator_Core()
241 if (!ctx->Y_loc) PetscCall(DMGetLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorGlobalToGlobal()
247 if (!ctx->Y_loc) PetscCall(DMRestoreLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorGlobalToGlobal()
258 if (!ctx->Y_loc) PetscCall(DMGetLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorLocalToGlobal()
263 if (!ctx->Y_loc) PetscCall(DMRestoreLocalVector(ctx->dm_y, &Y_loc)); in ApplyCeedOperatorLocalToGlobal()