#include <stdlib.h>
#include "syspro.h"
#include "sysprotransform.h"
#include "sysprolinear.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 (const char *type, int pcv, PetscTruth overwrite, NumericalProblem inproblem, NumericalProblem *outproblem, void *gctx, void **ctx, PetscTruth *success) |
static PetscErrorCode | solvelinear (NumericalProblem problem, void *dum, NumericalSolution *rsol) |
static PetscErrorCode | destroysolution (NumericalSolution sol) |
int | main (int argc, char **argv) |
Function Documentation
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 134 of file u13.c.
References CHKERRQ(), create_solver(), CreateLinearSystem(), DeclarePreprocessor(), destroy_solver(), destroysolution(), ierr, LinearSystemSetParts(), PreprocessedProblemSolving(), PreprocessorsOptionsHandling(), setup_pc(), setup_pc_choices(), solvelinear(), SysProDeclareFunctions(), SysProDeclareTraceFunction(), SysProDefaultTrace(), SysProFinalize(), and SysProInitialize().
static PetscErrorCode setup_pc |
( |
const char * |
type, |
|
|
int |
pcv, |
|
|
PetscTruth |
overwrite, |
|
|
NumericalProblem |
inproblem, |
|
|
NumericalProblem * |
outproblem, |
|
|
void * |
gctx, |
|
|
void ** |
ctx, |
|
|
PetscTruth * |
success |
|
) |
| [static] |
static PetscErrorCode setup_pc_choices |
( |
| ) |
[static] |