u4.c File Reference
#include <stdlib.h>
#include "syspro.h"
#include "sysprotransform.h"
#include "string.h"
Go to the source code of this file.
|
Functions |
static PetscErrorCode | solvebycopy (NumericalProblem problem, void *dum, NumericalSolution *rsol) |
static PetscErrorCode | makeintctx (NumericalProblem problem, void **ctx) |
static PetscErrorCode | delintctx (void *ctx) |
static PetscErrorCode | delprob (NumericalProblem p) |
static PetscErrorCode | makesol (NumericalProblem p, NumericalSolution *rs) |
static PetscErrorCode | delsol (NumericalSolution s) |
static PetscErrorCode | adder (char *choice, int optionvalue, PetscTruth overwrite, NumericalProblem oldproblem, NumericalProblem *rnew, void *ctx, void **lctx, PetscTruth *success) |
static PetscErrorCode | unadder (char *choice, PetscTruth overwrite, void *ctx, void *lctx, NumericalProblem pproblem, NumericalProblem oproblem, NumericalSolution psol, NumericalSolution osol) |
static PetscErrorCode | declareadders () |
int | main (int argc, char **argv) |
Function Documentation
static PetscErrorCode adder |
( |
char * |
choice, |
|
|
int |
optionvalue, |
|
|
PetscTruth |
overwrite, |
|
|
NumericalProblem |
oldproblem, |
|
|
NumericalProblem * |
rnew, |
|
|
void * |
ctx, |
|
|
void ** |
lctx, |
|
|
PetscTruth * |
success | |
|
) |
| | [static] |
static PetscErrorCode declareadders |
( |
|
) |
[static] |
static PetscErrorCode delintctx |
( |
void * |
ctx |
) |
[static] |
int main |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |
Definition at line 137 of file u4.c.
References adder(), CHKERRQ(), declareadders(), DeclarePreprocessor(), delintctx(), delprob(), delsol(), ierr, makeintctx(), makesol(), PreprocessedProblemSolving(), PreprocessorsOptionsHandling(), solvebycopy(), SysProDeclareFunctions(), SysProDeclareTraceFunction(), SysProDefaultTrace(), SysProFinalize(), SysProInitialize(), and unadder().
static PetscErrorCode makeintctx |
( |
NumericalProblem |
problem, |
|
|
void ** |
ctx | |
|
) |
| | [static] |