#include <stdlib.h>#include "syspro.h"#include "anamodsalsamodules.h"#include "sysprotransform.h"#include "sysprolinear.h"#include "anamod.h"#include "nmd.h"#include "testmat.c"Go to the source code of this file.
Functions | |
| static PetscErrorCode | create_solver (NumericalProblem prob, void **ctx) |
| static PetscErrorCode | destroy_solver (void *ctx) |
| static PetscErrorCode | setup_pc_choices () |
| static PetscErrorCode | setup_pc (char *type, int pcv, PetscTruth overwrite, NumericalProblem inproblem, NumericalProblem *outproblem, void *gctx, void **ctx, PetscTruth *success) |
| static PetscErrorCode | unset_pc (char *type, PetscTruth overwrite, void *ctx, void *gctx, NumericalProblem thisproblem, NumericalProblem upproblem, NumericalSolution old, NumericalSolution nnew) |
| static PetscErrorCode | solvelinear (NumericalProblem problem, void *dum, NumericalSolution *rsol) |
| int | main (int argc, char **argv) |
| static PetscErrorCode create_solver | ( | NumericalProblem | prob, | |
| void ** | ctx | |||
| ) | [static] |
| static PetscErrorCode destroy_solver | ( | void * | ctx | ) | [static] |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 131 of file u15.c.
References CHKERRQ(), create_solver(), CreateLinearSystem(), DeclarePreprocessor(), DeclareSingletonPreprocessor(), destroy_solver(), ierr, LinearCreateNumericalSolution(), LinearDeleteNumericalSolution(), LinearSolutionGetVector(), LinearSystemGetMetadata(), LinearSystemSetMetadata(), LinearSystemSetParts(), PreprocessedProblemSolving(), PreprocessorsOptionsHandling(), setup_pc(), setup_pc_choices(), solvelinear(), SysProDeclareFunctions(), SysProDeclareTraceFunction(), SysProDefaultTrace(), SysProFinalize(), and SysProInitialize().
| static PetscErrorCode setup_pc | ( | char * | type, | |
| int | pcv, | |||
| PetscTruth | overwrite, | |||
| NumericalProblem | inproblem, | |||
| NumericalProblem * | outproblem, | |||
| void * | gctx, | |||
| void ** | ctx, | |||
| PetscTruth * | success | |||
| ) | [static] |
| static PetscErrorCode setup_pc_choices | ( | ) | [static] |
| static PetscErrorCode solvelinear | ( | NumericalProblem | problem, | |
| void * | dum, | |||
| NumericalSolution * | rsol | |||
| ) | [static] |
Definition at line 110 of file u15.c.
References CHKERRQ(), ierr, LinearCreateNumericalSolution(), LinearSolutionSetVector(), and LinearSystemGetParts().
Referenced by main().
| static PetscErrorCode unset_pc | ( | char * | type, | |
| PetscTruth | overwrite, | |||
| void * | ctx, | |||
| void * | gctx, | |||
| NumericalProblem | thisproblem, | |||
| NumericalProblem | upproblem, | |||
| NumericalSolution | old, | |||
| NumericalSolution | nnew | |||
| ) | [static] |
1.5.9