<div dir="ltr"><div><div><div><div><div><div><div><div>Hey all,<br><br></div>I have a couple questions regarding the GRDCHK package. For context, I am resurrecting the bottom_control_5x5 code to get sensitivities to bottom topography. I am working on a small domain (sNx x sNy = 25 x 30 , nPx x nPy = 1 x 1, nSx x nSy = 1 x 1). Here goes: <br><br></div>1. Is there a good method for understanding where i,j,k glopos lands in the domain, or is this more guess work?<br><br></div>2. in STDOUT the two rows with printed "grad-res" information seem to have conflicting i,j,k positions. See for example: <br><br>grad-res -------------------------------<br> grad-res  proc    #    i    j    k   bi   bj iobc       fc ref            fc + eps           fc - eps<br> grad-res  proc    #    i    j    k   bi   bj iobc      adj grad            fd grad          1 - fd/adj<br>grad-res -------------------------------<br> grad-res     0    1    4   13    1    1    1    1  -7.79340478504E+02 -7.79340463216E+02 -7.79340493800E+02<br> grad-res     0    1    1   10    0    1    1    1   1.52921513738E-03  1.52921389827E-03  8.10295748721E-07<br><br></div>why is i different between the two bottom rows? I'm similarly confused about j, and k. <br><br></div>3. The above printed positions don't intuitively reflect what I put in my data.grdchk file. If someone could explain what is in STDOUT vs what is chosen in data.grdchk that would be great. My data.grdchk is shown below: <br><br> &GRDCHK_NML<br> grdchk_eps       = 1.d-2,<br> iglopos         = 10,<br> jglopos         = 10,<br> kglopos         = 1,<br> nbeg             = 10,<br> nstep            = 1,<br> nend             = 15,<br> grdchkvarindex   = 20,<br> &<br><br></div><div>4. Lastly, how do the nbeg, nstep, and nend variables work? Unfortunately, none of these variables are described in the documentation or grdchk.h.<br></div><div><br></div>Let me know if I should include more information. Many thanks! <br><br></div>Cheers,<br></div>Tim<br><div><div><div><div><br clear="all"><div><div><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>-----------------------------------------------------------------------------</div><div>Tim Smith</div><div>SIAM | Industry Liaison</div>PhD Student & Graduate Research Assistant<div>The Institute for Computational Engineering and Sciences</div><div>The University of Texas at Austin</div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div>