Show
Ignore:
Timestamp:
03/05/09 14:03:56 (16 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

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

    r280 r287  
    8383<a name="l00031"></a><a class="code" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe">00031</a>         vec <a class="code" href="classIMpmsm.html#45785869d978dda42828a072ec2caebe" title="Evaluates .">eval</a> ( <span class="keyword">const</span> vec &amp;x0, <span class="keyword">const</span> vec &amp;u0 ) { 
    8484<a name="l00032"></a>00032                 <span class="comment">// last state</span> 
    85 <a name="l00033"></a>00033                 <span class="keywordtype">double</span> iam = x0 ( 0 ); 
    86 <a name="l00034"></a>00034                 <span class="keywordtype">double</span> ibm = x0 ( 1 ); 
    87 <a name="l00035"></a>00035                 <span class="keywordtype">double</span> omm = x0 ( 2 ); 
    88 <a name="l00036"></a>00036                 <span class="keywordtype">double</span> thm = x0 ( 3 ); 
    89 <a name="l00037"></a>00037                 <span class="keywordtype">double</span> uam = u0 ( 0 ); 
    90 <a name="l00038"></a>00038                 <span class="keywordtype">double</span> ubm = u0 ( 1 ); 
     85<a name="l00033"></a>00033                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;iam = x0 ( 0 ); 
     86<a name="l00034"></a>00034                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;ibm = x0 ( 1 ); 
     87<a name="l00035"></a>00035                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;omm = x0 ( 2 ); 
     88<a name="l00036"></a>00036                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;thm = x0 ( 3 ); 
     89<a name="l00037"></a>00037                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;uam = u0 ( 0 ); 
     90<a name="l00038"></a>00038                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;ubm = u0 ( 1 ); 
    9191<a name="l00039"></a>00039  
    92 <a name="l00040"></a>00040                 vec xk=zeros ( 4 ); 
     92<a name="l00040"></a>00040                 vec xk( 4 ); 
    9393<a name="l00041"></a>00041                 <span class="comment">//ia</span> 
    9494<a name="l00042"></a>00042                 xk ( 0 ) = ( 1.0- Rs/Ls*dt ) * iam + Ypm/Ls*dt*omm * sin ( thm ) + uam*dt/Ls; 
     
    105105<a name="l00053"></a>00053  
    106106<a name="l00054"></a><a class="code" href="classIMpmsm.html#b4378b5d3bf64c683e4cf5c5f1cd56f1">00054</a>         <span class="keywordtype">void</span> <a class="code" href="classIMpmsm.html#b4378b5d3bf64c683e4cf5c5f1cd56f1" title="Evaluates  and writes result into A .">dfdx_cond</a> ( <span class="keyword">const</span> vec &amp;x0, <span class="keyword">const</span> vec &amp;u0, mat &amp;A, <span class="keywordtype">bool</span> full=<span class="keyword">true</span> ) { 
    107 <a name="l00055"></a>00055                 <span class="keywordtype">double</span> iam = x0 ( 0 ); 
    108 <a name="l00056"></a>00056                 <span class="keywordtype">double</span> ibm = x0 ( 1 ); 
    109 <a name="l00057"></a>00057                 <span class="keywordtype">double</span> omm = x0 ( 2 ); 
    110 <a name="l00058"></a>00058                 <span class="keywordtype">double</span> thm = x0 ( 3 ); 
     107<a name="l00055"></a>00055                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;iam = x0 ( 0 ); 
     108<a name="l00056"></a>00056                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;ibm = x0 ( 1 ); 
     109<a name="l00057"></a>00057                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;omm = x0 ( 2 ); 
     110<a name="l00058"></a>00058                 <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;thm = x0 ( 3 ); 
    111111<a name="l00059"></a>00059                 <span class="comment">// d ia</span> 
    112112<a name="l00060"></a>00060                 A ( 0,0 ) = ( 1.0- Rs/Ls*dt ); A ( 0,1 ) = 0.0; 
     
    271271<a name="l00228"></a>00228 <span class="preprocessor">#endif //PMSM_H</span> 
    272272</pre></div></div> 
    273 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 18 17:38:41 2009 for mixpp by&nbsp; 
     273<hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 4 18:50:11 2009 for mixpp by&nbsp; 
    274274<a href="http://www.doxygen.org/index.html"> 
    275275<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>