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.

5.4 Grid managent<br />

The program KASKADE supports work with several grids which are con<strong>ne</strong>cted<br />

to a list. A time integration requires to exchange values on differently<br />

efi<strong>ne</strong>d grids. This leads to cos eek algorihms. To be more efective here,<br />

he srucure EDG is enlarged he <strong>ne</strong>w elent<br />

*twin<br />

If the considered edge exists in he other triangulation, then this elemen<br />

points at he corresponding element, otherwise it is nil. In the structur<br />

TRIANGULATION the <strong>ne</strong>w element int twinRelation stands for the e<br />

istence of such a relation between two triangulations.<br />

To work wih tw grids the folowing funcons can be used:<br />

int SetTwinRelOnCoarseGrids(TRIANGULATI *t,RIUL *t)<br />

inializes the twirelaton of two arse grids.<br />

DG *FindBrotherEdge(real ,EDG *edFrom<br />

nds the edge of the other grid n which a given poin ies.<br />

real InterpolateInEdge(real E *edn,int var,int inde<br />

gives back an nterpolated value.<br />

17

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

Saved successfully!

Ooh no, something went wrong!