<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults"id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="summary">
<ahref="#pub-methods">Public Member Functions</a>|
<ahref="class_solution-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">Solution Class Reference</div></div>
</div><!--header-->
<divclass="contents">
<p>This class allows the saving in the memory and the writing in a output file of the solution of the ODE system. The constructor need the input object defining the system to create a consistent format for the solution. In this class, method allowing the retrieve, the modification and the writing of the solution are implemented. The attributes of this class are the the solution matrix and two integer defining the size of this solution.
<trclass="memitem:abd7dde6fe8cc748968a215f14c30bbcd"><tdclass="memItemLeft"align="right"valign="top"> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="class_solution.html#abd7dde6fe8cc748968a215f14c30bbcd">Solution</a> (unsigned long rows, int columns)</td></tr>
<trclass="memdesc:abd7dde6fe8cc748968a215f14c30bbcd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructor to initialized properly the size of the solution with the input object. This overwritten constructor allows the declaration of the solution matrix with the corresponding size and the initialisation of all elements to 0. <ahref="#abd7dde6fe8cc748968a215f14c30bbcd">More...</a><br/></td></tr>
<trclass="memdesc:aef3f82ea25c9c6bb6b489dac8b3fa7fb"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Constructor to initialized properly the size of the solution with the input object. This overwritten constructor allows the declaration of the solution matrix with the corresponding size and the initialisation of all elements to 0. <ahref="#aef3f82ea25c9c6bb6b489dac8b3fa7fb">More...</a><br/></td></tr>
<trclass="memitem:ae986f163f432f412873a46534fb613b7"><tdclass="memItemLeft"align="right"valign="top">const double </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="class_solution.html#ae986f163f432f412873a46534fb613b7">GetSolutionValueFromIndex</a> (int rowsIndex, int columnsIndex) const</td></tr>
<trclass="memdesc:ae986f163f432f412873a46534fb613b7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Getter allowing the access to one particular element of the matrix solution given two indexes. <ahref="#ae986f163f432f412873a46534fb613b7">More...</a><br/></td></tr>
<trclass="memitem:a6e15412dd197d6b9fa0505ebc2b0b5d2"><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="class_solution.html#a6e15412dd197d6b9fa0505ebc2b0b5d2">ModifySolutionByColumns</a> (vector< double >&vector, int position)</td></tr>
<trclass="memdesc:a6e15412dd197d6b9fa0505ebc2b0b5d2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Method that modify the solution matrix by reference given a columns index. This method only modify the solution by columns, which means that the selected columns is erase and replace by the vector of our choice. <ahref="#a6e15412dd197d6b9fa0505ebc2b0b5d2">More...</a><br/></td></tr>
<trclass="memdesc:abb46fd70c953b6391523257da02ac22d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Method allowing the writing of the solution in a output file. This method write the solution matrix into the file corresponding to the given filename. <ahref="#abb46fd70c953b6391523257da02ac22d">More...</a><br/></td></tr>
<divclass="textblock"><p>This class allows the saving in the memory and the writing in a output file of the solution of the ODE system. The constructor need the input object defining the system to create a consistent format for the solution. In this class, method allowing the retrieve, the modification and the writing of the solution are implemented. The attributes of this class are the the solution matrix and two integer defining the size of this solution. </p>
</div><h2class="groupheader">Constructor & Destructor Documentation</h2>
<p>Constructor to initialized properly the size of the solution with the input object. This overwritten constructor allows the declaration of the solution matrix with the corresponding size and the initialisation of all elements to 0. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">rows</td><td>: Integer defining the number of rows in the solution matrix. </td></tr>
<tr><tdclass="paramname">columns</td><td>: Integer defining the number of columns in the solution matrix. </td></tr>
<p>Constructor to initialized properly the size of the solution with the input object. This overwritten constructor allows the declaration of the solution matrix with the corresponding size and the initialisation of all elements to 0. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">input</td><td>: <aclass="el"href="class_input.html"title="Class allowing the saving of all the variables to define the system we want to solve. In fact, it takes as input variable (integer or double): Timestep, Dimension, Order, NumberSteps, WriteOutputTimestep. Moreover, Input object needs 3 matrix to define the system : InitialConditionMatrix, CoefficientMatrix, FunctionMatrix. Matrix are defined to be vector of vector of double. Input variables are given to the input class by the constructor. The other methods are getter allowing the access to theses private attributes. ">Input</a> object containing all information to define the system and thus allowing the access to theses variables thanks to getter to define our solution matrix </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2class="groupheader">Member Function Documentation</h2>
<p>Method that modify the solution matrix by reference given a columns index. This method only modify the solution by columns, which means that the selected columns is erase and replace by the vector of our choice. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">vector</td><td>: Vector of double use to modify the solution matrix. The value of this vector will be put in the selected columns of the solution matrix </td></tr>
<tr><tdclass="paramname">position</td><td>: Integer defining the index of the columns of the matrix solution we want to modify </td></tr>
<p>Method allowing the writing of the solution in a output file. This method write the solution matrix into the file corresponding to the given filename. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">filename</td><td>: String corresponding to the entire path and filename of the file of destination. The filename needs to have the extension. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>