Show
Ignore:
Timestamp:
02/24/09 14:12:46 (16 years ago)
Author:
smidl
Message:

progress...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/pmsmDS_8h-source.html

    r261 r280  
    66</head><body> 
    77<!-- Generated by Doxygen 1.5.6 --> 
     8<script type="text/javascript"> 
     9<!-- 
     10function changeDisplayState (e){ 
     11  var num=this.id.replace(/[^[0-9]/g,''); 
     12  var button=this.firstChild; 
     13  var sectionDiv=document.getElementById('dynsection'+num); 
     14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ 
     15    sectionDiv.style.display='block'; 
     16    button.src='open.gif'; 
     17  }else{ 
     18    sectionDiv.style.display='none'; 
     19    button.src='closed.gif'; 
     20  } 
     21} 
     22function initDynSections(){ 
     23  var divs=document.getElementsByTagName('div'); 
     24  var sectionCounter=1; 
     25  for(var i=0;i<divs.length-1;i++){ 
     26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ 
     27      var header=divs[i]; 
     28      var section=divs[i+1]; 
     29      var button=header.firstChild; 
     30      if (button!='IMG'){ 
     31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); 
     32        button=document.createElement('img'); 
     33        divs[i].insertBefore(button,divs[i].firstChild); 
     34      } 
     35      header.style.cursor='pointer'; 
     36      header.onclick=changeDisplayState; 
     37      header.id='dynheader'+sectionCounter; 
     38      button.src='closed.gif'; 
     39      section.id='dynsection'+sectionCounter; 
     40      section.style.display='none'; 
     41      section.style.marginLeft='14px'; 
     42      sectionCounter++; 
     43    } 
     44  } 
     45} 
     46window.onload = initDynSections; 
     47--> 
     48</script> 
    849<div class="navigation" id="top"> 
    950  <div class="tabs"> 
    1051    <ul> 
    11       <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> 
     52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li> 
    1253      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> 
    1354      <li><a href="modules.html"><span>Modules</span></a></li> 
    14       <li><a href="namespaces.html"><span>Namespaces</span></a></li> 
    1555      <li><a href="classes.html"><span>Classes</span></a></li> 
    1656      <li class="current"><a href="files.html"><span>Files</span></a></li> 
     
    3575<a name="l00036"></a>00036                 pmsmsim_set_parameters ( Rs0, Ls0, Fmag0, Bf0, p0, kp0, J0, Uc0, DT0, dt0 ); 
    3676<a name="l00037"></a>00037         } 
    37 <a name="l00038"></a><a class="code" href="classpmsmDS.html#4e47e678eb56e0b3bd47d801d0995e46">00038</a>         <span class="keywordtype">void</span> <a class="code" href="classpmsmDS.html#4e47e678eb56e0b3bd47d801d0995e46" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt ) {dt=vec ( KalmanObs,6 );} 
     77<a name="l00038"></a><a class="code" href="classpmsmDS.html#4e47e678eb56e0b3bd47d801d0995e46">00038</a>         <span class="keywordtype">void</span> <a class="code" href="classpmsmDS.html#4e47e678eb56e0b3bd47d801d0995e46" title="Returns full vector of observed data=[output, input].">getdata</a> ( vec &amp;dt ) {dt=vec ( KalmanObs,6 );} 
    3878<a name="l00039"></a><a class="code" href="classpmsmDS.html#35e9a2b9d82bd1b71d66778021d1e8b4">00039</a>         <span class="keywordtype">void</span> <a class="code" href="classpmsmDS.html#35e9a2b9d82bd1b71d66778021d1e8b4" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut ) {} 
    3979<a name="l00040"></a>00040  
     
    62102<a name="l00063"></a>00063         }; 
    63103<a name="l00064"></a>00064  
    64 <a name="l00065"></a>00065         <span class="keywordtype">void</span> log_add ( <a class="code" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> &amp;L ) { 
    65 <a name="l00066"></a>00066                 <a class="code" href="classpmsmDS.html#3975e648cc981a550997df8120e176f7" title="indeces of logged variables">L_x</a> = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1" title="returns an identifier which will be later needed for calling the log() function">add</a> ( rx, <span class="stringliteral">"x"</span> ); 
    66 <a name="l00067"></a>00067                 L_oy = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1" title="returns an identifier which will be later needed for calling the log() function">add</a> ( ry, <span class="stringliteral">"obs"</span> ); 
    67 <a name="l00068"></a>00068                 L_ou = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1" title="returns an identifier which will be later needed for calling the log() function">add</a> ( ru, <span class="stringliteral">"obs"</span> ); 
    68 <a name="l00069"></a>00069                 L_iu = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1" title="returns an identifier which will be later needed for calling the log() function">add</a> ( ru, <span class="stringliteral">"true"</span> ); 
     104<a name="l00065"></a><a class="code" href="classpmsmDS.html#d75b83468db25c56977ffccff46b0b37">00065</a>         <span class="keywordtype">void</span> <a class="code" href="classpmsmDS.html#d75b83468db25c56977ffccff46b0b37" title="Register DS for logging into logger L.">log_add</a> ( <a class="code" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> &amp;L ) { 
     105<a name="l00066"></a>00066                 <a class="code" href="classpmsmDS.html#3975e648cc981a550997df8120e176f7" title="indeces of logged variables">L_x</a> = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1">add</a> ( rx, <span class="stringliteral">"x"</span> ); 
     106<a name="l00067"></a>00067                 L_oy = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1">add</a> ( ry, <span class="stringliteral">"obs"</span> ); 
     107<a name="l00068"></a>00068                 L_ou = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1">add</a> ( ru, <span class="stringliteral">"obs"</span> ); 
     108<a name="l00069"></a>00069                 L_iu = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1">add</a> ( ru, <span class="stringliteral">"true"</span> ); 
    69109<a name="l00070"></a>00070                 <span class="comment">// log differences</span> 
    70110<a name="l00071"></a>00071                 <span class="keywordflow">if</span> (<a class="code" href="classpmsmDS.html#d410b9ca1a362e50a0833ae67803b7ee">opt</a>.find(<span class="stringliteral">"u"</span>)==string::npos){ 
    71 <a name="l00072"></a>00072                         L_optu = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1" title="returns an identifier which will be later needed for calling the log() function">add</a>(ru, <span class="stringliteral">"model"</span>); 
     111<a name="l00072"></a>00072                         L_optu = L.<a class="code" href="classbdm_1_1logger.html#cfb4807e20b3d00f3d33e55ada528dc1">add</a>(ru, <span class="stringliteral">"model"</span>); 
    72112<a name="l00073"></a>00073                 } 
    73113<a name="l00074"></a>00074         } 
    74114<a name="l00075"></a>00075  
    75 <a name="l00076"></a>00076         <span class="keywordtype">void</span> logit ( <a class="code" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> &amp;L ) { 
     115<a name="l00076"></a><a class="code" href="classpmsmDS.html#21cac6deaac2dd073c982d7bec839b47">00076</a>         <span class="keywordtype">void</span> <a class="code" href="classpmsmDS.html#21cac6deaac2dd073c982d7bec839b47" title="Register DS for logging into logger L.">logit</a> ( <a class="code" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> &amp;L ) { 
    76116<a name="l00077"></a>00077                 L.<a class="code" href="classbdm_1_1logger.html#397c014b0aaf3581516e2a105d26a5c9" title="log this vector">logit</a> ( <a class="code" href="classpmsmDS.html#3975e648cc981a550997df8120e176f7" title="indeces of logged variables">L_x</a>, vec ( x,4 )      ); 
    77117<a name="l00078"></a>00078                 L.<a class="code" href="classbdm_1_1logger.html#397c014b0aaf3581516e2a105d26a5c9" title="log this vector">logit</a> ( L_oy, vec_2 ( KalmanObs[2],KalmanObs[3] ) ); 
     
    100140<a name="l00101"></a>00101 }; 
    101141</pre></div></div> 
    102 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 12:16:29 2009 for mixpp by&nbsp; 
     142<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 18 17:38:41 2009 for mixpp by&nbsp; 
    103143<a href="http://www.doxygen.org/index.html"> 
    104144<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>