<div dir="ltr">On Sat, Mar 9, 2013 at 7:02 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</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"><br>
  Matt,<br>
<br>
    Problem with const not trivial to fix. I'm not sure what you want to allow changing or not.  What kind of compiler are you using the doesn't care about const?<br>
<br>
"/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E cmake_progress_report /Users/barrysmith/Src/petsc-dev/arch-cxx/CMakeFiles<br>
[ 71%] Building CXX object CMakeFiles/petsc.dir/src/dm/impls/plex/plexsubmesh.c.o<br>
/Users/barrysmith/Src/petsc-dev/src/dm/impls/plex/plexgeometry.c: In function ‘PetscErrorCode DMPlexComputeTriangleGeometry_Internal(_p_DM*, PetscInt, PetscReal*, PetscReal*, PetscReal*, PetscReal*)’:<br>
/Users/barrysmith/Src/petsc-dev/src/dm/impls/plex/plexgeometry.c:280: error: invalid conversion from ‘const PetscScalar*’ to ‘PetscScalar*’<br>
/Users/barrysmith/Src/petsc-dev/src/dm/impls/plex/plexgeometry.c:280: error:   initializing argument 1 of ‘PetscErrorCode DMPlexComputeProjection3Dto2D_Internal(PetscScalar*)’<br>
make[5]: *** [CMakeFiles/petsc.dir/src/dm/impls/plex/plexgeometry.c.o] Error 1<br>
</blockquote></div><br>Mac GNU. Will fix.</div><div class="gmail_extra"><br></div><div class="gmail_extra">  Matt<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>