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