Lines Matching refs:comm
76 MPI_Comm comm = PetscObjectComm((PetscObject)dm); in Surface_Forces_NS() local
110 …CallMPI(MPIU_Allreduce(MPI_IN_PLACE, reaction_force, dim * num_walls, MPIU_SCALAR, MPI_SUM, comm)); in Surface_Forces_NS()
245 PetscCall(PetscViewerBinaryOpen(honee->comm, file_path, FILE_MODE_WRITE, &viewer)); in WriteOutput()
332 MPI_Comm comm; in TSPostStep_MaxWallTime() local
339 PetscCall(PetscObjectGetComm((PetscObject)ts, &comm)); in TSPostStep_MaxWallTime()
340 PetscCallMPI(MPI_Comm_rank(comm, &rank)); in TSPostStep_MaxWallTime()
343 PetscCallMPI(MPI_Bcast(&is_wall_time_exceeded, 1, MPI_C_BOOL, 0, comm)); in TSPostStep_MaxWallTime()
378 MPI_Comm comm = PetscObjectComm((PetscObject)ts); in HoneeTSEvaluationSolutions() local
395 PetscCall(PetscOptionsCreateViewer(comm, NULL, NULL, option, &viewer, &format, &is_viewer_set)); in HoneeTSEvaluationSolutions()
397 …PetscCall(PetscPrintf(comm, "\n\nWARNING: Viewer not set for TSEvaluationSolutions. Set %s to save… in HoneeTSEvaluationSolutions()
411 MPI_Comm comm = honee->comm; in TSSolve_NS() local
416 PetscCall(TSCreate(comm, ts)); in TSSolve_NS()
430 PetscCheck(honee->op_rhs_ctx, comm, PETSC_ERR_ARG_NULL, "Problem does not provide RHSFunction"); in TSSolve_NS()
477 PetscOptionsBegin(comm, NULL, "HONEE TS Monitor Options", NULL); in TSSolve_NS()