Searched refs:Wx (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/ksp/utils/dm/ |
| H A D | dmproject.c | 1082 PetscReal Wx[3], Wv[3]; in DMSwarmRemap_Colella_Internal() local 1100 …scCall(W_3_Interpolation_Private((xmin[0] + (xi + 0.5) * hx[0] - x[p * dim + 0]) / hx[0], &Wx[0])); in DMSwarmRemap_Colella_Internal() 1102 …scCall(W_3_Interpolation_Private((xmin[1] + (xj + 0.5) * hx[1] - x[p * dim + 1]) / hx[1], &Wx[1])); in DMSwarmRemap_Colella_Internal() 1103 else Wx[1] = 1.; in DMSwarmRemap_Colella_Internal() 1114 …, %g, %g, %g)\n", xi, xj, vi, vj, (double)(wp * Wx[0] * Wx[1] * Wv[0] * Wv[1]), (double)Wx[0], (do… in DMSwarmRemap_Colella_Internal() 1119 rw[rp] += wp * Wx[0] * Wx[1] * Wv[0] * Wv[1]; in DMSwarmRemap_Colella_Internal() 1120 … Adding weight %g (%g) to particle %" PetscInt_FMT "\n", (double)(wp * Wx[0] * Wx[1] * Wv[0] * Wv[… in DMSwarmRemap_Colella_Internal()
|