Searched refs:belowHalfy (Results 1 – 1 of 1) sorted by relevance
560 const PetscBool belowHalfy = (PetscBool)(2 * (j % factory) + 1 < factory); in DMStagPopulateInterpolation2d_Internal() local569 if (belowHalfy) colc[count].j -= 1; in DMStagPopulateInterpolation2d_Internal()578 PetscCall(SetInterpolationCoefficientCenter_Private(belowHalfy, j, factory, &ay)); in DMStagPopulateInterpolation2d_Internal()581 … if (j / factory == 0 && belowHalfy) PetscCall(MergeInterpolationWeightToTop2d_Private(weight)); in DMStagPopulateInterpolation2d_Internal()582 …else if (j / factory == Nc - 1 && !belowHalfy) PetscCall(MergeInterpolationWeightToBottom2d_Privat… in DMStagPopulateInterpolation2d_Internal()749 const PetscBool belowHalfy = (PetscBool)(2 * (j % factory) + 1 < factory); in DMStagPopulateInterpolation3d_Internal() local760 if (belowHalfy) colc[count].j -= 1; in DMStagPopulateInterpolation3d_Internal()773 PetscCall(SetInterpolationCoefficientCenter_Private(belowHalfy, j, factory, &ay)); in DMStagPopulateInterpolation3d_Internal()777 … if (j / factory == 0 && belowHalfy) PetscCall(MergeInterpolationWeightToTop3d_Private(weight)); in DMStagPopulateInterpolation3d_Internal()778 …else if (j / factory == Nc - 1 && !belowHalfy) PetscCall(MergeInterplationWeightToBottom3d_Private… in DMStagPopulateInterpolation3d_Internal()[all …]