#include "petscdmplex.h" #include "petscsnes.h" PetscErrorCode DMPlexGetCellFields(DM dm, PetscInt cStart, PetscInt cEnd, Vec locX, Vec locX_t, Vec locA, PetscScalar **u, PetscScalar **u_t, PetscScalar **a)
dm | - The DM | |
cStart | - The first cell to include | |
cEnd | - The first cell to exclude | |
locX | - A local vector with the solution fields | |
locX_t | - A local vector with solution field time derivatives, or NULL | |
locA | - A local vector with auxiliary fields, or NULL |
u | - The field coefficients | |
u_t | - The fields derivative coefficients | |
a | - The auxiliary field coefficients |