07.08.2013 Views

skade eaction ffusion ne-dimensional System - ZIB

skade eaction ffusion ne-dimensional System - ZIB

skade eaction ffusion ne-dimensional System - ZIB

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

haper<br />

r o g e r only<br />

This chapter gives some information to get a feeling for the internal structur<br />

of the program Of course, it cannot mention all details. Furthermore<br />

for a better understanding it is <strong>ne</strong>cessary o read al header and c-files of<br />

K ARD OS very carefully.<br />

5.1 Defining a time problem<br />

To include all data of a initial boundary value problem two <strong>ne</strong>w data struc<br />

ures are added.<br />

struct timeProblem<br />

char *name;<br />

int (*Parabolic)(...);<br />

int (*Laplace)(...);<br />

int (*onvection)(...);<br />

int (*elmholtz)(...);<br />

int (*ource)(...);<br />

int (*Jacobian)(...);<br />

real (*InitialFunc)(...);<br />

int (*auchy)(...);<br />

int (*irichlet)(...);<br />

int (*ol)(...);<br />

struct timeProblemType<br />

char *name;<br />

int maxNoOfTimeProblems;<br />

int noOfEquations;<br />

The access to these srucures is realized by he pointers<br />

timeProblem *actTimeProblem, *timeProblems;<br />

timeProblemType *theTimeProblem;<br />

Furthermore, there are some functions t announc ertain problms within<br />

he program<br />

int etTimeProblem(char *name, char **varames<br />

int *Parabolic,<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!