Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

e_invs.h File Reference

Prototypes for functions to compute inviscid fluxes. More...

#include <stdio.h>
#include <stdlib.h>
#include "../../util/source/useful.h"
#include "../../util/source/logfile.h"
#include "../../gas_models/source/gas.h"
#include "../../flux_calc/source/flux_calc.h"
#include "../../mb_cns/source/cns_case_id.h"
#include "../../mb_cns/source/cns_work_vector.h"
#include "../../mb_cns/source/cns_debug_level.h"
#include "../../mb_cns/source/cns_cell.h"
#include "../../mb_cns/source/cns_echo.h"
#include "../../mb_cns/source/cns_bc_defs.h"
#include "./e_block.h"

Go to the source code of this file.

Functions

int inviscid_flux_3D (struct block_data_3D *bp)
int interp_I_face (struct block_data_3D *bp, int j, int k, struct flow_state Lft[], struct flow_state Rght[])
 Given the cell-center values, interpolate to get LEFT and RIGHT interface states (in the X,Y-frame of reference) for a set of I-interfaces.
int interp_J_face (struct block_data_3D *bp, int i, int k, struct flow_state Lft[], struct flow_state Rght[])
 Given the cell-center values, interpolate to get LEFT and RIGHT interface states (in the X,Y-frame of reference) for a set of J-interfaces.
int interp_K_face (struct block_data_3D *bp, int i, int j, struct flow_state Lft[], struct flow_state Rght[])
 Given the cell-center values, interpolate to get LEFT and RIGHT interface states (in the X,Y-frame of reference) for a set of K-interfaces.


Detailed Description

Prototypes for functions to compute inviscid fluxes.

Author:
PJ
Version:
August 2004 bring code over from mb_cns.

Function Documentation

int interp_I_face struct block_data_3D bp,
int  j,
int  k,
struct flow_state  Lft[],
struct flow_state  Rght[]
 

Given the cell-center values, interpolate to get LEFT and RIGHT interface states (in the X,Y-frame of reference) for a set of I-interfaces.

We assume that ghost cells have been set up with appropriate values. The approach taken is to ignore grid distortions and perform one dimensional projection/interpolation in the i-index direction.

bp : pointer to a block_data_3D structure. j, k : fixed indices Lft,Rght : arrays of LEFT and RIGHT flow states

int interp_J_face struct block_data_3D bp,
int  i,
int  k,
struct flow_state  Lft[],
struct flow_state  Rght[]
 

Given the cell-center values, interpolate to get LEFT and RIGHT interface states (in the X,Y-frame of reference) for a set of J-interfaces.

We assume that ghost cells have been set up with appropriate values. The approach taken is to ignore grid distortions and perform one dimensional projection/interpolation in the i-index direction.

bp : pointer to a block_data_3D structure. i, k : fixed indices Lft,Rght : arrays of LEFT and RIGHT flow states

int interp_K_face struct block_data_3D bp,
int  i,
int  j,
struct flow_state  Lft[],
struct flow_state  Rght[]
 

Given the cell-center values, interpolate to get LEFT and RIGHT interface states (in the X,Y-frame of reference) for a set of K-interfaces.

We assume that ghost cells have been set up with appropriate values. The approach taken is to ignore grid distortions and perform one dimensional projection/interpolation in the i-index direction.

bp : pointer to a block_data_3D structure. i, j : fixed indices Lft,Rght : arrays of LEFT and RIGHT flow states


Generated on Tue Oct 25 10:24:12 2005 for CFCFD by  doxygen 1.4.4