bpmsimulation/get_monopole_amp.c

Go to the documentation of this file.
00001 
00005 #include <bpm/bpm_messages.h>
00006 #include <bpm/bpm_simulation.h>
00007 #include <math.h>
00008 #include <bpm/bpm_nr.h>
00009 
00017 int get_monopole_amp( double bunchcharge, double bunchlength,
00018                       double chargesens, complex_t *Amp ){
00019 
00020   Amp->re = (-1) * chargesens * bunchcharge;
00021   Amp->im = 0;
00022 
00023   return BPM_SUCCESS;
00024 }
00025 
00026 // end of file

Generated on Thu Jan 10 10:18:04 2008 for libbpm by  doxygen 1.5.1