On Tue, Jun 19, 2012 at 12:17 AM, fdkong <span dir="ltr"><<a href="mailto:fd.kong@siat.ac.cn" target="_blank">fd.kong@siat.ac.cn</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi Matt,</div><div><br></div><div>Thank you for your help!</div><div><br></div><div><u></u>>On Mon, Jun 18, 2012 at 7:04 PM, fdkong <<a href="mailto:fd.kong@siat.ac.cn" target="_blank">fd.kong@siat.ac.cn</a>> wrote:<br>
<br>>> Hi Mat,<br>>><br>>> I have been developing some codes based-on c++ sievemesh (your old version<br>>> code). I want to know the following questions:<br>>><br>>> (1) You have added a new c sievemesh. Will the old c++ version be remove<br>
>> in future?<br>>><br><br>>Yes, but not soon. However, I recommend making a plan for >switching, since<br>>you get so many benefits<br>>including much better solver integration. Take a look at SNES ex62.<br>
<br>The c++ version is very different from c version. All of my codes have been built on the top of c++ version. I directly use inner object ALE::IMesh<PetscInt, PetscScalar>. Thus, switching to C version may be difficult. Could you give me some suggestions  how to transfer my code from c++ to c?<br>
</div></blockquote><div><br></div><div>Hopefully its not that hard. The interface is the same. Maybe you could ask me questions if you encounter a problem.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>>> (2) Have you ever made some tests on 64-bit computer? Whether c++<br>>> sieveMesh can run on 64-bit computer? I want to use 64-bit integer.<br>>><br><br><u></u><u></u>>It will work on a 64-bit computer. Both version use PetscInt.<br>
<br><u></u><u></u>Thank you, I will make some tests on 64-bit computer.<br><br><u></u></div><div><u></u> >  Matt<br><br><br>>> Regards,<br>>> **<br>>> ------------------<br>>> Fande Kong<br>>> ShenZhen Institutes of Advanced Technology<br>
>> Chinese Academy of Sciences<br>>> **<br><br><u></u></div><div></div><div></div><div></div><div></div><div></div></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<br>