00001 #if CH_LANG_CC 00002 /* _______ __ 00003 / ___/ / ___ __ _ / / ___ 00004 / /__/ _ \/ _ \/ ' \/ _ \/ _ \ 00005 \___/_//_/\___/_/_/_/_.__/\___/ 00006 */ 00007 // 00008 // This software is copyright (C) by the Lawrence Berkeley 00009 // National Laboratory. Permission is granted to reproduce 00010 // this software for non-commercial purposes provided that 00011 // this notice is left intact. 00012 // 00013 // It is acknowledged that the U.S. Government has rights to 00014 // this software under Contract DE-AC03-765F00098 between 00015 // the U.S. Department of Energy and the University of 00016 // California. 00017 // 00018 // This software is provided as a professional and academic 00019 // contribution for joint exchange. Thus it is experimental, 00020 // is provided ``as is'', with no warranties of any kind 00021 // whatsoever, no support, no promise of updates, or printed 00022 // documentation. By using this software, you acknowledge 00023 // that the Lawrence Berkeley National Laboratory and 00024 // Regents of the University of California shall have no 00025 // liability with respect to the infringement of other 00026 // copyrights by any part of this software. 00027 // 00028 00029 // Constants used between C++ and Fortran to index the conserved and 00030 // primitive variables and to know the number of each. Also, the number 00031 // of slopes and fluxes are defined here. 00032 #endif 00033 00034 #ifndef CH_LGINTEGRATOR_H 00035 #define CH_LGINTEGRATOR_H 00036 00037 #if (CH_SPACEDIM == 2) 00038 00039 #define WRHO 0 00040 #define WVELX 1 00041 #define WVELY 2 00042 #define WPRES 3 00043 00044 #define WNUM 4 00045 #define WSLOPE 4 00046 00047 #define URHO 0 00048 #define UMOMX 1 00049 #define UMOMY 2 00050 #define UENG 3 00051 00052 #define UNUM 4 00053 #define UFLUX 4 00054 00055 #endif 00056 00057 #if (CH_SPACEDIM == 3) 00058 00059 #define WRHO 0 00060 #define WVELX 1 00061 #define WVELY 2 00062 #define WVELZ 3 00063 #define WPRES 4 00064 00065 #define WNUM 5 00066 #define WSLOPE 5 00067 00068 #define URHO 0 00069 #define UMOMX 1 00070 #define UMOMY 2 00071 #define UMOMZ 3 00072 #define UENG 4 00073 00074 #define UNUM 5 00075 #define UFLUX 5 00076 00077 #endif 00078 00079 #endif