<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 02/28/2013 11:22 AM, Matthew Knepley
wrote:<br>
</div>
<blockquote
cite="mid:CAMYG4GkJKD0owW2GUbvv4Bksr42UG0mEBokQ2Rpv6vYpx8z-Lg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">On Thu, Feb 28, 2013 at 4:21 AM, Johannes Lotz <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:lotz@stce.rwth-aachen.de" target="_blank">lotz@stce.rwth-aachen.de</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, --
I'm new here<br>
<br>
and I have a somehow seemingly simple task:<br>
<br>
We need to get an exact copy of a previously set up SNES
including all function pointers, all options and
especially the DM (also in deep copy -- except the
ApplicationContext struct).<br>
<br>
is there a showstopper -- or maybe already functionality
there?<br>
</blockquote>
<div><br>
</div>
<div style="">I am not opposed to making a shallow SNES
copy, and we already have a DMClone(), so how about</div>
<div style=""><br>
</div>
<div style=""> SNESClone(snes, &snesB);</div>
<div style=""> DMClone(dm, &dmB);</div>
</div>
</div>
</div>
</blockquote>
-- I do not find a DMClone(). <br>
<br>
<blockquote
cite="mid:CAMYG4GkJKD0owW2GUbvv4Bksr42UG0mEBokQ2Rpv6vYpx8z-Lg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div style=""> SNESSetDM(snesB, dmB);</div>
<div style=""><br>
</div>
<div style=""> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Regards,<br>
J.<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
What most experimenters take for granted before they begin
their experiments is infinitely more interesting than any
results to which their experiments lead.<br>
-- Norbert Wiener
</div>
</div>
</blockquote>
<br>
</body>
</html>