<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Version 2.19 Problem]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=415</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=415&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Version 2.19 Problem.]]></description>
		<lastBuildDate>Sat, 10 Jan 2015 17:35:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Version 2.19 Problem]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1785#p1785</link>
			<description><![CDATA[<p>The values are stored correctly, they just don&#039;t display correctly in the debugger.&nbsp; The debugger repeats what is shown in the first column (Str%Elev(n)) for all the other columns (Str%PSDisch(n), Str%Volume(n), Str%Area(n)).&nbsp; If I create a dummy variable, such as STArea and put in the statement STArea = Str%Area(n), STArea has the proper value and displays correctly, both in the list of variables and hi-lite and hover.&nbsp; I haven&#039;t tried using a Write or Print statements -- after I satisfied myself the values were correctly stored, I moved on to other issues.</p>]]></description>
			<author><![CDATA[null@example.com (Don Hazlewood)]]></author>
			<pubDate>Sat, 10 Jan 2015 17:35:43 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1785#p1785</guid>
		</item>
		<item>
			<title><![CDATA[Re: Version 2.19 Problem]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1776#p1776</link>
			<description><![CDATA[<div class="quotebox"><cite>Don Hazlewood wrote:</cite><blockquote><p>Hi Jeff,<br />When I display the values, the elevation value shows up in all 4 elements, i.e., 591.00 as Str%Elev(1), Str%PSDisch(1), Str%Volume(1) and Str%Area(1).</p></blockquote></div><p>Don,</p><p>I&#039;m a bit confused about your description.&nbsp; By &quot;when I display the values,&quot; are you referring to examining the values in the debugger?&nbsp; When you print (via <em>Write(*,*)</em> or <em>Print *,</em>) the four values, do you see something different than what the debugger is showing?</p><p>I&#039;m just trying to understand the situation and ensure that the issue isn&#039;t related to a formatted read issue.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 07 Jan 2015 12:56:28 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1776#p1776</guid>
		</item>
		<item>
			<title><![CDATA[Re: Version 2.19 Problem]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1774#p1774</link>
			<description><![CDATA[<p>Wait and see what Jeff thinks.</p><p>For the test code below, I found that all the values were correctly shown in the variables window.</p><div class="codebox"><pre><code>   type dam_struct
      real :: Elevation
      real :: Discharge
      real :: Volume
      real :: Area
   end type dam_struct
   
   type(dam_struct), allocatable :: dam(:)
   
   allocate (dam(3))
   
   ! Setup structures with an easily recognized pattern
   dam(1) = dam_struct(1.0, 2.0, 3.0, 4.0)
   dam(2) = dam_struct(10.0, 20.0, 30.0, 40.0)
   dam(3) = dam_struct(100.0 ,200.0, 300.0, 400.0)

   end</code></pre></div><p>Or arranging things differently, it still worked:</p><div class="codebox"><pre><code>   type dam_struct
      real, allocatable :: elev(:)
      real, allocatable :: Disch(:)
      real, allocatable :: Volume(:)
      real, allocatable :: Area(:)
   end type dam_struct
   
   type(dam_struct) :: dam
   
   allocate (dam%elev(3))
   allocate (dam%disch(3))
   allocate (dam%volume(3))
   allocate (dam%Area(3))
   
   dam%elev = (/1.0, 10.0, 100.0/)
   dam%disch = (/2.0, 20.0, 200.0/)
   dam%volume = (/3.0, 30.0, 300.0/)
   dam%Area = (/4.0, 40.0, 400.0/)</code></pre></div><p>Perhaps double check your values are stored correctly.</p>]]></description>
			<author><![CDATA[null@example.com (davidb)]]></author>
			<pubDate>Tue, 06 Jan 2015 22:52:11 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1774#p1774</guid>
		</item>
		<item>
			<title><![CDATA[Version 2.19 Problem]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=1773#p1773</link>
			<description><![CDATA[<p>Hi Jeff,<br />Downloaded and installed 2.19. And it does display the Allocated elements. But something is going wrong and I&#039;m not sure what it is.&nbsp; I have a line of data that contains 4 different elements in 10-column fields for a Dam Structure table - Elevation, Discharge, Volume and Area.&nbsp; The first line of data would look like this:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Elev&nbsp; &nbsp; &nbsp; Disch&nbsp; &nbsp; &nbsp; Volume&nbsp; &nbsp; &nbsp; Area<br />(20 blank spaces) 591.00&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 247.8&nbsp; &nbsp; &nbsp; 76.8 </p><p>and the 10th line of data:</p><p>(20 blanks)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;615&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;607.7&nbsp; &nbsp; &nbsp; </p><p>The elements are referenced as Str%Elev(), Str%PSDisch(), Str%Volume() and Str%Area(%)</p><p>When I display the values, the elevation value shows up in all 4 elements, i.e., 591.00 as Str%Elev(1), Str%PSDisch(1), Str%Volume(1) and Str%Area(1).</p><p>If I look at the 10th elements (Str%Elev(10), etc.), the elevation 615.00 is shown as above.</p><p>I THINK the values are being stored correctly, but I&#039;m not sure.</p><p>Don</p>]]></description>
			<author><![CDATA[null@example.com (Don Hazlewood)]]></author>
			<pubDate>Tue, 06 Jan 2015 22:26:03 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=1773#p1773</guid>
		</item>
	</channel>
</rss>
