<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I have started to use the TS environment to solve a diffusion problem with XFEM in which, at the beginning of every step, a number of values have to be recomputed in order to properly fill the Jacobian (e.g. change some quadrature weights). However, I see
 that the the function is expected with the format func(TS ts), with no possibility of getting a user context to perform the computations I need.</p>
<p><br>
</p>
<p>Is there a way to get around that? Thanks!</p>
<p><br>
</p>
<p>Christian <span>     </span></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Helvetica; font-size:12px">_______________________________<br>
</div>
<div style="font-family:Helvetica; font-size:12px">Christian Peco Regales, Ph.D. <br>
</div>
<div style="font-family:Helvetica; font-size:12px">Postdoctoral Research Associate<br>
</div>
<div style="font-family:Helvetica; font-size:12px">Civil and Environmental Engineering <br>
</div>
<div style="font-family:Helvetica; font-size:12px">Pratt School of Engineering<br>
</div>
<div style="font-family:Helvetica; font-size:12px">Duke University<br>
</div>
<div style="font-family:Helvetica; font-size:12px">2407 CIEMAS (office)<br>
</div>
<div style="font-family:Helvetica; font-size:12px">Durham, NC 27708, USA</div>
<div style="font-family:Helvetica; font-size:12px">email: christian.peco@duke.edu<br>
</div>
<div style="font-family:Helvetica; font-size:12px">web: <a href="http://christianpeco.com" id="LPNoLP">
http://www.christianpeco.com</a></div>
<div style="font-family:Helvetica; font-size:12px">_______________________________<br>
</div>
</div>
</div>
</div>
</body>
</html>