<div dir="ltr"><div dir="ltr">On Fri, Nov 25, 2022 at 7:14 AM Yann Jobic <<a href="mailto:yann.jobic@univ-amu.fr">yann.jobic@univ-amu.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I made a very simple example which uses the DMPlexComputeGeometryFEM <br>
function.<br></blockquote><div><br></div><div>You are right. We changed PetscFEGeom, but that broke this function. I have updated your code</div><div>with the new way to get this information. I also removed the function in this MR:</div><div><br></div><div> <a href="https://gitlab.com/petsc/petsc/-/merge_requests/5879">https://gitlab.com/petsc/petsc/-/merge_requests/5879</a></div><div><br></div><div>I am also rewriting this as we speak in order to make it compatible with libCEED, so it will change</div><div>a little in the next release unfortunately.</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">
However, i've got an error :<br>
./testComputeGeomFEM -heat_petscspace_degree 0<br>
Quadrature of order 1 on 1 points (dim 2)<br>
[0]PETSC ERROR: --------------------- Error Message <br>
--------------------------------------------------------------<br>
[0]PETSC ERROR: Null argument, when expecting valid pointer<br>
[0]PETSC ERROR: Null Pointer: Parameter # 7<br>
[0]PETSC ERROR: See <a href="https://petsc.org/release/faq/" rel="noreferrer" target="_blank">https://petsc.org/release/faq/</a> for trouble shooting.<br>
[0]PETSC ERROR: Petsc Release Version 3.18.1, unknown<br>
[0]PETSC ERROR: <br>
/home/jobic/projet/fe-utils/petsc/fetools/cmake-build-debug/testComputeGeomFEM <br>
on a named luke by jobic Fri Nov 25 14:08:34 2022<br>
[0]PETSC ERROR: Configure options <br>
--prefix=/local/lib/petsc/3.18/p0/gcc/nompi --with-mpi=0 <br>
--with-debugging=1 --with-blacs=1 --download-zlib,--download-p4est <br>
--download-triangle=1 --with-single-library=0 --with-large-file-io=1 <br>
--with-shared-libraries=0 -CFLAGS=" -g -O0" -CXXFLAGS=" -g -O0" <br>
-FFLAGS=" -g -O0" PETSC_ARCH=nompi_gcc<br>
[0]PETSC ERROR: #1 DMPlexComputeCellGeometryFEM() at <br>
/home/devel/src_linux/petsc-3.18.0/src/dm/impls/plex/plexgeometry.c:2158<br>
[0]PETSC ERROR: #2 DMPlexComputeGeometryFEM() at <br>
/home/devel/src_linux/petsc-3.18.0/src/dm/impls/plex/plexgeometry.c:2524<br>
[0]PETSC ERROR: #3 main() at <br>
/home/jobic/projet/fe-utils/petsc/fetools/src/testComputeGeomFEM.c:31<br>
[0]PETSC ERROR: PETSc Option Table entries:<br>
[0]PETSC ERROR: -heat_petscspace_degree 0<br>
[0]PETSC ERROR: ----------------End of Error Message -------send entire <br>
error message to petsc-maint@mcs.anl.gov----------<br>
<br>
Do you know where it comes from ?<br>
<br>
Thanks,<br>
<br>
Yann</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><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.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>