Home
last modified time | relevance | path

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

/petsc/src/sys/classes/draw/interface/
H A Ddmouse.c28 PetscReal bcast[4] = {0, 0, 0, 0}; in PetscDrawGetMouseButton() local
39 if (x_user) bcast[0] = *x_user; in PetscDrawGetMouseButton()
40 if (y_user) bcast[1] = *y_user; in PetscDrawGetMouseButton()
41 if (x_phys) bcast[2] = *x_phys; in PetscDrawGetMouseButton()
42 if (y_phys) bcast[3] = *y_phys; in PetscDrawGetMouseButton()
43 PetscCallMPI(MPI_Bcast(bcast, 4, MPIU_REAL, 0, PetscObjectComm((PetscObject)draw))); in PetscDrawGetMouseButton()
44 if (x_user) *x_user = bcast[0]; in PetscDrawGetMouseButton()
45 if (y_user) *y_user = bcast[1]; in PetscDrawGetMouseButton()
46 if (x_phys) *x_phys = bcast[2]; in PetscDrawGetMouseButton()
47 if (y_phys) *y_phys = bcast[3]; in PetscDrawGetMouseButton()