| Line |  | 
|---|
| 1 | #ifndef TRANSFELEC_SEEN | 
|---|
| 2 | #define TRANSFELEC_SEEN | 
|---|
| 3 |  | 
|---|
| 4 | //#include <math.h> | 
|---|
| 5 |  | 
|---|
| 6 | // D. Yvon, CE Saclay, DAPNIA/SPP, 08/99 | 
|---|
| 7 |  | 
|---|
| 8 |  | 
|---|
| 9 | #ifdef __MWERKS__ | 
|---|
| 10 | #include <complex.h> | 
|---|
| 11 | #else | 
|---|
| 12 | #include <complex> | 
|---|
| 13 | #endif | 
|---|
| 14 |  | 
|---|
| 15 |  | 
|---|
| 16 | typedef complex<double> Dcomplex; | 
|---|
| 17 |  | 
|---|
| 18 |  | 
|---|
| 19 | class TransFuncElec{ | 
|---|
| 20 | public: | 
|---|
| 21 | TransFuncElec() { | 
|---|
| 22 | Dcomplex Imag((double)0.,(double)1.); | 
|---|
| 23 | jImagPur=Imag; | 
|---|
| 24 | } | 
|---|
| 25 | ~TransFuncElec(){ } | 
|---|
| 26 | Dcomplex TsFunc(double Omega); | 
|---|
| 27 | // Omega en radian/s | 
|---|
| 28 | private: | 
|---|
| 29 | Dcomplex H1(double w); | 
|---|
| 30 | Dcomplex H2(double w); | 
|---|
| 31 | Dcomplex H3(double w); | 
|---|
| 32 | Dcomplex H4(double w); | 
|---|
| 33 | Dcomplex jImagPur; | 
|---|
| 34 | }; | 
|---|
| 35 |  | 
|---|
| 36 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.