Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

rtmrareset.cpp

Go to the documentation of this file.
00001 // rtmrareset.cpp
00002 //////////////////////////////////////////////////////////////////////
00003 //          (c) Copyright 2000-2002 Brown Deer Technology, LLC.
00004 //                        All rights reserved.
00005 //////////////////////////////////////////////////////////////////////
00006 
00007 #ifdef STORM_USEF
00008 #include "rtmrareset_.h"
00009 #include "drtmrareset_.h"
00010 #include "irtmrareset_.h"
00011 #include "artmrareset_.h"
00012 #include "dartmrareset_.h"
00013 #include "iartmrareset_.h"
00014 #endif
00015 
00016 void rtmrareset( 
00017           const int& Msize,
00018           const int& mmax,
00019                 int& mrastep,
00020                 float* mracoef
00021 ) {
00022 
00023 #ifdef STORM_USEF 
00024 
00025    rtmrareset_( &Msize, &mmax, &mrastep, mracoef);
00026 
00027 #else
00028 
00029    mrastep = -1;
00030    for( int m = 0; m <= mmax; m++ ) {
00031       mracoef[ 2*m ] = 0;
00032       mracoef[ 2*m + 1 ] = 0;
00033    }
00034 
00035 #endif
00036 
00037 } 
00038 
00039 
00040 void rtmrareset( 
00041           const int& Msize,
00042           const int& mmax,
00043                 int& mrastep,
00044                 double* mracoef
00045 ) { 
00046 
00047 #ifdef STORM_USEF 
00048 
00049    drtmrareset_( &Msize, &mmax, &mrastep, mracoef );
00050 
00051 #else
00052 
00053    mrastep = -1;
00054    for( int m = 0; m <= mmax; m++ ) {
00055       mracoef[ 2*m ] = 0;
00056       mracoef[ 2*m+1 ] = 0;
00057    }
00058 
00059 #endif
00060 
00061 } 
00062 
00063 
00064 void rtmrareset( 
00065           const int& Msize,
00066           const int& mmax,
00067                 int& mrastep,
00068                 int* mracoef
00069 ) { 
00070 
00071 #ifdef STORM_USEF 
00072 
00073    irtmrareset_( &Msize, &mmax, &mrastep, mracoef );
00074 
00075 #else
00076 
00077    mrastep = -1;
00078    for( int m = 0; m <= mmax; m++ ) {
00079       mracoef[ 2*m ] = 0;
00080       mracoef[ 2*m+1 ] = 0;
00081    }
00082 
00083 #endif
00084 
00085 }
00086  
00087 void rtmrareset( 
00088           const int& Asize,
00089           const int& Msize,
00090           const int& amax,
00091           const int& mmax,
00092                 int& mrastep,
00093                 float* mracoef
00094 ) { 
00095 
00096 #ifdef STORM_USEF 
00097 
00098    artmrareset_( &Asize, &Msize, &amax, &mmax, &mrastep, mracoef );
00099 
00100 #else
00101 
00102    mrastep = -1;
00103    for( int a = 0; a <= amax; a++ ) {
00104       for( int m = 0; m <= mmax; m++ ) {
00105          mracoef[ a*2*Msize + 2*m ] = 0;
00106          mracoef[ a*2*Msize + 2*m + 1 ] = 0;
00107       }
00108    }
00109 
00110 #endif
00111 
00112 }
00113 
00114 
00115 void rtmrareset( 
00116           const int& Asize,
00117           const int& Msize,
00118           const int& amax,
00119           const int& mmax,
00120                 int& mrastep,
00121                 double* mracoef
00122 ) { 
00123 
00124 #ifdef STORM_USEF 
00125 
00126    dartmrareset_( &Asize, &Msize, &amax, &mmax, &mrastep, mracoef );
00127 
00128 #else
00129 
00130    mrastep = -1;
00131    for( int a = 0; a <= amax; a++ ) {
00132       for( int m = 0; m <= mmax; m++ ) {
00133          mracoef[ a*2*Msize + 2*m ]=0;
00134          mracoef[ a*2*Msize + 2*m +1 ]=0;
00135       }
00136    }
00137 
00138 #endif
00139 
00140 } 
00141 
00142 
00143 void rtmrareset( 
00144           const int& Asize,
00145           const int& Msize,
00146           const int& amax,
00147           const int& mmax,
00148                 int& mrastep,
00149                 int* mracoef
00150 ) { 
00151 
00152 #ifdef STORM_USEF 
00153 
00154    iartmrareset_( &Asize, &Msize, &amax, &mmax, &mrastep, mracoef );
00155 
00156 #else
00157 
00158    mrastep = -1;
00159    for( int a = 0; a <= amax; a++ ) {
00160       for( int m = 0; m <= mmax; m++ ) {
00161          mracoef[ a*2*Msize + 2*m ]=0;
00162          mracoef[ a*2*Msize + 2*m +1 ]=0;
00163       }
00164    }
00165 
00166 #endif
00167 
00168 } 
00169 

Generated on Mon May 31 21:38:52 2004 for SR2k4 Assembler by doxygen 1.3.6