Lines Matching refs:nsends
70 stash->nsends = 0; in MatStashCreate_Private()
130 PetscMPIInt nsends = stash->nsends; in MatStashScatterEnd_Ref() local
137 if (nsends) { in MatStashScatterEnd_Ref()
138 PetscCall(PetscMalloc1(2 * nsends, &send_status)); in MatStashScatterEnd_Ref()
139 PetscCallMPI(MPI_Waitall(2 * nsends, stash->send_waits, send_status)); in MatStashScatterEnd_Ref()
452 PetscMPIInt *sizes, *nlengths, nreceives, nsends, tag1 = stash->tag1, tag2 = stash->tag2; in MatStashScatterBegin_Ref() local
495 nsends = 0; in MatStashScatterBegin_Ref()
499 nsends++; in MatStashScatterBegin_Ref()
507 PetscCall(PetscGatherMessageLengths(comm, nsends, nreceives, nlengths, &onodes, &olengths)); in MatStashScatterBegin_Ref()
523 PetscCall(PetscMalloc1(2 * nsends, &send_waits)); in MatStashScatterBegin_Ref()
569 PetscCall(PetscInfo(NULL, "No of messages: %d \n", nsends)); in MatStashScatterBegin_Ref()
596 stash->nsends = nsends; in MatStashScatterBegin_Ref()