Lines Matching refs:neighbour_procs

102   d->neighbour_procs   = NULL;  in DMSwarmDataExCreate()
145 …edPrintf(PETSC_COMM_WORLD, " [%d] neighbour[%d] = %d \n", d->rank, p, d->neighbour_procs[p])); in DMSwarmDataExView()
152 …= %d) >>>>> [%d] \n", d->rank, d->messages_to_be_sent[p], d->send_tags[p], d->neighbour_procs[p])); in DMSwarmDataExView()
154 … <<<<< [%d] \n", d->rank, d->messages_to_be_recvieved[p], d->recv_tags[p], d->neighbour_procs[p])); in DMSwarmDataExView()
165 if (d->neighbour_procs) PetscCall(PetscFree(d->neighbour_procs)); in DMSwarmDataExDestroy()
187 PetscCall(PetscFree(d->neighbour_procs)); in DMSwarmDataExTopologyInitialize()
211 if (d->n_neighbour_procs == 0) PetscCall(PetscMalloc1(1, &d->neighbour_procs)); in DMSwarmDataExTopologyAddNeighbour()
215 if (d->neighbour_procs[n] == proc_id) found = 1; in DMSwarmDataExTopologyAddNeighbour()
218 PetscCall(PetscRealloc(sizeof(PetscMPIInt) * (d->n_neighbour_procs + 1), &d->neighbour_procs)); in DMSwarmDataExTopologyAddNeighbour()
219 d->neighbour_procs[d->n_neighbour_procs] = proc_id; in DMSwarmDataExTopologyAddNeighbour()
340 …ExCompleteCommunicationMap_Private(d->comm, d->n_neighbour_procs, d->neighbour_procs, &symm_nn, &s… in DMSwarmDataExTopologyFinalize()
342 PetscCall(PetscFree(d->neighbour_procs)); in DMSwarmDataExTopologyFinalize()
344 d->neighbour_procs = symm_procs; in DMSwarmDataExTopologyFinalize()
360 PetscMPIInt r1 = d->neighbour_procs[n]; in DMSwarmDataExTopologyFinalize()
380 if (proc_id == de->neighbour_procs[i]) { in _DMSwarmDataExConvertProcIdToLocalIndex()
473 PetscMPIInt proc_neighour = de->neighbour_procs[i]; in DMSwarmDataExPackInitialize()
535 …n packed. Expected %" PetscInt_FMT " : Inserted %" PetscInt_FMT, de->neighbour_procs[i], de->messa… in DMSwarmDataExPackFinalize()
540 …etscCallMPI(MPIU_Isend(&de->messages_to_be_sent[i], 1, MPIU_INT, de->neighbour_procs[i], de->send_… in DMSwarmDataExPackFinalize()
541 …allMPI(MPIU_Irecv(&de->messages_to_be_recvieved[i], 1, MPIU_INT, de->neighbour_procs[i], de->recv_… in DMSwarmDataExPackFinalize()
574 …t, de->messages_to_be_sent[i] * de->unit_message_size, MPI_CHAR, de->neighbour_procs[i], de->send_… in DMSwarmDataExBegin()
603 …->messages_to_be_recvieved[i] * de->unit_message_size, MPI_CHAR, de->neighbour_procs[i], de->recv_… in DMSwarmDataExEnd()
634 if (neigh) *neigh = de->neighbour_procs; in DMSwarmDataExTopologyGetNeighbours()