<div dir="ltr">Dear all<div><br></div><div>I want to pass my own module as an application context in fortran. So I am trying something like this</div><div><br></div><div>type(mgrid),target :: g</div><div>PetscFortranAddr :: ctx(6)</div><div>ctx(1) => g</div><div><br></div><div>But this gives an error</div><div>
<p class="gmail-p1"><span class="gmail-s1"><b>Error:</b></span><span class="gmail-s2"> Non-POINTER in pointer association context (pointer assignment) at (1)</span></p>Could you tell me how I can make this work ?<br><br>Thanks<br>praveen</div></div>