#include <math.h>
#include <stdio.h>
#include "../../util/source/compiler.h"
#include "flux_calc.h"
#include "../../mb_cns/source/ivdep.h"
Defines | |
| #define | FIRST_ORDER 1 |
| #define | SECOND_ORDER 2 |
| #define | P_SPLIT FIRST_ORDER |
Functions | |
| int | ausm (struct flow_state QL[], struct flow_state QR[], struct flow_state QIF[], double WSL[], double WSR[], int first, int last) |
| Compute interface flux of mass, momentum and energy. | |
|
||||||||||||||||||||||||||||||||
|
Compute interface flux of mass, momentum and energy. Given the initial LEFT and RIGHT states (QL and QR) either side of an interface, compute the interface state. This solution is returned as values of the flow quantities at the interface (QIF) and the velocities of the left and right waves.
* References ... * M. -S. Liou and C. J. Steffen Jr. * A new flux splitting scheme. * NASA Technical Memorandum 104404 * |
1.4.4