<div dir="ltr">Considering that the current C++ standard is >1600 pages and counting (still glomming on new "features"), I'm planning to try an OO style of C coding style.<div><br></div><div><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:13px">The standard's size (number of pages) being the best (and only <b>practical</b>) means to measure language complexity.</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 24, 2017 at 9:11 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Wed, May 24, 2017 at 8:03 AM, John Chludzinski <span dir="ltr"><<a href="mailto:jchludzinski@gmail.com" target="_blank">jchludzinski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Is there a guide for how to write/develop PETSC OO C code? How a "class" is defined/implemented? How you implement inheritance? Memory management? Etc?</div></blockquote><div><br></div></span><div>We have a guide: <a href="http://www.mcs.anl.gov/petsc/developers/developers.pdf" target="_blank">http://www.mcs.anl.gov/<wbr>petsc/developers/developers.<wbr>pdf</a></div><div><br></div><div>If its not in there, you can mail the list.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="m_3396233918799392425gmail-HOEnZb"><font color="#888888"><div>---John</div></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_3396233918799392425gmail_signature"><div dir="ltr"><div>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><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">http://www.caam.rice.edu/~<wbr>mk51/</a><br></div></div></div>
</font></span></div></div>
</blockquote></div><br></div>