Lines Matching refs:nhor
941 MakeGeopotHeight(double *geop, double *gt, double *gq, double *ph, int nhor, int nlev) in MakeGeopotHeight() argument
951 double *geopl = geop + nhor * (j - 1); in MakeGeopotHeight()
952 const double *restrict gtl = gt + nhor * (j - 1); in MakeGeopotHeight()
953 const double *restrict gql = gq + nhor * (j - 1); in MakeGeopotHeight()
954 const double *restrict phl = ph + nhor * (j - 1); in MakeGeopotHeight()
958 for (int i = 0; i < nhor; i++) in MakeGeopotHeight()
959 …geopl[i] = geopl[i + nhor] + PlanetRD * gtl[i] * (1.0 + vtmp * gql[i]) * std::log(phl[i + nhor] / … in MakeGeopotHeight()
965 …for (int i = 0; i < nhor; i++) geop[i] = geop[i + nhor] + PlanetRD * gt[i] * (1.0 + vtmp * gq[i]) … in MakeGeopotHeight()
969 double *geopl = geop + nhor; in MakeGeopotHeight()
970 const double *phl = ph + nhor; in MakeGeopotHeight()
976 …for (int i = nhor * (j - 1); i < nhor * j; i++) geop[i] = geopl[i] + PlanetRD * gt[i] * std::log(p… in MakeGeopotHeight()
981 for (int i = 0; i < nhor; i++) geop[i] = geopl[i] + PlanetRD * gt[i] * z2log2; in MakeGeopotHeight()
987 for (int i = 0; i < nhor * (nlev + 1); i++) geop[i] *= zrg; in MakeGeopotHeight()