#include "petscsection.h" PetscErrorCode PetscSectionGetNumFields(PetscSection s, PetscInt *numFields)