aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03148.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a03148.html')
-rw-r--r--docs/doxygen/nel/a03148.html682
1 files changed, 682 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03148.html b/docs/doxygen/nel/a03148.html
new file mode 100644
index 00000000..c962d8c2
--- /dev/null
+++ b/docs/doxygen/nel/a03148.html
@@ -0,0 +1,682 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NL3D::CPSForceIntensity class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CPSForceIntensity Class Reference</h1><code>#include &lt;<a class="el" href="a06240.html">ps_force.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CPSForceIntensity:
+<p><center><img src="a03148.png" usemap="#NL3D::CPSForceIntensity_map" border="0" alt=""></center>
+<map name="NL3D::CPSForceIntensity_map">
+<area href="a03203.html" alt="NL3D::CPSFluidFriction" shape="rect" coords="0,56,193,80">
+<area href="a03149.html" alt="NL3D::CPSForceIntensityHelper" shape="rect" coords="507,56,700,80">
+<area href="a03243.html" alt="NL3D::CPSTurbul" shape="rect" coords="710,56,903,80">
+<area href="a03147.html" alt="NL3D::CPSBrownianForce" shape="rect" coords="0,112,193,136">
+<area href="a03150.html" alt="NL3D::CPSCentralGravity" shape="rect" coords="203,112,396,136">
+<area href="a03173.html" alt="NL3D::CPSCylindricVortex" shape="rect" coords="406,112,599,136">
+<area href="a03176.html" alt="NL3D::CPSDirectionnalForce" shape="rect" coords="609,112,802,136">
+<area href="a03205.html" alt="NL3D::CPSGravity" shape="rect" coords="812,112,1005,136">
+<area href="a03239.html" alt="NL3D::CPSSpring" shape="rect" coords="1015,112,1208,136">
+<area href="a03217.html" alt="NL3D::CPSMagneticForce" shape="rect" coords="609,168,802,192">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+this is a class to set force instensity (acceleration for gravity, k coefficient for springs...)
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00160">160</a> of file <a class="el" href="a06240.html">ps_force.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSForceIntensitya0">CPSForceIntensity</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula17">getIntensity</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the constant intensity that was set for the force <a href="#NL3D_1_1CPSTurbula17"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03136.html">CPSAttribMaker</a>&lt; float &gt; *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula18">getIntensityScheme</a> (void) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>&lt; float &gt; *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula19">getIntensityScheme</a> (void)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the attribute maker for a non constant intensity <a href="#NL3D_1_1CPSTurbula19"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula50">serialForceIntensity</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula53">setIntensity</a> (float <a class="el" href="a04223.html#a658">value</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set a constant intensity for the force. this discard any previous call to setIntensityScheme <a href="#NL3D_1_1CPSTurbula53"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbula54">setIntensityScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>&lt; float &gt; *scheme)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set a non-constant intensity <a href="#NL3D_1_1CPSTurbula54"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSSpringa56">setupFunctor</a> (<a class="el" href="a04558.html#a11">uint32</a> indexInLocated)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSForceIntensitya8">~CPSForceIntensity</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulb4">deleteForceIntensityElement</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03214.html">CPSLocated</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSForceIntensityb1">getForceIntensityOwner</a> (void)=0</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">deriver must return the located that own them here <a href="#NL3D_1_1CPSForceIntensityb1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulb8">newForceIntensityElement</a> (<a class="el" href="a03214.html">CPSLocated</a> *emitterLocated, <a class="el" href="a04558.html#a11">uint32</a> emitterIndex)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulb13">resizeForceIntensity</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a587">size</a>)</td></tr>
+
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>&lt; float &gt; *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSForceIntensitya0" doxytag="NL3D::CPSForceIntensity::CPSForceIntensity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CPSForceIntensity::CPSForceIntensity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00165">165</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>.
+<p>
+<div class="fragment"><pre>00165 : <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>(NULL)
+00166 {
+00167 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSForceIntensitya8" doxytag="NL3D::CPSForceIntensity::~CPSForceIntensity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CPSForceIntensity::~<a class="el" href="a03148.html">CPSForceIntensity</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06239.html#l00177">177</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>.
+<p>
+<div class="fragment"><pre>00178 {
+00179 <span class="keyword">delete</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>;
+00180 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSTurbulb4" doxytag="NL3D::CPSForceIntensity::deleteForceIntensityElement" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::deleteForceIntensityElement </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00203">203</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>, <a class="el" href="a06214.html#l00285">NL3D::CPSAttribMaker&lt; float &gt;::deleteElement()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker&lt; float &gt;::hasMemory()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00717">NL3D::CPSTurbul::deleteElement()</a>, <a class="el" href="a06240.html#l00621">NL3D::CPSBrownianForce::deleteElement()</a>, <a class="el" href="a06240.html#l00567">NL3D::CPSFluidFriction::deleteElement()</a>, and <a class="el" href="a06240.html#l00226">NL3D::CPSForceIntensityHelper::deleteElement()</a>.
+<p>
+<div class="fragment"><pre>00204 {
+00205 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> &amp;&amp; <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>-&gt;hasMemory()) <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>-&gt;deleteElement(index);
+00206 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSForceIntensityb1" doxytag="NL3D::CPSForceIntensity::getForceIntensityOwner" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSForceIntensity::getForceIntensityOwner </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [protected, pure virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+deriver must return the located that own them here
+<p>
+
+<p>
+Implemented in <a class="el" href="a03149.html#NL3D_1_1CPSSpringb6">NL3D::CPSForceIntensityHelper</a>, <a class="el" href="a03203.html#NL3D_1_1CPSFluidFrictionb6">NL3D::CPSFluidFriction</a>, <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForceb6">NL3D::CPSBrownianForce</a>, <a class="el" href="a03243.html#NL3D_1_1CPSTurbulb6">NL3D::CPSTurbul</a>, and <a class="el" href="a03173.html#NL3D_1_1CPSCylindricVortexb6">NL3D::CPSCylindricVortex</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00207">resizeForceIntensity()</a>, and <a class="el" href="a06239.html#l00182">setIntensityScheme()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbula17" doxytag="NL3D::CPSForceIntensity::getIntensity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CPSForceIntensity::getIntensity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the constant intensity that was set for the force
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00173">173</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a06240.html#l00196">_K</a>.
+<p>
+<div class="fragment"><pre>00173 { <span class="keywordflow">return</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbula18" doxytag="NL3D::CPSForceIntensity::getIntensityScheme" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a03136.html">CPSAttribMaker</a>&lt;float&gt;* NL3D::CPSForceIntensity::getIntensityScheme </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00186">186</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>.
+<p>
+<div class="fragment"><pre>00186 { <span class="keywordflow">return</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbula19" doxytag="NL3D::CPSForceIntensity::getIntensityScheme" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a>&lt;float&gt;* NL3D::CPSForceIntensity::getIntensityScheme </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the attribute maker for a non constant intensity
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00185">185</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>.
+<p>
+<div class="fragment"><pre>00185 { <span class="keywordflow">return</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbulb8" doxytag="NL3D::CPSForceIntensity::newForceIntensityElement" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::newForceIntensityElement </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>emitterLocated</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>emitterIndex</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00199">199</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker&lt; float &gt;::hasMemory()</a>, <a class="el" href="a06214.html#l00290">NL3D::CPSAttribMaker&lt; float &gt;::newElement()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00716">NL3D::CPSTurbul::newElement()</a>, <a class="el" href="a06240.html#l00620">NL3D::CPSBrownianForce::newElement()</a>, <a class="el" href="a06240.html#l00566">NL3D::CPSFluidFriction::newElement()</a>, and <a class="el" href="a06240.html#l00225">NL3D::CPSForceIntensityHelper::newElement()</a>.
+<p>
+<div class="fragment"><pre>00200 {
+00201 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> &amp;&amp; <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>-&gt;hasMemory()) <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>-&gt;newElement(emitterLocated, emitterIndex);
+00202 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbulb13" doxytag="NL3D::CPSForceIntensity::resizeForceIntensity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::resizeForceIntensity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>size</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, protected]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00207">207</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>, <a class="el" href="a03148.html#NL3D_1_1CPSForceIntensityb1">getForceIntensityOwner()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker&lt; float &gt;::hasMemory()</a>, <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker&lt; float &gt;::resize()</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00718">NL3D::CPSTurbul::resize()</a>, <a class="el" href="a06240.html#l00622">NL3D::CPSBrownianForce::resize()</a>, <a class="el" href="a06240.html#l00568">NL3D::CPSFluidFriction::resize()</a>, and <a class="el" href="a06240.html#l00227">NL3D::CPSForceIntensityHelper::resize()</a>.
+<p>
+<div class="fragment"><pre>00208 {
+00209 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> &amp;&amp; <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>-&gt;hasMemory()) <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>-&gt;resize(size, <a class="code" href="a03148.html#NL3D_1_1CPSForceIntensityb1">getForceIntensityOwner</a>()-&gt;getSize());
+00210 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbula50" doxytag="NL3D::CPSForceIntensity::serialForceIntensity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::serialForceIntensity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06239.html#l00190">190</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00695">NL3D::CPSTurbul::NLMISC_DECLARE_CLASS()</a>, and <a class="el" href="a06240.html#l00549">NL3D::CPSFluidFriction::NLMISC_DECLARE_CLASS()</a>.
+<p>
+<div class="fragment"><pre>00191 {
+00192 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1);
+00193 <span class="keywordflow">if</span> (!f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00194 {
+00195 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>)
+00196 {
+00197 <span class="keywordtype">bool</span> bFalse = <span class="keyword">false</span>;
+00198 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(bFalse);
+00199 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_IntensityScheme);
+00200 }
+00201 <span class="keywordflow">else</span>
+00202 {
+00203 <span class="keywordtype">bool</span> bTrue = <span class="keyword">true</span>;
+00204 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(bTrue);
+00205 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_K);
+00206 }
+00207 }
+00208 <span class="keywordflow">else</span>
+00209 {
+00210 <span class="keywordtype">bool</span> constantIntensity;
+00211 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(constantIntensity);
+00212 <span class="keywordflow">if</span> (constantIntensity)
+00213 {
+00214 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_K);
+00215 }
+00216 <span class="keywordflow">else</span>
+00217 {
+00218 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_IntensityScheme);
+00219 }
+00220 }
+00221 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbula53" doxytag="NL3D::CPSForceIntensity::setIntensity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::setIntensity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>value</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set a constant intensity for the force. this discard any previous call to setIntensityScheme
+<p>
+
+<p>
+Reimplemented in <a class="el" href="a03205.html#NL3D_1_1CPSGravityb14">NL3D::CPSGravity</a>, and <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea51">NL3D::CPSBrownianForce</a>.
+<p>
+Definition at line <a class="el" href="a06239.html#l00166">166</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>, <a class="el" href="a06240.html#l00196">_K</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00451">NL3D::CPSCentralGravity::CPSCentralGravity()</a>, <a class="el" href="a06240.html#l00739">NL3D::CPSCylindricVortex::CPSCylindricVortex()</a>, <a class="el" href="a06240.html#l00361">NL3D::CPSDirectionnalForce::CPSDirectionnalForce()</a>, <a class="el" href="a06240.html#l00537">NL3D::CPSFluidFriction::CPSFluidFriction()</a>, and <a class="el" href="a06240.html#l00471">NL3D::CPSSpring::CPSSpring()</a>.
+<p>
+<div class="fragment"><pre>00167 {
+00168 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>)
+00169 {
+00170 <span class="keyword">delete</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>;
+00171 <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> = NULL;
+00172 }
+00173 <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp4">_K</a> = <a class="code" href="a04223.html#a658">value</a>;
+00174
+00175 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbula54" doxytag="NL3D::CPSForceIntensity::setIntensityScheme" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CPSForceIntensity::setIntensityScheme </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03136.html">CPSAttribMaker</a>&lt; float &gt; *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>scheme</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set a non-constant intensity
+<p>
+
+<p>
+Reimplemented in <a class="el" href="a03205.html#NL3D_1_1CPSGravityb15">NL3D::CPSGravity</a>, and <a class="el" href="a03147.html#NL3D_1_1CPSBrownianForcea52">NL3D::CPSBrownianForce</a>.
+<p>
+Definition at line <a class="el" href="a06239.html#l00182">182</a> of file <a class="el" href="a06239.html">ps_force.cpp</a>.
+<p>
+References <a class="el" href="a06240.html#l00197">_IntensityScheme</a>, <a class="el" href="a03148.html#NL3D_1_1CPSForceIntensityb1">getForceIntensityOwner()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker&lt; T &gt;::resize()</a>.
+<p>
+<div class="fragment"><pre>00183 {
+00184 <a class="code" href="a04199.html#a6">nlassert</a>(scheme);
+00185 <span class="keyword">delete</span> <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a>;
+00186 <a class="code" href="a03148.html#NL3D_1_1CPSTurbulp3">_IntensityScheme</a> = scheme;
+00187 <span class="keywordflow">if</span> (<a class="code" href="a03148.html#NL3D_1_1CPSForceIntensityb1">getForceIntensityOwner</a>() &amp;&amp; scheme-&gt;hasMemory()) scheme-&gt;resize(<a class="code" href="a03148.html#NL3D_1_1CPSForceIntensityb1">getForceIntensityOwner</a>()-&gt;getMaxSize(), <a class="code" href="a03148.html#NL3D_1_1CPSForceIntensityb1">getForceIntensityOwner</a>()-&gt;getSize());
+00188 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSSpringa56" doxytag="NL3D::CPSForceIntensity::setupFunctor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CPSForceIntensity::setupFunctor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>indexInLocated</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented in <a class="el" href="a03203.html#NL3D_1_1CPSFluidFrictiona56">NL3D::CPSFluidFriction</a>, and <a class="el" href="a03243.html#NL3D_1_1CPSTurbula60">NL3D::CPSTurbul</a>.
+<p>
+Definition at line <a class="el" href="a06240.html#l00182">182</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00182 { }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSTurbulp3" doxytag="NL3D::CPSForceIntensity::_IntensityScheme" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a>&lt;float&gt;* <a class="el" href="a03148.html#NL3D_1_1CPSTurbulp3">NL3D::CPSForceIntensity::_IntensityScheme</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00197">197</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00165">CPSForceIntensity()</a>, <a class="el" href="a06240.html#l00203">deleteForceIntensityElement()</a>, <a class="el" href="a06240.html#l00185">getIntensityScheme()</a>, <a class="el" href="a06240.html#l00199">newForceIntensityElement()</a>, <a class="el" href="a06240.html#l00207">resizeForceIntensity()</a>, <a class="el" href="a06239.html#l00166">setIntensity()</a>, <a class="el" href="a06239.html#l00182">setIntensityScheme()</a>, and <a class="el" href="a06239.html#l00177">~CPSForceIntensity()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSTurbulp4" doxytag="NL3D::CPSForceIntensity::_K" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float <a class="el" href="a03148.html#NL3D_1_1CPSTurbulp4">NL3D::CPSForceIntensity::_K</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06240.html#l00196">196</a> of file <a class="el" href="a06240.html">ps_force.h</a>.
+<p>
+Referenced by <a class="el" href="a06240.html#l00173">getIntensity()</a>, and <a class="el" href="a06239.html#l00166">setIntensity()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06240.html">ps_force.h</a><li><a class="el" href="a06239.html">ps_force.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:14:37 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>