Searched refs:newThresh (Results 1 – 2 of 2) sorted by relevance
5 …ode PetscLogHandlerNestedSetThreshold(PetscLogHandler h, PetscLogDouble newThresh, PetscLogDouble … in PetscLogHandlerNestedSetThreshold() argument11 if (newThresh == (PetscLogDouble)PETSC_DECIDE) newThresh = 0.01; in PetscLogHandlerNestedSetThreshold()12 if (newThresh == (PetscLogDouble)PETSC_DEFAULT) newThresh = 0.01; in PetscLogHandlerNestedSetThreshold()13 nested->threshold = PetscMax(newThresh, 0.0); in PetscLogHandlerNestedSetThreshold()
2133 PetscErrorCode PetscLogSetThreshold(PetscLogDouble newThresh, PetscLogDouble *oldThresh) in PetscLogSetThreshold() argument2139 PetscCall(PetscLogHandlerNestedSetThreshold(handler, newThresh, oldThresh)); in PetscLogSetThreshold()