Home
last modified time | relevance | path

Searched refs:minsideout (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/event/
H A Dtsevent.c779 PetscInt minsidein = 2, minsideout = 2; // minsideout is sync on all ranks in TSEventHandler() local
822 …PetscCallMPI(MPIU_Allreduce(&minsidein, &minsideout, 1, MPIU_INT, MPI_MIN, PetscObjectComm((PetscO… in TSEventHandler()
830 …PetscCheck(!event->revisit_right || minsideout == 0, PetscObjectComm((PetscObject)ts), PETSC_ERR_P… in TSEventHandler()
832 …if (minsideout == -1 || minsideout == +1) { … in TSEventHandler()
833 …const PetscReal bracket_size = (minsideout == -1) ? t - event->ptime_prev : event->ptime_right - t… in TSEventHandler()
835 …if (minsideout == +1 && bracket_size <= event->timestep_min) { // check if the bracket (right) is … in TSEventHandler()
849 if (event->side[i] == minsideout) { // only refine the appropriate brackets in TSEventHandler()
859 …if (minsideout == -1) { // minsideout == -1, update the right-end values, retain the left-end valu… in TSEventHandler()
866 if (event->side[i] == minsideout) { in TSEventHandler()
876 …} else if (minsideout == 0) { // found the appropriate zero-crossing (and no brackets to the left)… in TSEventHandler()
[all …]