Lines Matching refs:mcnt
645 PetscErrorCode PetscViewerFlowControlStart(PetscViewer viewer, PetscInt *mcnt, PetscInt *cnt) in PetscViewerFlowControlStart() argument
648 PetscCall(PetscViewerBinaryGetFlowControl(viewer, mcnt)); in PetscViewerFlowControlStart()
653 PetscErrorCode PetscViewerFlowControlStepMain(PetscViewer viewer, PetscInt i, PetscInt *mcnt, Petsc… in PetscViewerFlowControlStepMain() argument
659 if (i >= *mcnt) { in PetscViewerFlowControlStepMain()
660 *mcnt += cnt; in PetscViewerFlowControlStepMain()
661 PetscCallMPI(MPI_Bcast(mcnt, 1, MPIU_INT, 0, comm)); in PetscViewerFlowControlStepMain()
666 PetscErrorCode PetscViewerFlowControlEndMain(PetscViewer viewer, PetscInt *mcnt) in PetscViewerFlowControlEndMain() argument
672 *mcnt = 0; in PetscViewerFlowControlEndMain()
673 PetscCallMPI(MPI_Bcast(mcnt, 1, MPIU_INT, 0, comm)); in PetscViewerFlowControlEndMain()
677 …tscErrorCode PetscViewerFlowControlStepWorker(PetscViewer viewer, PetscMPIInt rank, PetscInt *mcnt) in PetscViewerFlowControlStepWorker() argument
684 if (rank < *mcnt) break; in PetscViewerFlowControlStepWorker()
685 PetscCallMPI(MPI_Bcast(mcnt, 1, MPIU_INT, 0, comm)); in PetscViewerFlowControlStepWorker()
690 PetscErrorCode PetscViewerFlowControlEndWorker(PetscViewer viewer, PetscInt *mcnt) in PetscViewerFlowControlEndWorker() argument
697 PetscCallMPI(MPI_Bcast(mcnt, 1, MPIU_INT, 0, comm)); in PetscViewerFlowControlEndWorker()
698 if (!*mcnt) break; in PetscViewerFlowControlEndWorker()