On Mon, Dec 9, 2024 at 6:34 AM Gong Yujie wrote:
> Dear PETSc group,
>
> I would like to inquire about the storage of the gradient in function
> PetscDSSetResidual:
>
> PetscErrorCode PetscDSSetResidual(PetscDS ds, PetscInt f, void
> (*f0)(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt
Dear PETSc group,
I would like to inquire about the storage of the gradient in function
PetscDSSetResidual:
PetscErrorCode PetscDSSetResidual(PetscDS ds, PetscInt f, void (*f0)(PetscInt
dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const PetscInt
uOff_x[], const PetscScalar u[], con