Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex11.c1115 PetscReal minMaxInd[2] = {PETSC_MAX_REAL, PETSC_MIN_REAL}, minMaxIndGlobal[2]; in adaptToleranceFVMSetUp() local
1163 minMaxInd[0] = PetscMin(minMaxInd[0], errInd); in adaptToleranceFVMSetUp()
1164 minMaxInd[1] = PetscMax(minMaxInd[1], errInd); in adaptToleranceFVMSetUp()
1186 minMaxInd[1] = -minMaxInd[1]; in adaptToleranceFVMSetUp()
1187 …PetscCallMPI(MPIU_Allreduce(minMaxInd, minMaxIndGlobal, 2, MPIU_REAL, MPI_MIN, PetscObjectComm((Pe… in adaptToleranceFVMSetUp()
/petsc/src/snes/utils/dm/
H A Ddmadapt.c861 PetscReal minMaxInd[2] = {PETSC_MAX_REAL, PETSC_MIN_REAL}, minMaxIndGlobal[2]; in DMAdaptorComputeErrorIndicator_Gradient() local
946 minMaxInd[0] = PetscMin(minMaxInd[0], errInd); in DMAdaptorComputeErrorIndicator_Gradient()
947 minMaxInd[1] = PetscMax(minMaxInd[1], errInd); in DMAdaptorComputeErrorIndicator_Gradient()
952 …PetscCall(PetscGlobalMinMaxReal(PetscObjectComm((PetscObject)adaptor), minMaxInd, minMaxIndGlobal)… in DMAdaptorComputeErrorIndicator_Gradient()