petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscUnlikely

hints the compiler that the given condition is usually FALSE

Synopsis

#include <petscsys.h>
PetscBool  PetscUnlikely(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.

See Also

PetscUnlikelyDebug(), PetscLikely(), CHKERRQ

Level

advanced

Location

include/petscsys.h

Examples

src/sys/tutorials/ex6.c.html

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages