00001
00002
00003
00004
00005
00006
00007 #ifdef STORM_USEF
00008 #include "rtrsmrawavcoefrs_.h"
00009 #include "drtrsmrawavcoefrs_.h"
00010 #include "irtrsmrawavcoefrs_.h"
00011 #include "artrsmrawavcoefrs1_.h"
00012 #include "dartrsmrawavcoefrs1_.h"
00013 #include "iartrsmrawavcoefrs1_.h"
00014 #endif
00015
00016
00017 void rtrsmrawavcoefrs(
00018 const int& Msize,
00019 const int& mmax,
00020 const int& mrastep,
00021 const float* mracoef,
00022 const float* mracoefrs,
00023 const int& m,
00024 float& wavcoefrs
00025 )
00026 {
00027 #ifdef STORM_USEF
00028 rtrsmrawavcoefrs_(
00029 &Msize,
00030 &mmax,
00031 &mrastep, mracoef, mracoefrs,
00032 &m, &wavcoefrs
00033 );
00034 #else
00035
00036 wavcoefrs = mracoefrs[ 2*m +1 ];
00037
00038
00039
00040 #endif
00041 }
00042
00043
00044 void rtrsmrawavcoefrs(
00045 const int& Msize,
00046 const int& mmax,
00047 const int& mrastep,
00048 const double* mracoef,
00049 const double* mracoefrs,
00050 const int& m,
00051 double& wavcoefrs
00052 )
00053 {
00054 #ifdef STORM_USEF
00055 drtrsmrawavcoefrs_(
00056 &Msize,
00057 &mmax,
00058 &mrastep, mracoef, mracoefrs,
00059 &m, &wavcoefrs
00060 );
00061 #else
00062
00063 wavcoefrs = mracoefrs[ 2*m +1 ];
00064
00065
00066
00067 #endif
00068 }
00069
00070
00071 void rtrsmrawavcoefrs(
00072 const int& Msize,
00073 const int& mmax,
00074 const int& mrastep,
00075 const int* mracoef,
00076 const int* mracoefrs,
00077 const int& m,
00078 int& wavcoefrs
00079 )
00080 {
00081 #ifdef STORM_USEF
00082 irtrsmrawavcoefrs_(
00083 &Msize,
00084 &mmax,
00085 &mrastep, mracoef, mracoefrs,
00086 &m, &wavcoefrs
00087 );
00088 #else
00089
00090 wavcoefrs = mracoefrs[ 2*m +1 ];
00091
00092
00093
00094 #endif
00095 }
00096
00097
00098 void rtrsmrawavcoefrs(
00099 const int& Asize,
00100 const int& Msize,
00101 const int& amax,
00102 const int& mmax,
00103 const int& mrastep,
00104 const float* mracoef,
00105 const float* mracoefrs,
00106 const int& a,
00107 const int& m,
00108 float& wavcoefrs
00109 )
00110 {
00111 #ifdef STORM_USEF
00112 artrsmrawavcoefrs1_(
00113 &Asize, &Msize,
00114 &amax, &mmax,
00115 &mrastep, mracoef, mracoefrs,
00116 &a, &m, &wavcoefrs
00117 );
00118 #else
00119
00120 wavcoefrs = mracoefrs[ Msize*2*a + 2*m +1 ];
00121
00122
00123
00124 #endif
00125 }
00126
00127 void rtrsmrawavcoefrs(
00128 const int& Asize,
00129 const int& Msize,
00130 const int& amax,
00131 const int& mmax,
00132 const int& mrastep,
00133 const double* mracoef,
00134 const double* mracoefrs,
00135 const int& a,
00136 const int& m,
00137 double& wavcoefrs
00138 )
00139 {
00140 #ifdef STORM_USEF
00141 dartrsmrawavcoefrs1_(
00142 &Asize, &Msize,
00143 &amax, &mmax,
00144 &mrastep, mracoef, mracoefrs,
00145 &a, &m, &wavcoefrs
00146 );
00147 #else
00148
00149 wavcoefrs = mracoefrs[ Msize*2*a + 2*m + 1 ];
00150
00151
00152
00153 #endif
00154 }
00155
00156
00157 void rtrsmrawavcoefrs(
00158 const int& Asize,
00159 const int& Msize,
00160 const int& amax,
00161 const int& mmax,
00162 const int& mrastep,
00163 const int* mracoef,
00164 const int* mracoefrs,
00165 const int& a,
00166 const int& m,
00167 int& wavcoefrs
00168 )
00169 {
00170 #ifdef STORM_USEF
00171 iartrsmrawavcoefrs1_(
00172 &Asize, &Msize,
00173 &amax, &mmax,
00174 &mrastep, mracoef, mracoefrs,
00175 &a, &m, &wavcoefrs
00176 );
00177 #else
00178
00179 wavcoefrs = mracoefrs[ Msize*2*a + 2*m + 1 ];
00180
00181
00182
00183 #endif
00184 }
00185