#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) |
Definition in file compute.c.
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 preprocessorrequired
: 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 | |||
) |
Definition at line 53 of file compute.c.
References CHKERRQ(), ierr, SystemPreprocessor_::preserved, and SystemPreprocessorGetByName().
PetscErrorCode PreprocessorSetPreservedCategories | ( | char * | preprocess, | |
char * | cats | |||
) |
Definition at line 32 of file compute.c.
References CHKERRQ(), ierr, SystemPreprocessor_::preserved, and SystemPreprocessorGetByName().
Referenced by DeclareApproximationPreprocessor(), DeclareDistributionPreprocessor(), DeclareFlipsignPreprocessor(), DeclareKSPPreprocessor(), DeclarePCPreprocessor(), DeclareScalingPreprocessor(), and DeclareSingletonPreprocessor().