System Preprocessors
Data Fields
PreprocessorsGlobalInfo_ Struct Reference

Data Fields

PetscErrorCode(* problemmonitor )(NumericalProblem)
PetscErrorCode(* classstaticsetup )(const char *)
PetscErrorCode(* classdynamicsetup )(const char *, NumericalProblem)
 This routine is executed on the creation of a new preprocessor.
PetscErrorCode(* classproblemcloner )(const char *, const char *, int, NumericalProblem, NumericalProblem)
 This routine is invoked at the start of each preprocessor class.
PetscErrorCode(* computecategory )(char *, NumericalProblem)
 This routine is called everytime a new problem is created with a class/option pair.
PetscErrorCode(* metadatacomputer )(char *, char *, Mat, void *, PetscTruth *)
 This routine is called in sequence with the names of the required metadata categories.
PetscErrorCode(* clonecontext )(const char *, const char *, void *, void **)
PetscErrorCode(* freecontext )(void *)
PetscErrorCode(* problemsolver )(NumericalProblem, void *, NumericalSolution *)
PetscErrorCode(* problemdelete )(NumericalProblem)
PetscErrorCode(* errortracer )(NumericalProblem, NumericalSolution, const char *)
PetscErrorCode(* solutioncreator )(NumericalProblem, NumericalSolution *)
PetscErrorCode(* solutioncopy )(NumericalSolution, NumericalSolution)
PetscErrorCode(* solutiondelete )(NumericalSolution)
PetscErrorCode(* solutioncontextdelete )(NumericalSolution)

Detailed Description

Definition at line 165 of file preprocess.c.


Field Documentation

This routine is executed on the creation of a new preprocessor.

It can be used to install standard options in the preprocessor transform object.

Definition at line 172 of file preprocess.c.

Referenced by PreprocessedSolution(), and SysProDeclareFunctions().

PetscErrorCode(* PreprocessorsGlobalInfo_::classproblemcloner)(const char *, const char *, int, NumericalProblem, NumericalProblem)

This routine is invoked at the start of each preprocessor class.

It is not supposed to contain problem-dependent actions. It is useful for printing trace messages, and performing analysis on each incoming problem.

Definition at line 179 of file preprocess.c.

Referenced by SysProDeclareFunctions().

PetscErrorCode(* PreprocessorsGlobalInfo_::classstaticsetup)(const char *)

Definition at line 167 of file preprocess.c.

Referenced by DeclarePreprocessor(), and SysProDeclareFunctions().

PetscErrorCode(* PreprocessorsGlobalInfo_::clonecontext)(const char *, const char *, void *, void **)

Definition at line 188 of file preprocess.c.

Referenced by SysProDeclareFunctions(), and SysProGetContextFunctions().

This routine is called everytime a new problem is created with a class/option pair.

It can be used to copy preserved metadata elements

Definition at line 183 of file preprocess.c.

Referenced by ChooseFirstTransform().

PetscErrorCode(* PreprocessorsGlobalInfo_::freecontext)(void *)

Definition at line 189 of file preprocess.c.

Referenced by SysProDeclareFunctions(), and SysProGetContextFunctions().

PetscErrorCode(* PreprocessorsGlobalInfo_::metadatacomputer)(char *, char *, Mat, void *, PetscTruth *)

This routine is called in sequence with the names of the required metadata categories.

Definition at line 187 of file preprocess.c.

Definition at line 191 of file preprocess.c.

Referenced by SysProDeclareFunctions(), and SysProPreprocessorEndFunction().

Definition at line 166 of file preprocess.c.

Referenced by PreprocessorSpecificSetup(), and SysProDeclareProblemMonitor().

Definition at line 196 of file preprocess.c.

Referenced by PreprocessedSolution(), and SysProDeclareFunctions().

Definition at line 194 of file preprocess.c.

Referenced by SysProDeclareFunctions(), and SysProPreprocessorEndFunction().

Definition at line 193 of file preprocess.c.

Referenced by SysProDeclareFunctions(), and SysProPreprocessorEndFunction().


The documentation for this struct was generated from the following file: