PageRenderTime 251ms CodeModel.GetById 121ms app.highlight 77ms RepoModel.GetById 23ms app.codeStats 4ms

/doc/html/timoshenko_8cpp_source.html

https://bitbucket.org/slawton/windturbinemdo-stevebitb
HTML | 1946 lines | 1926 code | 17 blank | 3 comment | 0 complexity | 7a249bc34be215db4a866f2082e33f9d MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2<html xmlns="http://www.w3.org/1999/xhtml">
  3<head>
  4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5<title>WindTurbineMDO: structural/VABS_Calc/practice/timoshenko.cpp Source File</title>
  6
  7<link href="tabs.css" rel="stylesheet" type="text/css"/>
  8<link href="doxygen.css" rel="stylesheet" type="text/css" />
  9<link href="navtree.css" rel="stylesheet" type="text/css"/>
 10<script type="text/javascript" src="jquery.js"></script>
 11<script type="text/javascript" src="resize.js"></script>
 12<script type="text/javascript" src="navtree.js"></script>
 13<script type="text/javascript">
 14  $(document).ready(initResizable);
 15</script>
 16<link href="search/search.css" rel="stylesheet" type="text/css"/>
 17<script type="text/javascript" src="search/search.js"></script>
 18<script type="text/javascript">
 19  $(document).ready(function() { searchBox.OnSelectItem(0); });
 20</script>
 21
 22</head>
 23<body>
 24<div id="top"><!-- do not remove this div! -->
 25
 26
 27<div id="titlearea">
 28<table cellspacing="0" cellpadding="0">
 29 <tbody>
 30 <tr style="height: 56px;">
 31  
 32  
 33  <td style="padding-left: 0.5em;">
 34   <div id="projectname">WindTurbineMDO
 35   
 36   </div>
 37   
 38  </td>
 39  
 40  
 41  
 42 </tr>
 43 </tbody>
 44</table>
 45</div>
 46
 47<!-- Generated by Doxygen 1.7.5.1 -->
 48<script type="text/javascript">
 49var searchBox = new SearchBox("searchBox", "search",false,'Search');
 50</script>
 51  <div id="navrow1" class="tabs">
 52    <ul class="tablist">
 53      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
 54      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 55      <li><a href="annotated.html"><span>Classes</span></a></li>
 56      <li class="current"><a href="files.html"><span>Files</span></a></li>
 57      <li>
 58        <div id="MSearchBox" class="MSearchBoxInactive">
 59        <span class="left">
 60          <img id="MSearchSelect" src="search/mag_sel.png"
 61               onmouseover="return searchBox.OnSearchSelectShow()"
 62               onmouseout="return searchBox.OnSearchSelectHide()"
 63               alt=""/>
 64          <input type="text" id="MSearchField" value="Search" accesskey="S"
 65               onfocus="searchBox.OnSearchFieldFocus(true)" 
 66               onblur="searchBox.OnSearchFieldFocus(false)" 
 67               onkeyup="searchBox.OnSearchFieldChange(event)"/>
 68          </span><span class="right">
 69            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
 70          </span>
 71        </div>
 72      </li>
 73    </ul>
 74  </div>
 75  <div id="navrow2" class="tabs2">
 76    <ul class="tablist">
 77      <li><a href="files.html"><span>File&#160;List</span></a></li>
 78      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
 79    </ul>
 80  </div>
 81</div>
 82<div id="side-nav" class="ui-resizable side-nav-resizable">
 83  <div id="nav-tree">
 84    <div id="nav-tree-contents">
 85    </div>
 86  </div>
 87  <div id="splitbar" style="-moz-user-select:none;" 
 88       class="ui-resizable-handle">
 89  </div>
 90</div>
 91<script type="text/javascript">
 92  initNavTree('timoshenko_8cpp.html','');
 93</script>
 94<div id="doc-content">
 95<div class="header">
 96  <div class="headertitle">
 97<div class="title">structural/VABS_Calc/practice/timoshenko.cpp</div>  </div>
 98</div>
 99<div class="contents">
100<a href="timoshenko_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
101<a name="l00002"></a>00002 <span class="comment">// This is some source code that ensures that I understand the Timoshenko VABS model</span>
102<a name="l00003"></a>00003 
103<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;iostream&gt;</span>
104<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;sstream&gt;</span>
105<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;vector&gt;</span>
106<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;list&gt;</span>
107<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;cstdlib&gt;</span>
108<a name="l00009"></a>00009 
109<a name="l00010"></a>00010 <span class="keyword">using namespace </span>std;
110<a name="l00011"></a>00011 
111<a name="l00012"></a>00012 <span class="comment">// This was written in the middle when a new matrix library was being integrated to replace the old... so the code uses the old but written below to be easily replace with the new</span>
112<a name="l00013"></a>00013 
113<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;../../../utility/cpplapack/trunk/include/cpplapack.h&quot;</span>
114<a name="l00015"></a>00015 <span class="preprocessor">#include &quot;../../../utility/eMsg/ver_1/eMsg.h&quot;</span>
115<a name="l00016"></a>00016 <span class="preprocessor">#include &quot;../../../utility/matrix/ver_2/matrixClass.h&quot;</span>
116<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;../../../utility/matrix_Solver/source/ver_1/matrixSolverSudo.cpp&quot;</span>
117<a name="l00018"></a>00018 
118<a name="l00019"></a><a class="code" href="timoshenko_8cpp.html#a926743e1c2bd9fc382c84014036246c2">00019</a> <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="timoshenko_8cpp.html#a926743e1c2bd9fc382c84014036246c2">dataType</a>;
119<a name="l00020"></a><a class="code" href="timoshenko_8cpp.html#aafc02576e05cd19ef8450044d881c1b5">00020</a> <span class="keyword">typedef</span> <a class="code" href="classmatrixRdWtSzVectCol__Data.html">matrixRdWtSzVectCol_Data&lt;double&gt;</a> <a class="code" href="timoshenko_8cpp.html#aafc02576e05cd19ef8450044d881c1b5">type_vector</a>;
120<a name="l00021"></a><a class="code" href="timoshenko_8cpp.html#a0f9208db513a67c73562d6bc2acb2438">00021</a> <span class="keyword">typedef</span> <a class="code" href="classmatrixRdWtSzSqr__Data.html">matrixRdWtSzSqr_Data&lt;double&gt;</a> <a class="code" href="timoshenko_8cpp.html#a0f9208db513a67c73562d6bc2acb2438">type_squareMatrix</a>;
121<a name="l00022"></a><a class="code" href="timoshenko_8cpp.html#ad87bbfc7dec18456e301e1a58ac12185">00022</a> <span class="keyword">typedef</span> <a class="code" href="classmatrixRdWtSz__Data.html">matrixRdWtSz_Data&lt;double&gt;</a> <a class="code" href="timoshenko_8cpp.html#ad87bbfc7dec18456e301e1a58ac12185">type_matrix</a>;
122<a name="l00023"></a>00023 
123<a name="l00024"></a>00024 <span class="comment">// problem specific stuff</span>
124<a name="l00025"></a>00025 
125<a name="l00026"></a><a class="code" href="timoshenko_8cpp.html#a856a5186f7bb53afe9807af3e350a3fc">00026</a> <a class="code" href="classmatrixRdWtSzSqr__Data.html">type_squareMatrix</a> <a class="code" href="timoshenko_8cpp.html#a856a5186f7bb53afe9807af3e350a3fc">permutation</a>;
126<a name="l00027"></a><a class="code" href="timoshenko_8cpp.html#a488a005f6c18cfe6a45f0dab98134def">00027</a> <a class="code" href="classmatrixRdWtSzSqr__Data.html">type_squareMatrix</a> <a class="code" href="timoshenko_8cpp.html#a488a005f6c18cfe6a45f0dab98134def">material</a>;
127<a name="l00028"></a><a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">00028</a> <a class="code" href="classmatrixRdWtSzVectCol__Data.html">type_vector</a> <a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>;
128<a name="l00029"></a>00029 
129<a name="l00030"></a>00030 <span class="comment">// some utility code</span>
130<a name="l00031"></a>00031 
131<a name="l00032"></a><a class="code" href="timoshenko_8cpp.html#a54d7ca7a16425ee21626a59d0ce01d16">00032</a> <span class="keywordtype">void</span> <a class="code" href="timoshenko_8cpp.html#a54d7ca7a16425ee21626a59d0ce01d16">printMatrix</a>(<span class="keyword">const</span> <a class="code" href="classmatrix.html">matrix&lt;double&gt;</a>&amp; mtx)
132<a name="l00033"></a>00033 {
133<a name="l00034"></a>00034         <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> r,c;
134<a name="l00035"></a>00035 
135<a name="l00036"></a>00036         mtx.<a class="code" href="classmatrix.html#a3a26f3543df8cff3e662e949e8b9234d">size</a>(r,c);
136<a name="l00037"></a>00037 
137<a name="l00038"></a>00038         stringstream ssArray;
138<a name="l00039"></a>00039 
139<a name="l00040"></a>00040         vector&lt;unsigned long&gt; maxCol(c,0);
140<a name="l00041"></a>00041 
141<a name="l00042"></a>00042         <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>=0;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>&lt;r;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>++)
142<a name="l00043"></a>00043         {
143<a name="l00044"></a>00044                 <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> j=0;j&lt;c;j++)
144<a name="l00045"></a>00045                 {
145<a name="l00046"></a>00046                         ssArray.str(<span class="stringliteral">&quot;&quot;</span>);
146<a name="l00047"></a>00047                         ssArray &lt;&lt; mtx.<a class="code" href="classmatrix.html#a81a746378de5ff16645b2cc51189e302">entry</a>(<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>,j);
147<a name="l00048"></a>00048                         <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> sz=ssArray.str().size();
148<a name="l00049"></a>00049                         <span class="keywordflow">if</span>(sz&gt;maxCol[j])
149<a name="l00050"></a>00050                                 maxCol[j]=sz;
150<a name="l00051"></a>00051                 }
151<a name="l00052"></a>00052         }
152<a name="l00053"></a>00053 
153<a name="l00054"></a>00054         <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>=0;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>&lt;r;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>++)
154<a name="l00055"></a>00055         {
155<a name="l00056"></a>00056                 <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> j=0;j&lt;c;j++)
156<a name="l00057"></a>00057                 {
157<a name="l00058"></a>00058                         ssArray.str(<span class="stringliteral">&quot;&quot;</span>);
158<a name="l00059"></a>00059                         ssArray &lt;&lt; mtx.<a class="code" href="classmatrix.html#a81a746378de5ff16645b2cc51189e302">entry</a>(<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>,j);
159<a name="l00060"></a>00060                         cout &lt;&lt; ssArray.str().c_str();
160<a name="l00061"></a>00061                         <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> k=ssArray.str().size();k&lt;=maxCol[j];k++)
161<a name="l00062"></a>00062                                 cout &lt;&lt; <span class="charliteral">&#39; &#39;</span>;
162<a name="l00063"></a>00063                 }
163<a name="l00064"></a>00064                 cout &lt;&lt; endl;
164<a name="l00065"></a>00065         }
165<a name="l00066"></a>00066 }
166<a name="l00067"></a>00067 
167<a name="l00068"></a>00068 <span class="comment">// The following class&#39;s are temporary. They are meant to represent object that actually exist within the hiearchy.</span>
168<a name="l00069"></a>00069 
169<a name="l00070"></a>00070 <span class="keyword">template</span>&lt;<span class="keyword">class</span> retType&gt;
170<a name="l00071"></a>00071 <span class="keyword">class </span><a class="code" href="classkernel.html">kernel</a>
171<a name="l00072"></a>00072 {
172<a name="l00073"></a>00073         <span class="keyword">public</span>:
173<a name="l00074"></a>00074 
174<a name="l00075"></a><a class="code" href="classkernel.html#a97692a5d1deced27bcf03133ed862096">00075</a>                 <a class="code" href="classkernel.html">kernel</a>()
175<a name="l00076"></a>00076                 {}
176<a name="l00077"></a>00077 
177<a name="l00078"></a><a class="code" href="classkernel.html#aea52ea16c27097a2a28995516f88a388">00078</a>                 <span class="keyword">virtual</span> ~<a class="code" href="classkernel.html">kernel</a>()
178<a name="l00079"></a>00079                 {}
179<a name="l00080"></a>00080 
180<a name="l00081"></a>00081                 <span class="keyword">virtual</span> retType value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)=0;
181<a name="l00082"></a>00082 };
182<a name="l00083"></a>00083 
183<a name="l00084"></a>00084 <span class="keyword">class </span><a class="code" href="classkernel__dyad.html">kernel_dyad</a> : <span class="keyword">public</span> <a class="code" href="classkernel.html">kernel</a>&lt;type_matrix&gt;
184<a name="l00085"></a>00085 {
185<a name="l00086"></a>00086         <span class="keyword">private</span>:
186<a name="l00087"></a>00087 
187<a name="l00088"></a>00088                 <a class="code" href="classkernel.html">kernel&lt;type_vector&gt;</a>&amp; vectKrnl;
188<a name="l00089"></a>00089 
189<a name="l00090"></a>00090         <span class="keyword">public</span>:
190<a name="l00091"></a>00091 
191<a name="l00092"></a><a class="code" href="classkernel__dyad.html#af1fe11d91ec2a57d132d9315f2c960fc">00092</a>                 <a class="code" href="classkernel__dyad.html">kernel_dyad</a>(<a class="code" href="classkernel.html">kernel&lt;type_vector&gt;</a>&amp; vectKrnl_in) : vectKrnl(vectKrnl_in)
192<a name="l00093"></a>00093                 {}
193<a name="l00094"></a>00094 
194<a name="l00095"></a><a class="code" href="classkernel__dyad.html#a1d251deb0934aaa10d4e7452395feb5e">00095</a>                 ~<a class="code" href="classkernel__dyad.html">kernel_dyad</a>()
195<a name="l00096"></a>00096                 {}
196<a name="l00097"></a>00097 
197<a name="l00098"></a><a class="code" href="classkernel__dyad.html#a0d3cb39653f00b3559c37706e7001254">00098</a>                 <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)
198<a name="l00099"></a>00099                 {
199<a name="l00100"></a>00100                         <span class="keywordflow">return</span> vectKrnl.value(x,y,N0,N1,N2,N3,d0_dx,d0_dy,d1_dx,d1_dy,d2_dx,d2_dy,d3_dx,d3_dy)*(vectKrnl.value(x,y,N0,N1,N2,N3,d0_dx,d0_dy,d1_dx,d1_dy,d2_dx,d2_dy,d3_dx,d3_dy)).<a class="code" href="rotationMath_8cpp.html#a77ad922cc714adc5ebf10e36b2dd58f8">T</a>();
200<a name="l00101"></a>00101                 }
201<a name="l00102"></a>00102 };
202<a name="l00103"></a>00103 
203<a name="l00104"></a>00104 <span class="keyword">class </span><a class="code" href="classkernel__shape.html">kernel_shape</a> : <span class="keyword">public</span> <a class="code" href="classkernel.html">kernel</a>&lt;type_vector&gt;
204<a name="l00105"></a>00105 {
205<a name="l00106"></a>00106         <span class="keyword">public</span>:
206<a name="l00107"></a>00107 
207<a name="l00108"></a><a class="code" href="classkernel__shape.html#a1d9164f7ba8887b40af4f3eae5b3df13">00108</a>                 <a class="code" href="classkernel__shape.html">kernel_shape</a>()
208<a name="l00109"></a>00109                 {}
209<a name="l00110"></a>00110 
210<a name="l00111"></a><a class="code" href="classkernel__shape.html#affb60d94d3506839608e268378859721">00111</a>                 ~<a class="code" href="classkernel__shape.html">kernel_shape</a>()
211<a name="l00112"></a>00112                 {}
212<a name="l00113"></a>00113 
213<a name="l00114"></a><a class="code" href="classkernel__shape.html#a30d87f05f9ba21bec121e322fd4db809">00114</a>                 <a class="code" href="classmatrixRdWtSzVectCol__Data.html">type_vector</a> value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)
214<a name="l00115"></a>00115                 {
215<a name="l00116"></a>00116                         <a class="code" href="classmatrixRdWtSzVectCol__Data.html">type_vector</a> retVal(12);
216<a name="l00117"></a>00117 
217<a name="l00118"></a>00118                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(0)=N0;
218<a name="l00119"></a>00119                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(1)=N0;
219<a name="l00120"></a>00120                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(2)=N0;
220<a name="l00121"></a>00121 
221<a name="l00122"></a>00122                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(3)=N1;
222<a name="l00123"></a>00123                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(4)=N1;
223<a name="l00124"></a>00124                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(5)=N1;
224<a name="l00125"></a>00125 
225<a name="l00126"></a>00126                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(6)=N2;
226<a name="l00127"></a>00127                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(7)=N2;
227<a name="l00128"></a>00128                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(8)=N2;
228<a name="l00129"></a>00129 
229<a name="l00130"></a>00130                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(9)=N3;
230<a name="l00131"></a>00131                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(10)=N3;
231<a name="l00132"></a>00132                         retVal.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(11)=N3;
232<a name="l00133"></a>00133 
233<a name="l00134"></a>00134                         <span class="keywordflow">return</span> retVal;
234<a name="l00135"></a>00135                 }
235<a name="l00136"></a>00136 };
236<a name="l00137"></a>00137 
237<a name="l00138"></a>00138 <span class="keyword">template</span> &lt;<span class="keyword">class</span> retType,<span class="keyword">class</span> leftType,<span class="keyword">class</span> rightType&gt;
238<a name="l00139"></a>00139 <span class="keyword">class </span><a class="code" href="classkernel__GammaDGamma.html">kernel_GammaDGamma</a> : <span class="keyword">public</span> <a class="code" href="classkernel.html">kernel</a>&lt;retType&gt;
239<a name="l00140"></a>00140 {
240<a name="l00141"></a>00141         <span class="keyword">private</span>:
241<a name="l00142"></a>00142 
242<a name="l00143"></a>00143                 <a class="code" href="classkernel.html">kernel&lt;leftType&gt;</a>&amp; gammaLeft;
243<a name="l00144"></a>00144                 <a class="code" href="classkernel.html">kernel&lt;rightType&gt;</a>&amp; gammaRight;
244<a name="l00145"></a>00145 
245<a name="l00146"></a>00146         <span class="keyword">public</span>:
246<a name="l00147"></a>00147 
247<a name="l00148"></a><a class="code" href="classkernel__GammaDGamma.html#a763203063d61b2c4d63e4c1f74aae14a">00148</a>                 <a class="code" href="classkernel__GammaDGamma.html">kernel_GammaDGamma</a>(<a class="code" href="classkernel.html">kernel&lt;leftType&gt;</a>&amp; gammaLeft_in,<a class="code" href="classkernel.html">kernel&lt;rightType&gt;</a>&amp; gammaRight_in) : gammaLeft(gammaLeft_in) , gammaRight(gammaRight_in)
248<a name="l00149"></a>00149                 {}
249<a name="l00150"></a>00150 
250<a name="l00151"></a><a class="code" href="classkernel__GammaDGamma.html#af8564e982dc5577c89456e7ad1bf2a91">00151</a>                 ~<a class="code" href="classkernel__GammaDGamma.html">kernel_GammaDGamma</a>()
251<a name="l00152"></a>00152                 {}
252<a name="l00153"></a>00153 
253<a name="l00154"></a><a class="code" href="classkernel__GammaDGamma.html#a2eb35f3ff8b3aa0670529254f371d7c3">00154</a>                 retType value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)
254<a name="l00155"></a>00155                 {
255<a name="l00156"></a>00156                         <span class="keywordtype">double</span> crvScl=sqrt(1.0-x*<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(2)+y*<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(1));
256<a name="l00157"></a>00157 
257<a name="l00158"></a>00158                         <span class="keywordflow">return</span> ((gammaLeft.value(x, y,N0,N1,N2,N3,d0_dx,d0_dy,d1_dx,d1_dy,d2_dx,d2_dy,d3_dx,d3_dy)).<a class="code" href="rotationMath_8cpp.html#a77ad922cc714adc5ebf10e36b2dd58f8">T</a>())*<a class="code" href="timoshenko_8cpp.html#a856a5186f7bb53afe9807af3e350a3fc">permutation</a>.<a class="code" href="classmatrixRdWtSzSqr__Data.html#a0aaafd5034f44c778cd2a793c992e5e9">T</a>()*<a class="code" href="timoshenko_8cpp.html#a488a005f6c18cfe6a45f0dab98134def">material</a>*<a class="code" href="timoshenko_8cpp.html#a856a5186f7bb53afe9807af3e350a3fc">permutation</a>*(gammaRight.value(x, y,N0,N1,N2,N3,d0_dx,d0_dy,d1_dx,d1_dy,d2_dx,d2_dy,d3_dx,d3_dy))*crvScl;
258<a name="l00159"></a>00159                 }
259<a name="l00160"></a>00160 };
260<a name="l00161"></a>00161 
261<a name="l00162"></a>00162 <span class="keyword">class </span><a class="code" href="classkernel__Gamma__a.html">kernel_Gamma_a</a> : <span class="keyword">public</span> <a class="code" href="classkernel.html">kernel</a>&lt;type_matrix&gt;
262<a name="l00163"></a>00163 {
263<a name="l00164"></a>00164         <span class="keyword">public</span>:
264<a name="l00165"></a>00165 
265<a name="l00166"></a><a class="code" href="classkernel__Gamma__a.html#a49e3a0ae0cbe3722c0e69f650f90ad67">00166</a>                 <a class="code" href="classkernel__Gamma__a.html">kernel_Gamma_a</a>()
266<a name="l00167"></a>00167                 {}
267<a name="l00168"></a>00168 
268<a name="l00169"></a><a class="code" href="classkernel__Gamma__a.html#adee9d9dcd13838b557ae2f6634cae2a1">00169</a>                 ~<a class="code" href="classkernel__Gamma__a.html">kernel_Gamma_a</a>()
269<a name="l00170"></a>00170                 {}
270<a name="l00171"></a>00171 
271<a name="l00172"></a><a class="code" href="classkernel__Gamma__a.html#a4671aa915ad0bab8e1d5a4725dbaf284">00172</a>                 <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)
272<a name="l00173"></a>00173                 {
273<a name="l00174"></a>00174                         <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> retVal(6,12);
274<a name="l00175"></a>00175 
275<a name="l00176"></a>00176                         <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>=0;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>&lt;6;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>++)
276<a name="l00177"></a>00177                         {
277<a name="l00178"></a>00178                                 <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> j=0;j&lt;12;j++)
278<a name="l00179"></a>00179                                 {
279<a name="l00180"></a>00180                                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>,j)=0.0;
280<a name="l00181"></a>00181                                 }
281<a name="l00182"></a>00182                         }
282<a name="l00183"></a>00183 
283<a name="l00184"></a>00184                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(1,0)=d0_dx;
284<a name="l00185"></a>00185                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(2,0)=d0_dy;
285<a name="l00186"></a>00186                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(3,1)=d0_dx;
286<a name="l00187"></a>00187                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,1)=d0_dy;
287<a name="l00188"></a>00188                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,2)=d0_dx;
288<a name="l00189"></a>00189                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(5,2)=d0_dy;
289<a name="l00190"></a>00190 
290<a name="l00191"></a>00191                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(1,3)=d1_dx;
291<a name="l00192"></a>00192                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(2,3)=d1_dy;
292<a name="l00193"></a>00193                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(3,4)=d1_dx;
293<a name="l00194"></a>00194                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,4)=d1_dy;
294<a name="l00195"></a>00195                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,5)=d1_dx;
295<a name="l00196"></a>00196                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(5,5)=d1_dy;
296<a name="l00197"></a>00197 
297<a name="l00198"></a>00198                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(1,6)=d2_dx;
298<a name="l00199"></a>00199                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(2,6)=d2_dy;
299<a name="l00200"></a>00200                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(3,7)=d2_dx;
300<a name="l00201"></a>00201                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,7)=d2_dy;
301<a name="l00202"></a>00202                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,8)=d2_dx;
302<a name="l00203"></a>00203                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(5,8)=d2_dy;
303<a name="l00204"></a>00204 
304<a name="l00205"></a>00205                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(1,9)=d3_dx;
305<a name="l00206"></a>00206                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(2,9)=d3_dy;
306<a name="l00207"></a>00207                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(3,10)=d3_dx;
307<a name="l00208"></a>00208                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,10)=d3_dy;
308<a name="l00209"></a>00209                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(4,11)=d3_dx;
309<a name="l00210"></a>00210                         retVal.<a class="code" href="classmatrixRdWt.html#a85aaa63333c688527b5e62dbce69cb61">entry</a>(5,11)=d3_dy;
310<a name="l00211"></a>00211 
311<a name="l00212"></a>00212 <span class="keyword">static</span> list&lt;double&gt; xList;
312<a name="l00213"></a>00213 <span class="keyword">static</span> list&lt;double&gt; yList;
313<a name="l00214"></a>00214 <span class="keywordtype">bool</span> isFnd=<span class="keyword">false</span>;
314<a name="l00215"></a>00215 list&lt;double&gt;::iterator itY=yList.begin();
315<a name="l00216"></a>00216 <span class="keywordflow">for</span>(list&lt;double&gt;::iterator itX=xList.begin();itX!=xList.end();itX++)
316<a name="l00217"></a>00217 {
317<a name="l00218"></a>00218         <span class="keywordflow">if</span>( (*itX)==x &amp;&amp; (*itY)==y )
318<a name="l00219"></a>00219         {
319<a name="l00220"></a>00220                 isFnd=<span class="keyword">true</span>;
320<a name="l00221"></a>00221                 <span class="keywordflow">break</span>;
321<a name="l00222"></a>00222         }
322<a name="l00223"></a>00223         itY++;
323<a name="l00224"></a>00224 }
324<a name="l00225"></a>00225 <span class="keywordflow">if</span>(!isFnd)
325<a name="l00226"></a>00226 {
326<a name="l00227"></a>00227         cout &lt;&lt; endl &lt;&lt; <span class="stringliteral">&quot;The Gamma_a at x=&quot;</span> &lt;&lt; x &lt;&lt; <span class="stringliteral">&quot; and y=&quot;</span> &lt;&lt; y &lt;&lt; endl;
327<a name="l00228"></a>00228         <a class="code" href="timoshenko_8cpp.html#a54d7ca7a16425ee21626a59d0ce01d16">printMatrix</a>(retVal);
328<a name="l00229"></a>00229         xList.push_back(x);
329<a name="l00230"></a>00230         yList.push_back(y);
330<a name="l00231"></a>00231 }
331<a name="l00232"></a>00232 
332<a name="l00233"></a>00233                         <span class="keywordflow">return</span> retVal;
333<a name="l00234"></a>00234                 }
334<a name="l00235"></a>00235 };
335<a name="l00236"></a>00236 
336<a name="l00237"></a>00237 <span class="keyword">class </span><a class="code" href="classkernel__Gamma__e.html">kernel_Gamma_e</a> : <span class="keyword">public</span> <a class="code" href="classkernel.html">kernel</a>&lt;type_matrix&gt;
337<a name="l00238"></a>00238 {
338<a name="l00239"></a>00239         <span class="keyword">public</span>:
339<a name="l00240"></a>00240 
340<a name="l00241"></a><a class="code" href="classkernel__Gamma__e.html#a032a1a24ec1b5b1d283d1b6fb785b3a9">00241</a>                 <a class="code" href="classkernel__Gamma__e.html">kernel_Gamma_e</a>()
341<a name="l00242"></a>00242                 {}
342<a name="l00243"></a>00243 
343<a name="l00244"></a><a class="code" href="classkernel__Gamma__e.html#aea5a494f4b519b9337bfe5b0d4ea6bc4">00244</a>                 ~<a class="code" href="classkernel__Gamma__e.html">kernel_Gamma_e</a>()
344<a name="l00245"></a>00245                 {}
345<a name="l00246"></a>00246 
346<a name="l00247"></a><a class="code" href="classkernel__Gamma__e.html#acd486b90b112472ab22aac52ea58e0ee">00247</a>                 <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)
347<a name="l00248"></a>00248                 {
348<a name="l00249"></a>00249                         <span class="keywordtype">double</span> crvScl=1.0/sqrt(1.0-x*<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(2)+y*<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(1));
349<a name="l00250"></a>00250 
350<a name="l00251"></a>00251                         <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> retVal(6,4);
351<a name="l00252"></a>00252 
352<a name="l00253"></a>00253                         <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>=0;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>&lt;6;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>++)
353<a name="l00254"></a>00254                         {
354<a name="l00255"></a>00255                                 <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> j=0;j&lt;4;j++)
355<a name="l00256"></a>00256                                 {
356<a name="l00257"></a>00257                                         retVal.entry(<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>,j)=0.0;
357<a name="l00258"></a>00258                                 }
358<a name="l00259"></a>00259                         }
359<a name="l00260"></a>00260 
360<a name="l00261"></a>00261                         retVal.entry(0,0)=crvScl;
361<a name="l00262"></a>00262                         retVal.entry(0,2)=y*crvScl;
362<a name="l00263"></a>00263                         retVal.entry(0,3)=-x*crvScl;
363<a name="l00264"></a>00264                         retVal.entry(1,1)=-y*crvScl;
364<a name="l00265"></a>00265                         retVal.entry(2,1)=x*crvScl;
365<a name="l00266"></a>00266 
366<a name="l00267"></a>00267 <span class="keyword">static</span> list&lt;double&gt; xList;
367<a name="l00268"></a>00268 <span class="keyword">static</span> list&lt;double&gt; yList;
368<a name="l00269"></a>00269 <span class="keywordtype">bool</span> isFnd=<span class="keyword">false</span>;
369<a name="l00270"></a>00270 list&lt;double&gt;::iterator itY=yList.begin();
370<a name="l00271"></a>00271 <span class="keywordflow">for</span>(list&lt;double&gt;::iterator itX=xList.begin();itX!=xList.end();itX++)
371<a name="l00272"></a>00272 {
372<a name="l00273"></a>00273         <span class="keywordflow">if</span>( (*itX)==x &amp;&amp; (*itY)==y )
373<a name="l00274"></a>00274         {
374<a name="l00275"></a>00275                 isFnd=<span class="keyword">true</span>;
375<a name="l00276"></a>00276                 <span class="keywordflow">break</span>;
376<a name="l00277"></a>00277         }
377<a name="l00278"></a>00278         itY++;
378<a name="l00279"></a>00279 }
379<a name="l00280"></a>00280 <span class="keywordflow">if</span>(!isFnd)
380<a name="l00281"></a>00281 {
381<a name="l00282"></a>00282         cout &lt;&lt; endl &lt;&lt; <span class="stringliteral">&quot;The Gamma_e at x=&quot;</span> &lt;&lt; x &lt;&lt; <span class="stringliteral">&quot; and y=&quot;</span> &lt;&lt; y &lt;&lt; endl;
382<a name="l00283"></a>00283         <a class="code" href="timoshenko_8cpp.html#a54d7ca7a16425ee21626a59d0ce01d16">printMatrix</a>(retVal);
383<a name="l00284"></a>00284         xList.push_back(x);
384<a name="l00285"></a>00285         yList.push_back(y);
385<a name="l00286"></a>00286 }
386<a name="l00287"></a>00287 
387<a name="l00288"></a>00288                         <span class="keywordflow">return</span> retVal;
388<a name="l00289"></a>00289                 }
389<a name="l00290"></a>00290 };
390<a name="l00291"></a>00291 
391<a name="l00292"></a>00292 <span class="keyword">class </span><a class="code" href="classkernel__Gamma__R.html">kernel_Gamma_R</a> : <span class="keyword">public</span> <a class="code" href="classkernel.html">kernel</a>&lt;type_matrix&gt;
392<a name="l00293"></a>00293 {
393<a name="l00294"></a>00294         <span class="keyword">public</span>:
394<a name="l00295"></a>00295 
395<a name="l00296"></a><a class="code" href="classkernel__Gamma__R.html#a1ea0a2fa74e896a5b44114d4ecef4479">00296</a>                 <a class="code" href="classkernel__Gamma__R.html">kernel_Gamma_R</a>()
396<a name="l00297"></a>00297                 {}
397<a name="l00298"></a>00298 
398<a name="l00299"></a><a class="code" href="classkernel__Gamma__R.html#aa33da423c6b89875fa73d0a42bd15eef">00299</a>                 ~<a class="code" href="classkernel__Gamma__R.html">kernel_Gamma_R</a>()
399<a name="l00300"></a>00300                 {}
400<a name="l00301"></a>00301 
401<a name="l00302"></a><a class="code" href="classkernel__Gamma__R.html#ac87319b5a458f93e9a31a6cd22b86384">00302</a>                 <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)
402<a name="l00303"></a>00303                 {
403<a name="l00304"></a>00304                         <span class="keywordtype">double</span> crvScl=1.0/sqrt(1.0-x*<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(2)+y*<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(1));
404<a name="l00305"></a>00305 
405<a name="l00306"></a>00306                         <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> retVal(6,12);
406<a name="l00307"></a>00307 
407<a name="l00308"></a>00308                         <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>=0;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>&lt;6;<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>++)
408<a name="l00309"></a>00309                         {
409<a name="l00310"></a>00310                                 <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> j=0;j&lt;12;j++)
410<a name="l00311"></a>00311                                 {
411<a name="l00312"></a>00312                                         retVal.entry(<a class="code" href="namespaceCPPL.html#aca67a31b860a54cc09b2519953aa2b39">i</a>,j)=0.0;
412<a name="l00313"></a>00313                                 }
413<a name="l00314"></a>00314                         }
414<a name="l00315"></a>00315 
415<a name="l00316"></a>00316                         <span class="keywordtype">double</span> k1=<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(0);
416<a name="l00317"></a>00317                         <span class="keywordtype">double</span> k2=<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(1);
417<a name="l00318"></a>00318                         <span class="keywordtype">double</span> k3=<a class="code" href="timoshenko_8cpp.html#a1e776dd3343771810a67266093bf6123">curvature</a>.<a class="code" href="classmatrixRdWtVect.html#ab6754006e5bfc55c5a3ade09cb9f5a65">entry</a>(2);
418<a name="l00319"></a>00319                         <span class="keywordtype">double</span> diag;
419<a name="l00320"></a>00320 
420<a name="l00321"></a>00321                         diag=k1*(y*d0_dx-x*d0_dy);
421<a name="l00322"></a>00322                         retVal.entry(0,0)=(diag)*crvScl;
422<a name="l00323"></a>00323                         retVal.entry(0,1)=(-k3)*crvScl*N0;
423<a name="l00324"></a>00324                         retVal.entry(0,2)=(k2)*crvScl*N0;
424<a name="l00325"></a>00325                         retVal.entry(1,0)=(k3)*crvScl*N0;
425<a name="l00326"></a>00326                         retVal.entry(1,1)=(diag)*crvScl;
426<a name="l00327"></a>00327                         retVal.entry(1,2)=(-k1)*crvScl*N0;
427<a name="l00328"></a>00328                         retVal.entry(2,0)=(-k2)*crvScl*N0;
428<a name="l00329"></a>00329                         retVal.entry(2,1)=(k1)*crvScl*N0;
429<a name="l00330"></a>00330                         retVal.entry(2,2)=(diag)*crvScl;
430<a name="l00331"></a>00331 
431<a name="l00332"></a>00332                         diag=k1*(y*d1_dx-x*d1_dy);
432<a name="l00333"></a>00333                         retVal.entry(0,3)=(diag)*crvScl;
433<a name="l00334"></a>00334                         retVal.entry(0,4)=(-k3)*crvScl*N1;
434<a name="l00335"></a>00335                         retVal.entry(0,5)=(k2)*crvScl*N1;
435<a name="l00336"></a>00336                         retVal.entry(1,3)=(k3)*crvScl*N1;
436<a name="l00337"></a>00337                         retVal.entry(1,4)=(diag)*crvScl;
437<a name="l00338"></a>00338                         retVal.entry(1,5)=(-k1)*crvScl*N1;
438<a name="l00339"></a>00339                         retVal.entry(2,3)=(-k2)*crvScl*N1;
439<a name="l00340"></a>00340                         retVal.entry(2,4)=(k1)*crvScl*N1;
440<a name="l00341"></a>00341                         retVal.entry(2,5)=(diag)*crvScl;
441<a name="l00342"></a>00342 
442<a name="l00343"></a>00343                         diag=k1*(y*d2_dx-x*d2_dy);
443<a name="l00344"></a>00344                         retVal.entry(0,6)=(diag)*crvScl;
444<a name="l00345"></a>00345                         retVal.entry(0,7)=(-k3)*crvScl*N2;
445<a name="l00346"></a>00346                         retVal.entry(0,8)=(k2)*crvScl*N2;
446<a name="l00347"></a>00347                         retVal.entry(1,6)=(k3)*crvScl*N2;
447<a name="l00348"></a>00348                         retVal.entry(1,7)=(diag)*crvScl;
448<a name="l00349"></a>00349                         retVal.entry(1,8)=(-k1)*crvScl*N2;
449<a name="l00350"></a>00350                         retVal.entry(2,6)=(-k2)*crvScl*N2;
450<a name="l00351"></a>00351                         retVal.entry(2,7)=(k1)*crvScl*N2;
451<a name="l00352"></a>00352                         retVal.entry(2,8)=(diag)*crvScl;
452<a name="l00353"></a>00353 
453<a name="l00354"></a>00354                         diag=k1*(y*d3_dx-x*d3_dy);
454<a name="l00355"></a>00355                         retVal.entry(0,9)=(diag)*crvScl;
455<a name="l00356"></a>00356                         retVal.entry(0,10)=(-k3)*crvScl*N3;
456<a name="l00357"></a>00357                         retVal.entry(0,11)=(k2)*crvScl*N3;
457<a name="l00358"></a>00358                         retVal.entry(1,9)=(k3)*crvScl*N3;
458<a name="l00359"></a>00359                         retVal.entry(1,10)=(diag)*crvScl;
459<a name="l00360"></a>00360                         retVal.entry(1,11)=(-k1)*crvScl*N3;
460<a name="l00361"></a>00361                         retVal.entry(2,9)=(-k2)*crvScl*N3;
461<a name="l00362"></a>00362                         retVal.entry(2,10)=(k1)*crvScl*N3;
462<a name="l00363"></a>00363                         retVal.entry(2,11)=(diag)*crvScl;
463<a name="l00364"></a>00364 
464<a name="l00365"></a>00365 <span class="keyword">static</span> list&lt;double&gt; xList;
465<a name="l00366"></a>00366 <span class="keyword">static</span> list&lt;double&gt; yList;
466<a name="l00367"></a>00367 <span class="keywordtype">bool</span> isFnd=<span class="keyword">false</span>;
467<a name="l00368"></a>00368 list&lt;double&gt;::iterator itY=yList.begin();
468<a name="l00369"></a>00369 <span class="keywordflow">for</span>(list&lt;double&gt;::iterator itX=xList.begin();itX!=xList.end();itX++)
469<a name="l00370"></a>00370 {
470<a name="l00371"></a>00371         <span class="keywordflow">if</span>( (*itX)==x &amp;&amp; (*itY)==y )
471<a name="l00372"></a>00372         {
472<a name="l00373"></a>00373                 isFnd=<span class="keyword">true</span>;
473<a name="l00374"></a>00374                 <span class="keywordflow">break</span>;
474<a name="l00375"></a>00375         }
475<a name="l00376"></a>00376         itY++;
476<a name="l00377"></a>00377 }
477<a name="l00378"></a>00378 <span class="keywordflow">if</span>(!isFnd)
478<a name="l00379"></a>00379 {
479<a name="l00380"></a>00380         cout &lt;&lt; endl &lt;&lt; <span class="stringliteral">&quot;The Gamma_R at x=&quot;</span> &lt;&lt; x &lt;&lt; <span class="stringliteral">&quot; and y=&quot;</span> &lt;&lt; y &lt;&lt; endl;
480<a name="l00381"></a>00381         <a class="code" href="timoshenko_8cpp.html#a54d7ca7a16425ee21626a59d0ce01d16">printMatrix</a>(retVal);
481<a name="l00382"></a>00382         xList.push_back(x);
482<a name="l00383"></a>00383         yList.push_back(y);
483<a name="l00384"></a>00384 }
484<a name="l00385"></a>00385 
485<a name="l00386"></a>00386                         <span class="keywordflow">return</span> retVal;
486<a name="l00387"></a>00387                 }
487<a name="l00388"></a>00388 };
488<a name="l00389"></a>00389 
489<a name="l00390"></a>00390 <span class="keyword">class </span><a class="code" href="classkernel__Gamma__l.html">kernel_Gamma_l</a> : <span class="keyword">public</span> <a class="code" href="classkernel.html">kernel</a>&lt;type_matrix&gt;
490<a name="l00391"></a>00391 {
491<a name="l00392"></a>00392         <span class="keyword">public</span>:
492<a name="l00393"></a>00393 
493<a name="l00394"></a><a class="code" href="classkernel__Gamma__l.html#ace8a7f2eec4459c2ca82c2e7fdef52d6">00394</a>                 <a class="code" href="classkernel__Gamma__l.html">kernel_Gamma_l</a>()
494<a name="l00395"></a>00395                 {}
495<a name="l00396"></a>00396 
496<a name="l00397"></a><a class="code" href="classkernel__Gamma__l.html#ac511c53641238dfb8bbbd6bf59d0734e">00397</a>                 ~<a class="code" href="classkernel__Gamma__l.html">kernel_Gamma_l</a>()
497<a name="l00398"></a>00398                 {}
498<a name="l00399"></a>00399 
499<a name="l00400"></a><a class="code" href="classkernel__Gamma__l.html#a940739310670c9db333b3279baef50a9">00400</a>                 <a class="code" href="classmatrixRdWtSz__Data.html">type_matrix</a> value(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y,<span class="keywordtype">double</span> N0,<span class="keywordtype">double</span> N1,<span class="keywordtype">double</span> N2,<span class="keywordtype">double</span> N3,<span class="keywordtype">double</span> d0_dx,<span class="keywordtype">double</span> d0_dy,<span class="keywordtype">double</span> d1_dx,<span class="keywordtype">double</span> d1_dy,<span class="keywordtype">double</span> d2_dx,<span class="keywordtype">double</span> d2_dy,<span class="keywordtype">double</span> d3_dx,<span class="keywordtype">double</span> d3_dy)
500<a name="l00401"></a>00401                 {
501<a name="l…

Large files files are truncated, but you can click here to view the full file