<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to CalcDescription</title><link>https://sourceforge.net/p/platewaves/wiki/CalcDescription/</link><description>Recent changes to CalcDescription</description><atom:link href="https://sourceforge.net/p/platewaves/wiki/CalcDescription/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 03 Oct 2013 14:00:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/platewaves/wiki/CalcDescription/feed" rel="self" type="application/rss+xml"/><item><title>CalcDescription modified by Erik Fließwasser</title><link>https://sourceforge.net/p/platewaves/wiki/CalcDescription/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erik Fließwasser</dc:creator><pubDate>Thu, 03 Oct 2013 14:00:30 -0000</pubDate><guid>https://sourceforge.net98160fd59cd5e01674e4063ba62fd25d40fb5fa3</guid></item><item><title>CalcDescription modified by Erik Fließwasser</title><link>https://sourceforge.net/p/platewaves/wiki/CalcDescription/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="calculation"&gt;Calculation&lt;/h1&gt;
&lt;p&gt;This page describes the calculation procedure, starting with reading of the input data, building the global matrix, calculating with the global matrix and finaly writing the result data to the result GUI&lt;br /&gt;
&lt;/p&gt;
&lt;hr /&gt;
&lt;h2 id="reading-data"&gt;Reading data&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;In the first step the actionPerformed method of the MainFrame_GUI is called by the action listener of the "Calculate" button, after clicking it.&lt;/li&gt;
&lt;li&gt;A new result GUI is created for later presenting the results.&lt;/li&gt;
&lt;li&gt;The next step is the reading of input data. The readDataFromTable method of the bean class is called with the JTable from the MainFrame_GUI as a parameter. Now, the method calls the getModel method of the table to get the data of the tables model, by getValueAt(x,y) method. These steps are applied first for the general values for the calculation, afterwards for the values of each layer. The read data is written into the data array of the bean.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt="Calculate_Part1" src="./attachment/Calculate_Part1_komp.png" /&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;h2 id="calculating-and-writing-to-result-gui"&gt;Calculating and writing to result GUI&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;After reading the data, the addGraphs method of the GlobalMatrixGUI is called by the MainFrame_GUI and passes the result gui for later presentation of the results. This method creates a new instance of the CalcaulateGlobalMatrix class, which again instantiates a GlobalMatrixBuilder with passing the data bean.&lt;/li&gt;
&lt;li&gt;The GlobalMatrixBuilder now builds the global matrix based on the given data of the data bean&lt;/li&gt;
&lt;li&gt;In the next step the calculation with the global matrix starts and creates a series of results, in the CalculateGlobalMatrix object.&lt;/li&gt;
&lt;li&gt;After finishing the object returns the result to the GlobalMatrixGUI, where they are written to the data bean&lt;/li&gt;
&lt;li&gt;Now the presentation of the results starts, by calling the create method of the result gui with passing the data bean. The data is used to create graphes for the presentation.&lt;/li&gt;
&lt;li&gt;Finally the work of the calculation gui is done, and the last step of the MainGUI_Frame is to set the visibility of the result GUI&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt="Calculate_Part2" src="./attachment/Calculate_Part2_kompr.png" /&gt;&lt;br /&gt;
Methods, values and notifications marked with square brackets doesn't exist yet. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erik Fließwasser</dc:creator><pubDate>Thu, 03 Oct 2013 13:57:48 -0000</pubDate><guid>https://sourceforge.netb8ace8a7c7ed80e715b9a8029b126a153a6adf36</guid></item></channel></rss>