Lines Matching refs:nn

210   PetscInt        left, right, up, down, bottom, top, i, j, k, *idx, nn;  in DMSetUp_DA_3D()  local
460 nn = x * y * z; in DMSetUp_DA_3D()
462 PetscCallMPI(MPI_Allgather(&nn, 1, MPIU_INT, ldims, 1, MPIU_INT, comm)); in DMSetUp_DA_3D()
810 nn = 0; in DMSetUp_DA_3D()
820 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
828 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
836 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
847 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
856 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
858 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + x * i + (s_z - k - 1) * x * y; in DMSetUp_DA_3D()
867 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
878 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
886 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
894 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
907 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
914 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
916 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + k * x * y + (s_y - i) * x; in DMSetUp_DA_3D()
923 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
933 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
935 for (j = 0; j < s_x; j++) idx[nn++] = bases[rank] + s_x - j - 1 + k * x * y + i * x; in DMSetUp_DA_3D()
940 for (j = 0; j < x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
947 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
949 for (j = 0; j < s_x; j++) idx[nn++] = bases[rank] + x - j - 1 + k * x * y + i * x; in DMSetUp_DA_3D()
959 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
966 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
968 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + k * x * y + (y - i) * x; in DMSetUp_DA_3D()
975 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
989 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
997 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1005 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1016 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1025 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1027 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + (z - k - 1) * x * y + i * x; in DMSetUp_DA_3D()
1036 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1047 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1055 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1063 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1068 PetscCall(ISCreateBlock(comm, dof, nn, idx, PETSC_USE_POINTER, &from)); in DMSetUp_DA_3D()
1101 nn = 0; in DMSetUp_DA_3D()
1110 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1112 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1119 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1121 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1128 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1130 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1140 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1142 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1150 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1153 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + x * i + (s_z - k) * x * y; in DMSetUp_DA_3D()
1155 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1164 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1166 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1176 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1178 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1185 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1187 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1194 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1196 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1209 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1211 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1218 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1221 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + k * x * y + (s_y - i + 1) * x; in DMSetUp_DA_3D()
1223 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1231 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1233 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1243 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1246 for (j = 0; j < s_x; j++) idx[nn++] = bases[rank] + s_x - j - 1 + k * x * y + i * x + 1; in DMSetUp_DA_3D()
1248 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1254 for (j = 0; j < x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1261 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1264 for (j = 0; j < s_x; j++) idx[nn++] = bases[rank] + x - j - 1 + k * x * y + i * x - 1; in DMSetUp_DA_3D()
1266 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1277 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1279 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1286 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1289 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + k * x * y + (y - i - 1) * x; in DMSetUp_DA_3D()
1291 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1299 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1301 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1314 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1316 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1323 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1325 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1332 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1334 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1344 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1346 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1354 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1357 for (j = 0; j < x; j++) idx[nn++] = bases[rank] + j + (z - k - 2) * x * y + i * x; in DMSetUp_DA_3D()
1359 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1368 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1370 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1380 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1382 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1389 for (j = 0; j < x_t; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1391 for (j = 0; j < x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1398 for (j = 0; j < s_x; j++) idx[nn++] = s_t++; in DMSetUp_DA_3D()
1400 for (j = 0; j < s_x; j++) idx[nn++] = -1; in DMSetUp_DA_3D()
1409 PetscCall(ISLocalToGlobalMappingCreate(comm, dof, nn, idx, PETSC_OWN_POINTER, &da->ltogmap)); in DMSetUp_DA_3D()