TYCHO  1.3.0
 All Data Structures Files Functions Variables Enumerations Enumerator
Functions
/home/kapf/tycho_docu/volume.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "prototypes.h"
#include "variables_global.h"

Go to the source code of this file.

Functions

int volume (int nmin, int nmax, double *dvol, double *dx, double *dvol0, double *dx0)

Function Documentation

int volume ( int  nmin,
int  nmax,
double *  dvol,
double *  dx,
double *  dvol0,
double *  dx0 
)

Definition at line 16 of file volume.c.

Referenced by diffusion(), and ppm_step().

{
int i;
for (i = nmin - 3; i <= nmax + 4; i++) {
dvol[i] = dx[i];
dvol0[i] = dx0[i];
}
return 0;
}