#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include "petsc.h"
#include "anamod.h"
Go to the source code of this file.
Functions | |
PetscErrorCode | CategoryLogEventRegister (char *cat, int icat) |
Definition in file logging.c.
PetscErrorCode CategoryLogEventRegister | ( | char * | cat, | |
int | icat | |||
) |
Definition at line 20 of file logging.c.
00021 { 00022 PetscLogEvent catevent; PetscCookie cookie; PetscErrorCode ierr; 00023 PetscFunctionBegin; 00024 ierr = PetscCookieRegister("Anamod events",&cookie); CHKERRQ(ierr); 00025 ierr = PetscLogEventRegister(cat,cookie,&catevent); CHKERRQ(ierr); 00026 // catevents[icat] = catevent; 00027 PetscFunctionReturn(0); 00028 }