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