Lines Matching refs:len_slow
190 PetscInt i, j, k, Mx, dof, xs, xm, len_slow; in FVRHSFunctionslow() local
208 PetscCall(ISGetSize(ctx->iss, &len_slow)); in FVRHSFunctionslow()
221 if (i < len_slow + 1) { in FVRHSFunctionslow()
253 if (i < len_slow) { /* slow parts can be changed based on a */ in FVRHSFunctionslow()
269 if (i == len_slow) { /* slow parts can be changed based on a */ in FVRHSFunctionslow()
295 PetscInt i, j, k, Mx, dof, xs, xm, len_slow; in FVRHSFunctionfast() local
313 PetscCall(ISGetSize(ctx->iss, &len_slow)); in FVRHSFunctionfast()
326 if (i > len_slow - 2) { in FVRHSFunctionfast()
356 if (i > len_slow) { in FVRHSFunctionfast()
366 for (j = 0; j < dof; j++) f[(i - len_slow - 1) * dof + j] -= ctx->flux[j] / hx; in FVRHSFunctionfast()
369 for (j = 0; j < dof; j++) f[(i - len_slow) * dof + j] += ctx->flux[j] / hx; in FVRHSFunctionfast()
372 if (i == len_slow) { in FVRHSFunctionfast()
382 for (j = 0; j < dof; j++) f[(i - len_slow) * dof + j] += ctx->flux[j] / hx; in FVRHSFunctionfast()