System Preprocessors
Functions
u3.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 delprob (NumericalProblem p)
static PetscErrorCode makesol (NumericalProblem p, NumericalSolution *rs)
static PetscErrorCode delsol (NumericalSolution s)
static PetscErrorCode adder (const char *choice, int optionvalue, PetscTruth overwrite, NumericalProblem oldproblem, NumericalProblem *rnew, void *ctx, void **lctx, PetscTruth *success)
static PetscErrorCode unadder (const 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 ( const char *  choice,
int  optionvalue,
PetscTruth  overwrite,
NumericalProblem  oldproblem,
NumericalProblem rnew,
void *  ctx,
void **  lctx,
PetscTruth *  success 
) [static]

Definition at line 63 of file u3.c.

References CHKERRQ(), ierr, and SysProTraceMessage().

Referenced by main().

static PetscErrorCode declareadders ( ) [static]

Definition at line 97 of file u3.c.

References CHKERRQ(), ierr, and NewTransformObject().

Referenced by main().

static PetscErrorCode delprob ( NumericalProblem  p) [static]

Definition at line 28 of file u3.c.

References CHKERRQ(), and ierr.

Referenced by main().

static PetscErrorCode delsol ( NumericalSolution  s) [static]

Definition at line 51 of file u3.c.

References CHKERRQ(), and ierr.

Referenced by main().

int main ( int  argc,
char **  argv 
)
static PetscErrorCode makesol ( NumericalProblem  p,
NumericalSolution rs 
) [static]

Definition at line 39 of file u3.c.

References CHKERRQ(), and ierr.

Referenced by main().

static PetscErrorCode solvebycopy ( NumericalProblem  problem,
void *  dum,
NumericalSolution rsol 
) [static]

Definition at line 14 of file u3.c.

References CHKERRQ(), ierr, and SysProTraceMessage().

Referenced by main().

static PetscErrorCode unadder ( const char *  choice,
PetscTruth  overwrite,
void *  ctx,
void *  lctx,
NumericalProblem  pproblem,
NumericalProblem  oproblem,
NumericalSolution  psol,
NumericalSolution  osol 
) [static]

Definition at line 84 of file u3.c.

Referenced by main().