#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "variables_global.h"
#include "prototypes.h"
Go to the source code of this file.
Functions | |
double | max_states (double a, double b) |
int | states (int nmin, int nmax, int flag, double *pre_1D, double *rho_1D, double *dx, double *Cdtdx, double *fCdtdx, double *plft, double *pl, double *dp, double *p6, double *ulft, double *ul, double *du, double *u6, double *rlft, double *rl, double *dr, double *r6, double *prgh, double *urgh, double *rrgh) |
|
inline |
int states | ( | int | nmin, |
int | nmax, | ||
int | flag, | ||
double * | pre_1D, | ||
double * | rho_1D, | ||
double * | dx, | ||
double * | Cdtdx, | ||
double * | fCdtdx, | ||
double * | plft, | ||
double * | pl, | ||
double * | dp, | ||
double * | p6, | ||
double * | ulft, | ||
double * | ul, | ||
double * | du, | ||
double * | u6, | ||
double * | rlft, | ||
double * | rl, | ||
double * | dr, | ||
double * | r6, | ||
double * | prgh, | ||
double * | urgh, | ||
double * | rrgh | ||
) |
Get hydroquantities at cell centres and faces.
Definition at line 30 of file states.c.
References dt, Gamma1, grav_acc, gravity_on_off, max_states(), smallp, and smallr.
Referenced by ppm_step().