next up previous
Next: Testing the code Up: Making a hydrodynamics code Previous: Source term integration

Boundary conditions

The boundary conditions are usually dealt with using one or more ghost cells, in our Fortran case these are cells 0 and meshmax+1. Before the integration step the value for W is set in a pre-determined way, depending on the problem. Possible choices are:

Garrelt Mellema 2003-01-20