Go to the documentation of this file.00001 #ifndef RECONSTRUCTION_PROTOTYPES_H
00002 #define RECONSTRUCTION_PROTOTYPES_H
00003 #include "../copyright.h"
00004
00005
00006
00007
00008 #include <stdio.h>
00009 #include <stdarg.h>
00010 #include "../athena.h"
00011 #include "../defs.h"
00012
00013 #include "../config.h"
00014
00015
00016 #if defined(BAROTROPIC) && defined(HYDRO)
00017 void esys_prim_iso_hyd(const Real d, const Real v1,
00018 Real eigenvalues[],
00019 Real right_eigenmatrix[][4], Real left_eigenmatrix[][4]);
00020 #endif
00021
00022 #if !defined(BAROTROPIC) && defined(HYDRO)
00023 void esys_prim_adb_hyd(const Real d, const Real v1, const Real p,
00024 Real eigenvalues[],
00025 Real right_eigenmatrix[][5], Real left_eigenmatrix[][5]);
00026 #endif
00027
00028 #if defined(BAROTROPIC) && defined(MHD)
00029 void esys_prim_iso_mhd(const Real d, const Real v1, const Real b1,
00030 const Real b2, const Real b3, Real eigenvalues[],
00031 Real right_eigenmatrix[][6], Real left_eigenmatrix[][6]);
00032 #endif
00033
00034 #if !defined(BAROTROPIC) && defined(MHD)
00035 void esys_prim_adb_mhd(const Real d, const Real v1, const Real rho_a2,
00036 const Real b1, const Real b2, const Real b3, Real eigenvalues[],
00037 Real right_eigenmatrix[][7], Real left_eigenmatrix[][7]);
00038 #endif
00039
00040
00041
00042 void lr_states_destruct(void);
00043 void lr_states_init(MeshS *pM);
00044 void lr_states(const GridS* pG, const Prim1DS W[], const Real Bxc[],
00045 const Real dt, const Real dx, const int is, const int ie,
00046 Prim1DS Wl[], Prim1DS Wr[], const int dir);
00047
00048 #endif