Searched refs:idx (Results 1 – 1 of 1) sorted by relevance
44 CeedInt idx = -1; in InterpolateProfile() local48 idx = i; in InterpolateProfile()53 if (idx > 0) { // y within the bounds of prof_wd in InterpolateProfile()54 CeedScalar coeff = (wall_dist - prof_wd[idx - 1]) / (prof_wd[idx] - prof_wd[idx - 1]); in InterpolateProfile()56 …ubar[0] = prof_ubar[0 * nprofs + idx - 1] + coeff * (prof_ubar[0 * nprofs + idx] - prof_ubar[0 * n… in InterpolateProfile()57 …ubar[1] = prof_ubar[1 * nprofs + idx - 1] + coeff * (prof_ubar[1 * nprofs + idx] - prof_ubar[1 * n… in InterpolateProfile()58 …ubar[2] = prof_ubar[2 * nprofs + idx - 1] + coeff * (prof_ubar[2 * nprofs + idx] - prof_ubar[2 * n… in InterpolateProfile()59 …cij[0] = prof_cij[0 * nprofs + idx - 1] + coeff * (prof_cij[0 * nprofs + idx] - prof_cij[0 * npro… in InterpolateProfile()60 …cij[1] = prof_cij[1 * nprofs + idx - 1] + coeff * (prof_cij[1 * nprofs + idx] - prof_cij[1 * npro… in InterpolateProfile()61 …cij[2] = prof_cij[2 * nprofs + idx - 1] + coeff * (prof_cij[2 * nprofs + idx] - prof_cij[2 * npro… in InterpolateProfile()[all …]