source: trunk/examples/berrada/MFLBC_RD_perfomanceMeasurement/diac.h @ 401

Last change on this file since 401 was 401, checked in by lnalod, 14 years ago

Add of MFLBC_RD_perfomanceMeasurement which is the copy of MFLBC_RD but contains the performance measurement in the Y2 file. It will contains (not yet but in the future) also the script which allow automatically compute the graphics of the elapsed time and the efficency.

  • Property svn:eol-style set to native
File size: 928 bytes
Line 
1/*********************** Berrada Mohamed 2-2005 ***************************
2                 module classe diac.h  -  description
3  rappel :
4  .YSi   correspond ? la i?me sortie
5  .YJiIn correspond ? la d?riv?e de la i?me sortie par rapport ni?me entr?e
6 ***************************************************************************/
7
8  //===========================================================================
9  //                          methodes forward
10  forward (YREAL xnj)
11  {
12        YS1= -1./(dz*dz)+0.5*k0[Yt]*k0[Yt]*(pow(xnj,2.)-1.);
13        YS2=  2.*k0[Yt]/dr;
14  }
15
16  //===========================================================================
17  //                         methodes  backward
18  backward (YREAL xnj)
19  {
20        YJ1I1= k0[Yt]*k0[Yt]*xnj;
21        YJ2I1=  0.0;
22 }
23
24  //===========================================================================
25//************************** FIN DU MODULE diac ********************************
26
Note: See TracBrowser for help on using the repository browser.