[petsc-dev] C++ error
Mark Adams
mfadams at lbl.gov
Mon Jul 13 17:58:56 CDT 2020
I tried to add code to DMPlexts.c and am getting this error:
https://gitlab.com/petsc/petsc/-/jobs/636828148
dmplexts.c:(.text+0x1a0f): undefined reference to
`DMPlexLandFormLandau_Internal'
1648 <https://gitlab.com/petsc/petsc/-/jobs/636828148#L1648>
with this code:
PETSC_INTERN PetscErrorCode DMPlexLandFormLandau_Internal(Vec a_X, Mat
JacP, const PetscInt dim, void *a_ctx);
/*@
DMPlexLandIFunction
@*/
PetscErrorCode DMPlexLandIFunction(TS ts,PetscReal time_dummy,Vec X,Vec
X_t,Vec F,void *actx)
{
.....
ierr =
DMPlexLandFormLandau_Internal(X,ctx->J,dim,(void*)ctx);CHKERRQ(ierr);
I tried with EXTERN also. Any ideas?
Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200713/58143fa7/attachment.html>
More information about the petsc-dev
mailing list