compute.c File Reference

System/Anamod and NMD interface. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "petscmat.h"
#include "syspro.h"
#include "syspro_impl.h"

Go to the source code of this file.

Functions

PetscErrorCode PreprocessorSetPreservedCategories (char *preprocess, char *cats)
PetscErrorCode PreprocessorGetPreservedCategories (char *preprocess, char **cats)
PetscErrorCode DeclarePreprocessorRequiredCategories (char *name, char *required)


Detailed Description

System/Anamod and NMD interface.

Definition in file compute.c.


Function Documentation

PetscErrorCode DeclarePreprocessorRequiredCategories ( char *  name,
char *  required 
)

Indicate which metadata categories need to be computed for a successful application of this preprocessor.

Arguments:

  • name : name of the current preprocessor
  • required : comma-separated list of metadata categories

Definition at line 73 of file compute.c.

References CHKERRQ(), ierr, SystemPreprocessor_::required, and SystemPreprocessorGetByName().

PetscErrorCode PreprocessorGetPreservedCategories ( char *  preprocess,
char **  cats 
)

PetscErrorCode PreprocessorSetPreservedCategories ( char *  preprocess,
char *  cats 
)


Generated on Sun Oct 4 04:03:04 2009 for System Preprocessors by  doxygen 1.5.9