<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 10/29/22 14:20, wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0f20da6829274e59aeef63fb91ceb5c9@SA1PR01MB6528.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hey Dr. Pounds,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I was working on the project, and I was
confused on the difference between maxSize and room_dimension.
Aren’t they supposed to be the same thing given that the array
is the size/dimension of one side. In your Java example I saw
that the room_dimension was half the size of the maxSize
variable. Would you please clarify the reason for this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><br>
<o:p></o:p></p>
</div>
</blockquote>
<p>So the room dimension is the actual physical size of each
dimension of the room in meters. In this scenario that value if 5
meters. We are dealing with a room that is 5 meters long, 5
meters wide, and 5 meters high.</p>
<p>The maxsize is the number of cubes that are used in each
dimension through which our gas will diffuse. These two
constants, as well as the molecular velocity of the gas particles
at the given temperature and the coefficient of diffusion (which
is also a property of the diffusing molecules) determine the
values of all the other variables used in the propagation.</p>
<p>If you had a with the room dimension of 5 meters and the value or
maxsize was 5 then you would have 125 cubes in your room - with
each cube being 1 cubic meter in size. If we double msize to 10,
you now have 1000 cubes in your room - but the actual size of the
room is the same - you are just using more cubes in the diffusion
model to get a more accurate result. <br>
</p>
<p>Does that help?<br>
</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<b><i>Andrew J. Pounds, Ph.D.</i></b><br>
<i>Professor of Chemistry and Computer Science</i><br>
<i>Director of the Computational Science Program</i><br>
<i>Mercer University, Macon, GA 31207 (478) 301-5627</i></div>
</body>
</html>