sgcoeffs.h

Go to the documentation of this file.
00001 /* 
00002    sgcoeffs.h
00003    Igor Terentyev.
00004    ****************************************************************************
00005    Coefficients for 2-2k schemes - not used anywhere, just retained for test 
00006    purposes
00007 */
00008 /*============================================================================*/
00009 
00010 #ifndef __SGCOEFFS_H_
00011 #define __SGCOEFFS_H_
00012 /*----------------------------------------------------------------------------*/
00013 
00014 static const ireal COEFF1[] = {                   -1.0e0}; /* 2-2 */
00015 static const ireal COEFF2[] = {             -9.0e0/8.0e0,           1.0e0/24.0e0}; /* 2-4 */
00016 static const ireal COEFF3[] = {           -75.0e0/64.0e0,         25.0e0/384.0e0,           -3.0e0/640.0e0}; /* 2-6 */
00017 static const ireal COEFF4[] = {       -1225.0e0/1024.0e0,       245.0e0/3072.0e0,         -49.0e0/5120.0e0,         5.0e0/7168.0e0}; /* 2-8 */
00018 static const ireal COEFF5[] = {     -19845.0e0/16384.0e0,       735.0e0/8192.0e0,       -567.0e0/40960.0e0,     405.0e0/229376.0e0,      -35.0e0/294912.0e0}; /* 2-10*/
00019 static const ireal COEFF6[] = {   -160083.0e0/131072.0e0,   12705.0e0/131072.0e0,   -22869.0e0/1310720.0e0,   5445.0e0/1835008.0e0,    -847.0e0/2359296.0e0,    63.0e0/2883584.0e0};  /* 2-12*/
00020 static const ireal COEFF7[] = { -1288287.0e0/1048576.0e0, 429429.0e0/4194304.0e0, -429429.0e0/20971520.0e0, 61347.0e0/14680064.0e0, -13013.0e0/18874368.0e0, 3549.0e0/46137344.0e0, -231.0e0/54525952.0e0}; /* 2-14*/
00021 
00022 static const ireal* SCHEME_COEFFS[7] = { COEFF1, COEFF2, COEFF3, COEFF4, COEFF5, COEFF6, COEFF7 };    
00023 /*----------------------------------------------------------------------------*/
00024 
00025 #endif /*__SGCOEFFS_H_*/

Generated on 5 Jan 2017 for IWAVEESG by  doxygen 1.4.7