System Preprocessors
Functions
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 (const char *preprocess, const char *cats)
PetscErrorCode PreprocessorGetPreservedCategories (const char *preprocess, const 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 75 of file compute.c.

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

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