bpmsimulation/reset_complex_wave.c

Go to the documentation of this file.
00001 
00005 #include <bpm/bpm_messages.h>
00006 #include <bpm/bpm_simulation.h>
00007 #include <bpm/bpm_rf.h>
00008 
00012 int reset_complex_wave( double **RF ) {
00013 
00014   int i,j;
00015 
00016   if ( ! RF ) {
00017     bpm_error( "Invalid pointer argument in reset_complex_wave(...)", 
00018                __FILE__, __LINE__ );
00019     return BPM_FAILURE;
00020   }
00021 
00022   for ( i = 0; i < rf_nsamples; i++ ) {
00023     for ( j = 0; j < 2; j++ ) {
00024       RF[i][j] = 0;
00025     }
00026   }
00027   
00028   return BPM_SUCCESS;
00029 }
00030 
00031 // end of file

Generated on Fri Nov 9 21:17:11 2007 for libbpm by  doxygen 1.5.1