PETSc version 3.15.5
Fix/Edit manual page

PetscUnlikelyDebug

hints the compiler that the given condition is usually FALSE, eliding the check in optimized mode

Synopsis

#include <petscsys.h>
PetscBool  PetscUnlikelyDebug(PetscBool  cond)
Not Collective

Input Parameters

cond - condition or expression

Notes

This returns the same truth value, it is only a hint to compilers that the resulting branch is unlikely. When compiled in optimized mode, it always returns false.

See Also

PetscUnlikely(), CHKERRQ, SETERRQ

Level

advanced

Location

include/petscsys.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages