Dear PETSc,
I do not understand the behaviour of DMPlexGetCellCoordinates on a
Plex generated to a periodic MSH mesh.
I have in the code
DM dmMesh;
PetscCall( DMCreate(MPI_COMM_WORLD, &dmMesh) );
PetscCall( DMSetType(dmMesh, DMPLEX) );
PetscCall( DMSetFromOptions(dmMesh) );
and pass the option
-dm_plex_filename periodiccube.msh
to load a periodic mesh of tetrahedra for the unit cube.
When calling DMPlexGetCellCoordinates on 3d elements (cells), I get DG
coordinates (independently on passing or not -dm_localize)
But when calling DMPlexGetCellCoordinates on 1d or 2d elements (edges
and faces), I DO NOT get DG coordinates (independently on passing or not
-dm_localize).
I can work around this, but is there a way to have DG coordinates also
for intermediate elements in the Plex? I see an option in
DMCreateBoxMesh, but no options for loaded meshes.
Thanks
Matteo