<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2012-06-01 16:52, Jed Brown wrote:
<blockquote
cite="mid:CAM9tzSmfmM6-5PdE_2Bo7HT5nT6aoXatjWHeEyb7bSvF=DrS3w@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Fri, Jun 1, 2012 at 9:47 AM, Frederik
Treue <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:frtr@risoe.dtu.dk" target="_blank">frtr@risoe.dtu.dk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I need to access a vector from outside the ksp context in my
own, user-defined KSPmonitor. I have tried using the "context"
input variable in the KSPMonitor function to pass a pointer to
the relevant structure, but I get segmentation faults: Can
this "context" variable be used for this, and if no, how does
one do?</blockquote>
</div>
<br>
<div>This is what the context is for. Send the complete output
from the SEGV and any relevant snippets of code showing how you
use it.</div>
</blockquote>
nevermind, it turned out to be a trivial error on my part.<br>
<br>
/Frederik Treue<br>
</body>
</html>