Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 9 of 9) sorted by relevance

/petsc/src/sys/tests/linter/
H A DtestDuplicates.c54 PetscErrorCode testNoDuplicatesSwitch(PetscInt *a, PetscScalar *b, PetscBool cond) in testNoDuplicatesSwitch()
71 PetscErrorCode testDuplicatesNoChangesSwitch(PetscInt *a, PetscScalar *b, PetscBool cond) in testDuplicatesNoChangesSwitch()
91 PetscErrorCode testNoDuplicatesIfElse(PetscInt *a, PetscScalar *b, PetscBool cond) in testNoDuplicatesIfElse()
105 PetscErrorCode testDuplicatesIfElse(PetscInt *a, PetscScalar *b, PetscBool cond) in testDuplicatesIfElse()
122 PetscErrorCode testNoDuplicatesIfElseIfElse(PetscInt *a, PetscScalar *b, PetscBool cond) in testNoDuplicatesIfElseIfElse()
H A DtestValidFunctionDocStrings.c77 …Code testIllFormedFunctionDocString(PetscViewer viewer, PetscInt x, PetscScalar *y, PetscBool cond) in testIllFormedFunctionDocString()
/petsc/include/petsc/private/
H A Dpetscadvancedmacros.h40 #define PetscIf(cond, result_if_true, ...) PetscConcat_(PETSC_IF_INTERNAL_, cond)(result_if_true, _… argument
69 #define PetscIfPetscDefined(cond, result_if_true, ...) PetscIf(PetscDefined(cond), result_if_true, … argument
/petsc/include/
H A Dpetscerror.h191 #define PetscCheck(cond, comm, ierr, ...) \ argument
219 #define PetscCheckReturnMPI(cond, comm, ierr, ...) \ argument
249 #define PetscCheckAbort(cond, comm, ierr, ...) \ argument
281 #define PetscAssert(cond, comm, ierr, ...) PetscCheck(cond, comm, ierr, __VA_ARGS__) argument
283 #define PetscAssert(cond, ...) PetscAssume(cond) argument
309 #define PetscAssertAbort(cond, comm, ierr, ...) PetscCheckAbort(cond, comm, ierr, __VA_ARGS__) argument
311 #define PetscAssertAbort(cond, comm, ierr, ...) PetscAssume(cond) argument
H A Dpetscmacros.h594 #define PetscUnlikely(cond) __builtin_expect(!!(cond), 0) argument
595 #define PetscLikely(cond) __builtin_expect(!!(cond), 1) argument
597 #define PetscUnlikely(cond) (cond) argument
598 #define PetscLikely(cond) (cond) argument
1028 #define PetscUnlikelyDebug(cond) (PetscDefined(USE_DEBUG) && PetscUnlikely(cond)) argument
/petsc/src/dm/dt/tests/
H A Dex13.c45 … PetscErrorCode test(PetscInt dim, PetscInt deg, PetscInt form, PetscInt jetDegree, PetscBool cond) in test()
95 PetscReal cond = S[0] / S[Nbpt - 1]; in test() local
291 PetscBool cond = PETSC_FALSE; in main() local
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx180 static PetscErrorCode PetscDeviceCheckCapable_Private(PetscDeviceContext dctx, bool cond, const cha… in PetscDeviceCheckCapable_Private()
/petsc/src/sys/objects/device/tests/
H A Dex11.cxx74 PETSC_ATTRIBUTE_FORMAT(10, 11) static PetscErrorCode CheckMarkedObjectMap_Private(PetscBool cond, c… in CheckMarkedObjectMap_Private()
/petsc/src/dm/impls/plex/
H A Dplex.c9941 PetscReal frobJ = 0., frobInvJ = 0., cond2, cond, detJ; in DMPlexCheckCellShape() local