root/doc/html/classOMpmsm.html @ 280

Revision 280, 15.3 kB (checked in by smidl, 16 years ago)

progress...

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: OMpmsm Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- 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>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
56      <li><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
62      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
63      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
64      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
65    </ul>
66  </div>
67</div>
68<div class="contents">
69<h1>OMpmsm Class Reference<br>
70<small>
71[<a class="el" href="group__PMSM.html">PMSM</a>]</small>
72</h1><!-- doxytag: class="OMpmsm" --><!-- doxytag: inherits="bdm::diffbifn" --><code>#include &lt;<a class="el" href="pmsm_8h-source.html">pmsm.h</a>&gt;</code>
73<p>
74<div class="dynheader">
75Inheritance diagram for OMpmsm:</div>
76<div class="dynsection">
77
78<p><center><img src="classOMpmsm.png" usemap="#OMpmsm_map" border="0" alt=""></center>
79<map name="OMpmsm_map">
80<area href="classbdm_1_1diffbifn.html" alt="bdm::diffbifn" shape="rect" coords="0,112,86,136">
81<area href="classbdm_1_1fnc.html" alt="bdm::fnc" shape="rect" coords="0,56,86,80">
82<area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="0,0,86,24">
83</map>
84</div>
85
86<p>
87<a href="classOMpmsm-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
88Observation model for PMSM drive and its derivative with respect to <img class="formulaInl" alt="$x$" src="form_28.png">. <table border="0" cellpadding="0" cellspacing="0">
89<tr><td></td></tr>
90<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
91<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e32392c9c635584606287b8c0e8c9da"></a><!-- doxytag: member="OMpmsm::eval" ref="8e32392c9c635584606287b8c0e8c9da" args="(const vec &amp;x0, const vec &amp;u0)" -->
92vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOMpmsm.html#8e32392c9c635584606287b8c0e8c9da">eval</a> (const vec &amp;x0, const vec &amp;u0)</td></tr>
93
94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_83.png">. <br></td></tr>
95<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOMpmsm.html#b75b5fd55b2ac5ed74b5b953af122821">dfdx_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_84.png"> and writes result into <code>A</code> .  <a href="#b75b5fd55b2ac5ed74b5b953af122821"></a><br></td></tr>
98<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="OMpmsm::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &amp;cond)" -->
99vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &amp;cond)</td></tr>
100
101<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_83.png"> (VS: Do we really need common eval? ). <br></td></tr>
102<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07">dfdu_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
103
104<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_86.png"> and writes result into <code>A</code> .  <a href="#6ea1dc7a482601b29c5ba36a52d20d07"></a><br></td></tr>
105<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="OMpmsm::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " -->
106int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
109<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="OMpmsm::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " -->
110int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr>
111
112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
113<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="OMpmsm::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &amp;val)" -->
114virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &amp;val)</td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr>
117<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2277a400fc9f4d6c0bf24dc7156183f"></a><!-- doxytag: member="OMpmsm::_dimy" ref="a2277a400fc9f4d6c0bf24dc7156183f" args="() const " -->
118int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#a2277a400fc9f4d6c0bf24dc7156183f">_dimy</a> () const </td></tr>
119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
121<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
122<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="OMpmsm::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" -->
123RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr>
124
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the first rv. <br></td></tr>
126<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="OMpmsm::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" -->
127RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr>
128
129<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the second rv. <br></td></tr>
130<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="OMpmsm::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" -->
131int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr>
132
133<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvx.count() <br></td></tr>
134<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="OMpmsm::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" -->
135int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr>
136
137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvu.count() <br></td></tr>
138<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="OMpmsm::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" -->
139int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr>
140
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the output vector. <br></td></tr>
142</table>
143<hr><h2>Member Function Documentation</h2>
144<a class="anchor" name="b75b5fd55b2ac5ed74b5b953af122821"></a><!-- doxytag: member="OMpmsm::dfdx_cond" ref="b75b5fd55b2ac5ed74b5b953af122821" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
145<div class="memitem">
146<div class="memproto">
147      <table class="memname">
148        <tr>
149          <td class="memname">void OMpmsm::dfdx_cond           </td>
150          <td>(</td>
151          <td class="paramtype">const vec &amp;&nbsp;</td>
152          <td class="paramname"> <em>x0</em>, </td>
153        </tr>
154        <tr>
155          <td class="paramkey"></td>
156          <td></td>
157          <td class="paramtype">const vec &amp;&nbsp;</td>
158          <td class="paramname"> <em>u0</em>, </td>
159        </tr>
160        <tr>
161          <td class="paramkey"></td>
162          <td></td>
163          <td class="paramtype">mat &amp;&nbsp;</td>
164          <td class="paramname"> <em>A</em>, </td>
165        </tr>
166        <tr>
167          <td class="paramkey"></td>
168          <td></td>
169          <td class="paramtype">bool&nbsp;</td>
170          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
171        </tr>
172        <tr>
173          <td></td>
174          <td>)</td>
175          <td></td><td></td><td><code> [inline, virtual]</code></td>
176        </tr>
177      </table>
178</div>
179<div class="memdoc">
180
181<p>
182Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_84.png"> and writes result into <code>A</code> .
183<p>
184<dl compact><dt><b>Parameters:</b></dt><dd>
185  <table border="0" cellspacing="2" cellpadding="0">
186    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
187    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
188    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_85.png"> </td></tr>
189    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
190  </table>
191</dl>
192
193<p>Reimplemented from <a class="el" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac">bdm::diffbifn</a>.</p>
194
195</div>
196</div><p>
197<a class="anchor" name="6ea1dc7a482601b29c5ba36a52d20d07"></a><!-- doxytag: member="OMpmsm::dfdu_cond" ref="6ea1dc7a482601b29c5ba36a52d20d07" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
198<div class="memitem">
199<div class="memproto">
200      <table class="memname">
201        <tr>
202          <td class="memname">virtual void bdm::diffbifn::dfdu_cond           </td>
203          <td>(</td>
204          <td class="paramtype">const vec &amp;&nbsp;</td>
205          <td class="paramname"> <em>x0</em>, </td>
206        </tr>
207        <tr>
208          <td class="paramkey"></td>
209          <td></td>
210          <td class="paramtype">const vec &amp;&nbsp;</td>
211          <td class="paramname"> <em>u0</em>, </td>
212        </tr>
213        <tr>
214          <td class="paramkey"></td>
215          <td></td>
216          <td class="paramtype">mat &amp;&nbsp;</td>
217          <td class="paramname"> <em>A</em>, </td>
218        </tr>
219        <tr>
220          <td class="paramkey"></td>
221          <td></td>
222          <td class="paramtype">bool&nbsp;</td>
223          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
224        </tr>
225        <tr>
226          <td></td>
227          <td>)</td>
228          <td></td><td></td><td><code> [inline, virtual, inherited]</code></td>
229        </tr>
230      </table>
231</div>
232<div class="memdoc">
233
234<p>
235Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_86.png"> and writes result into <code>A</code> .
236<p>
237<dl compact><dt><b>Parameters:</b></dt><dd>
238  <table border="0" cellspacing="2" cellpadding="0">
239    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
240    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
241    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_85.png"> </td></tr>
242    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
243  </table>
244</dl>
245
246<p>Reimplemented in <a class="el" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08">bdm::bilinfn</a>, <a class="el" href="classIMpmsm.html#c3f8dad22ae9855c04a1d593b45c99b5">IMpmsm</a>, <a class="el" href="classIMpmsm2o.html#27f9d89bce832056f747d985df77a726">IMpmsm2o</a>, and <a class="el" href="classIMpmsmStat.html#ff740ee20100ae2a2d03a2538638f8e8">IMpmsmStat</a>.</p>
247
248</div>
249</div><p>
250<hr>The documentation for this class was generated from the following file:<ul>
251<li><a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul>
252</div>
253<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 18 17:38:53 2009 for mixpp by&nbsp;
254<a href="http://www.doxygen.org/index.html">
255<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
256</body>
257</html>
Note: See TracBrowser for help on using the browser.