System Preprocessors
|
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) |
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 75 of file compute.c.
References CHKERRQ(), ierr, SystemPreprocessor_::required, and SystemPreprocessorGetByName().
PetscErrorCode PreprocessorGetPreservedCategories | ( | const char * | preprocess, |
const char ** | cats | ||
) |
Definition at line 55 of file compute.c.
References CHKERRQ(), ierr, SystemPreprocessor_::preserved, and SystemPreprocessorGetByName().
PetscErrorCode PreprocessorSetPreservedCategories | ( | const char * | preprocess, |
const char * | cats | ||
) |
Definition at line 33 of file compute.c.
References CHKERRQ(), ierr, SystemPreprocessor_::preserved, and SystemPreprocessorGetByName().
Referenced by DeclareApproximationPreprocessor(), DeclareDistributionPreprocessor(), DeclareFlipsignPreprocessor(), DeclareKSPPreprocessor(), DeclarePCPreprocessor(), DeclareScalingPreprocessor(), and DeclareSingletonPreprocessor().