Searched refs:belowHalfx (Results 1 – 1 of 1) sorted by relevance
594 const PetscBool belowHalfx = (PetscBool)(2 * (i % factorx) + 1 < factorx); in DMStagPopulateInterpolation2d_Internal() local603 if (belowHalfx) colc[count].i -= 1; in DMStagPopulateInterpolation2d_Internal()611 PetscCall(SetInterpolationCoefficientCenter_Private(belowHalfx, i, factorx, &ax)); in DMStagPopulateInterpolation2d_Internal()615 … if (i / factorx == 0 && belowHalfx) PetscCall(MergeInterpolationWeightToRight2d_Private(weight)); in DMStagPopulateInterpolation2d_Internal()616 …else if (i / factorx == Mc - 1 && !belowHalfx) PetscCall(MergeInterpolationWeightToLeft2d_Private(… in DMStagPopulateInterpolation2d_Internal()791 const PetscBool belowHalfx = (PetscBool)(2 * (i % factorx) + 1 < factorx); in DMStagPopulateInterpolation3d_Internal() local802 if (belowHalfx) colc[count].i -= 1; in DMStagPopulateInterpolation3d_Internal()814 PetscCall(SetInterpolationCoefficientCenter_Private(belowHalfx, i, factorx, &ax)); in DMStagPopulateInterpolation3d_Internal()819 … if (i / factorx == 0 && belowHalfx) PetscCall(MergeInterpolationWeightToRight3d_Private(weight)); in DMStagPopulateInterpolation3d_Internal()820 …else if (i / factorx == Mc - 1 && !belowHalfx) PetscCall(MergeInterpolationWeightToLeft3d_Private(… in DMStagPopulateInterpolation3d_Internal()[all …]