#include "petscds.h" PetscErrorCode PetscDSGetConstants(PetscDS prob, PetscInt *numConstants, const PetscScalar *constants[])Not collective
| prob | - The PetscDS object |
| numConstants | - The number of constants | |
| constants | - The array of constants, NULL if there are none |