00001
00002
00003
00004
00005
00006
00007 #ifdef STORM_USEF
00008 #include "rtmraputwavcoef_.h"
00009 #include "drtmraputwavcoef_.h"
00010 #include "irtmraputwavcoef_.h"
00011 #include "artmraputwavcoef1_.h"
00012 #include "dartmraputwavcoef1_.h"
00013 #include "iartmraputwavcoef1_.h"
00014 #endif
00015
00016 void rtmraputwavcoef(
00017 const int& Msize,
00018 const int& mmax,
00019 const int& mrastep,
00020 float* mracoef,
00021 const int& m,
00022 const float& wavcoef
00023 ) {
00024 #ifdef STORM_USEF
00025 rtmraputwavcoef_( &Msize, &mmax, &mrastep, mracoef, &m, &wavcoef );
00026 #else
00027 if ( ( m >= 0 ) && ( m <= mmax ) ) { mracoef[ 2*m + 1 ] = wavcoef; }
00028 #endif
00029 }
00030
00031
00032 void rtmraputwavcoef(
00033 const int& Msize,
00034 const int& mmax,
00035 const int& mrastep,
00036 double* mracoef,
00037 const int& m,
00038 const double& wavcoef
00039 ) {
00040 #ifdef STORM_USEF
00041 drtmraputwavcoef_( &Msize, &mmax, &mrastep, mracoef, &m, &wavcoef );
00042 #else
00043 if ( ( m >= 0 ) && ( m <= mmax ) ) { mracoef[ 2*m + 1 ]=wavcoef; }
00044 #endif
00045 }
00046
00047
00048 void rtmraputwavcoef(
00049 const int& Msize,
00050 const int& mmax,
00051 const int& mrastep,
00052 int* mracoef,
00053 const int& m,
00054 const int& wavcoef
00055 ) {
00056 #ifdef STORM_USEF
00057 irtmraputwavcoef_( &Msize, &mmax, &mrastep, mracoef, &m, &wavcoef );
00058 #else
00059 if ( ( m >= 0 ) && ( m <= mmax ) ) { mracoef[ 2*m + 1 ]=wavcoef; }
00060 #endif
00061 }
00062
00063
00064 void rtmraputwavcoef(
00065 const int& Asize,
00066 const int& Msize,
00067 const int& amax,
00068 const int& mmax,
00069 const int& mrastep,
00070 float* mracoef,
00071 const int& a,
00072 const int& m,
00073 const float& wavcoef
00074 ) {
00075 #ifdef STORM_USEF
00076 artmraputwavcoef1_(
00077 &Asize, &Msize,
00078 &amax, &mmax,
00079 &mrastep, mracoef,
00080 &a, &m, &wavcoef
00081 );
00082 #else
00083 if ( ( a >= 0 ) && ( a <= amax ) && ( m >= 0 ) && ( m <= mmax)) {
00084 mracoef[ a*2*Msize + 2*m + 1 ] = wavcoef;
00085 }
00086 #endif
00087 }
00088
00089
00090 void rtmraputwavcoef(
00091 const int& Asize,
00092 const int& Msize,
00093 const int& amax,
00094 const int& mmax,
00095 const int& mrastep,
00096 double* mracoef,
00097 const int& a,
00098 const int& m,
00099 const double& wavcoef
00100 ) {
00101 #ifdef STORM_USEF
00102 dartmraputwavcoef1_(
00103 &Asize, &Msize,
00104 &amax, &mmax,
00105 &mrastep, mracoef,
00106 &a, &m, &wavcoef
00107 );
00108 #else
00109 if ( ( a >= 0 ) && ( a <=amax ) && ( m >= 0 ) && ( m <= mmax) ) {
00110 mracoef[ a*2*Msize + 2*m +1 ] = wavcoef;
00111 }
00112 #endif
00113 }
00114
00115
00116 void rtmraputwavcoef(
00117 const int& Asize,
00118 const int& Msize,
00119 const int& amax,
00120 const int& mmax,
00121 const int& mrastep,
00122 int* mracoef,
00123 const int& a,
00124 const int& m,
00125 const int& wavcoef
00126 ) {
00127 #ifdef STORM_USEF
00128 iartmraputwavcoef1_(
00129 &Asize, &Msize,
00130 &amax, &mmax,
00131 &mrastep, mracoef,
00132 &a, &m, &wavcoef
00133 );
00134 #else
00135 if ( ( a >= 0 ) && ( a <=amax ) && ( m >= 0 ) && ( m <= mmax) ) {
00136 mracoef[ a*2*Msize + 2*m +1 ] = wavcoef;
00137 }
00138 #endif
00139 }
00140