source:
CIVL/mods/dev.civl.com/examples/compare/PETSc/petsc.c@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 363 bytes | |
| Rev | Line | |
|---|---|---|
| [284c04d] | 1 | /* This file completes the definitions of some functions |
| 2 | * which are declared in petsc.h. | |
| 3 | */ | |
| 4 | #include "petsc.h" | |
| 5 | ||
| 6 | ||
| 7 | /* Adds floating point operations to the global counter. */ | |
| 8 | PetscErrorCode PetscLogFlops(double ) {return 0;} | |
| 9 | ||
| 10 | /* Checks error code, if non-zero it calls the error handler and then | |
| 11 | * returns */ | |
| 12 | PetscErrorCode CHKERRQ(PetscErrorCode ) {return 0;} |
Note:
See TracBrowser
for help on using the repository browser.
